This commit is contained in:
parent
d33a3e89a9
commit
9f89ebe3fc
|
@ -1,5 +1,5 @@
|
|||
- name: Check if libvirt RBD secret set
|
||||
command: virsh secret-get-value {{ openstack_rbd_secret_uuid }}
|
||||
command: virsh secret-get-value {{ rbd_secret_uuid }}
|
||||
register: virsh_secret_result
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
@ -20,7 +20,7 @@
|
|||
tags: libvirt-secret
|
||||
|
||||
- name: Set libvirt RBD secret
|
||||
command: virsh secret-set-value {{ openstack_rbd_secret_uuid }} {{ openstack_rbd_secret_key }}
|
||||
command: virsh secret-set-value {{ rbd_secret_uuid }} {{ rbd_secret_key }}
|
||||
# when: virsh_secret_result.rc != 0
|
||||
ignore_errors: yes
|
||||
tags: libvirt-secret
|
||||
|
|
Loading…
Reference in New Issue