Ensure insecure_global_id_reclaim is false
This commit is contained in:
parent
e48b6eef3a
commit
d859e032be
|
@ -90,12 +90,17 @@
|
||||||
|
|
||||||
- name: set msgr2 enabled
|
- name: set msgr2 enabled
|
||||||
command: ceph mon enable-msgr2
|
command: ceph mon enable-msgr2
|
||||||
run_once: true
|
run_once: yes
|
||||||
retries: 6
|
retries: 6
|
||||||
delay: 5
|
delay: 5
|
||||||
register: result
|
register: result
|
||||||
until: result.rc == 0
|
until: result.rc == 0
|
||||||
|
|
||||||
|
- name: set insecure_global_id_reclaim disabled
|
||||||
|
command: ceph config set mon auth_allow_insecure_global_id_reclaim false
|
||||||
|
run_once: yes
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: create mgr auth keyring
|
- name: create mgr auth keyring
|
||||||
command: ceph auth get-or-create mgr.{{ ansible_hostname }} mon 'allow profile mgr' osd 'allow *' mds 'allow *' --out-file /var/lib/ceph/mgr/ceph-{{ ansible_hostname }}/keyring
|
command: ceph auth get-or-create mgr.{{ ansible_hostname }} mon 'allow profile mgr' osd 'allow *' mds 'allow *' --out-file /var/lib/ceph/mgr/ceph-{{ ansible_hostname }}/keyring
|
||||||
become_user: ceph
|
become_user: ceph
|
||||||
|
|
Loading…
Reference in New Issue