summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-11-06 03:43:45 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-06 03:43:45 +0000
commitfc218067fdea16f45b8b9d01201a8c8b25ca9eb0 (patch)
tree047b7536cec60147211fdd698d5a849dcf73ab13
parent793809d04553f3acae27f3d9ca386ddebecc704e (diff)
parent6ec2e7a957501b1af9fef25ea6a6a78884b77cb4 (diff)
Merge "FIX: fail to create key for libvirt"
-rw-r--r--deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_pre.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_pre.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_pre.yml
index d0ee7e2e..b7ffc857 100644
--- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_pre.yml
+++ b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_pre.yml
@@ -58,7 +58,7 @@
- name: create key for libvirt on compute nodes
- shell: ssh -o StrictHostKeyChecking=no -t {{ item }} "virsh secret-define --file secret.xml && virsh secret-set-value --secret {{ ceph_uuid.stdout_lines[0] }} --base64 $(cat client.cinder.key)"
+ shell: ssh -o StrictHostKeyChecking=no -t {{ item }} "virsh secret-define --file secret.xml && virsh secret-set-value --secret {{ ceph_uuid.stdout_lines[0] }} --base64 \$(cat client.cinder.key)"
with_items:
- "{{ groups['compute'] }}"
tags: