Compare commits
No commits in common. "a603a846c778ae39af1dec9016824089024a1d4a" and "e3564358841874556793ebfeeba15dffea02d9eb" have entirely different histories.
a603a846c7
...
e356435884
|
@ -9,18 +9,18 @@
|
||||||
template:
|
template:
|
||||||
src: templates/rbd_secret.xml.j2
|
src: templates/rbd_secret.xml.j2
|
||||||
dest: /tmp/secret.xml
|
dest: /tmp/secret.xml
|
||||||
when: virsh_secret_result is defined and 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 is defined and 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 is defined and virsh_secret_result.rc != 0
|
when: virsh_secret_result.rc != 0
|
||||||
ignore_errors: yes
|
ignore_errors: true
|
||||||
tags: libvirt-secret
|
tags: libvirt-secret
|
||||||
|
|
Loading…
Reference in New Issue