yes to true

This commit is contained in:
Cory Hawkless 2022-07-21 00:54:19 +09:30
parent 15fdbafb76
commit 262b40d166
1 changed files with 3 additions and 3 deletions

View File

@ -10,17 +10,17 @@
src: templates/rbd_secret.xml.j2 src: templates/rbd_secret.xml.j2
dest: /tmp/secret.xml dest: /tmp/secret.xml
# when: virsh_secret_result.rc != 0 # when: virsh_secret_result.rc != 0
ignore_errors: yes ignore_errors: true
tags: libvirt-secret tags: libvirt-secret
- name: Define libvirt RBD secret - name: Define libvirt RBD secret
command: virsh secret-define /tmp/secret.xml command: virsh secret-define /tmp/secret.xml
# when: virsh_secret_result.rc != 0 # when: virsh_secret_result.rc != 0
ignore_errors: yes ignore_errors: true
tags: libvirt-secret tags: libvirt-secret
- name: Set libvirt RBD secret - name: Set libvirt RBD secret
command: virsh secret-set-value {{ rbd_secret_uuid }} {{ 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: true
tags: libvirt-secret tags: libvirt-secret