Add creation of libvirt client key

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:19 -04:00
parent feafe055f0
commit ef0b1a8c5e
1 changed files with 4 additions and 0 deletions

View File

@ -154,3 +154,7 @@
name: ceph-mon@{{ ansible_hostname }} name: ceph-mon@{{ ansible_hostname }}
state: started state: started
enabled: yes enabled: yes
- name: create Libvirt keyring
command: ceph auth get-or-create client.libvirt mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=pvc*'
run_once: yes