JIRA: COMPASS-137
- create secret key for libvirt with specific uuid
Change-Id: I9a71df0febd4a706023c99d9817c7e9e7bfe4b44
Signed-off-by: graiss <grakiss.wanglei@huawei.com>
- 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: