diff --git a/roles/pvc/tasks/libvirt.yml b/roles/pvc/tasks/libvirt.yml index dcf6a6a..de3ad7d 100644 --- a/roles/pvc/tasks/libvirt.yml +++ b/roles/pvc/tasks/libvirt.yml @@ -29,7 +29,7 @@ ignore_errors: true - name: set ceph libvirt secret value - command: virsh secret-set-value --secret {{ ceph_storage_secret_uuid }} --base64 {{ libvirt_key.stdout }} + command: virsh secret-set-value --secret {{ pvc_ceph_storage_secret_uuid }} --base64 {{ libvirt_key.stdout }} ignore_errors: true - name: configure libvirt for listening diff --git a/roles/pvc/templates/libvirt/ceph-secret.xml.j2 b/roles/pvc/templates/libvirt/ceph-secret.xml.j2 index 81afc89..9ae9260 100644 --- a/roles/pvc/templates/libvirt/ceph-secret.xml.j2 +++ b/roles/pvc/templates/libvirt/ceph-secret.xml.j2 @@ -1,5 +1,5 @@ - {{ ceph_storage_secret_uuid }} + {{ pvc_ceph_storage_secret_uuid }} client.libvirt secret