summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorgraiss <grakiss.wanglei@huawei.com>2015-11-05 14:57:43 +0800
committergraiss <grakiss.wanglei@huawei.com>2015-11-05 14:57:43 +0800
commit6ec2e7a957501b1af9fef25ea6a6a78884b77cb4 (patch)
tree72ba5629ad68f47b139811598ca065063e56f879 /deploy
parentce4cf93c1f0e3ee58cb8a99000c28b64521d4de0 (diff)
FIX: fail to create key for libvirt
JIRA: COMPASS-137 - create secret key for libvirt with specific uuid Change-Id: I9a71df0febd4a706023c99d9817c7e9e7bfe4b44 Signed-off-by: graiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'deploy')
-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: