From 262b40d166126a7323f4c099562b97229723eae3 Mon Sep 17 00:00:00 2001 From: Cory Hawkless Date: Thu, 21 Jul 2022 00:54:19 +0930 Subject: [PATCH 1/2] yes to true --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 36d4d4d..b016f0d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,17 +10,17 @@ src: templates/rbd_secret.xml.j2 dest: /tmp/secret.xml # when: virsh_secret_result.rc != 0 - ignore_errors: yes + ignore_errors: true tags: libvirt-secret - name: Define libvirt RBD secret command: virsh secret-define /tmp/secret.xml # when: virsh_secret_result.rc != 0 - ignore_errors: yes + ignore_errors: true tags: libvirt-secret - name: Set libvirt RBD secret command: virsh secret-set-value {{ rbd_secret_uuid }} {{ rbd_secret_key }} # when: virsh_secret_result.rc != 0 - ignore_errors: yes + ignore_errors: true tags: libvirt-secret From e3564358841874556793ebfeeba15dffea02d9eb Mon Sep 17 00:00:00 2001 From: Cory Hawkless Date: Fri, 2 Dec 2022 16:14:40 +1030 Subject: [PATCH 2/2] s --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index b016f0d..68ef966 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -9,18 +9,18 @@ template: src: templates/rbd_secret.xml.j2 dest: /tmp/secret.xml -# when: virsh_secret_result.rc != 0 + when: virsh_secret_result.rc != 0 ignore_errors: true tags: libvirt-secret - name: Define libvirt RBD secret command: virsh secret-define /tmp/secret.xml -# when: virsh_secret_result.rc != 0 + when: virsh_secret_result.rc != 0 ignore_errors: true tags: libvirt-secret - name: Set libvirt RBD secret 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: true tags: libvirt-secret