Add creation of libvirt client key
This commit is contained in:
parent
20595c7027
commit
d26c555ce0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue