This commit is contained in:
Cory Hawkless 2020-08-20 18:38:36 +09:30
parent d33a3e89a9
commit 9f89ebe3fc
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
- name: Check if libvirt RBD secret set - 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 register: virsh_secret_result
changed_when: false changed_when: false
failed_when: false failed_when: false
@ -20,7 +20,7 @@
tags: libvirt-secret tags: libvirt-secret
- name: Set libvirt RBD 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 # when: virsh_secret_result.rc != 0
ignore_errors: yes ignore_errors: yes
tags: libvirt-secret tags: libvirt-secret