mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #671 from squizzi/fix-admin-key-wait
Added when: cephx to prevent waiting on keyring with cephx: falsepull/673/head
commit
9123c854ae
|
@ -4,6 +4,7 @@
|
|||
- name: wait for client.admin key exists
|
||||
wait_for:
|
||||
path: /etc/ceph/{{ cluster }}.client.admin.keyring
|
||||
when: cephx
|
||||
|
||||
- name: create ceph rest api keyring when mon is not containerized
|
||||
command: ceph --cluster {{ cluster }} auth get-or-create client.restapi osd 'allow *' mon 'allow *' -o /etc/ceph/{{ cluster }}.client.restapi.keyring
|
||||
|
|
Loading…
Reference in New Issue