diff --git a/tasks/main.yml b/tasks/main.yml index 0a9f711..36d4d4d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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