Ensure insecure_global_id_reclaim is false

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:28 -04:00
parent 3397dacab4
commit 91ca3d1510
1 changed files with 6 additions and 1 deletions

View File

@ -90,12 +90,17 @@
- name: set msgr2 enabled
command: ceph mon enable-msgr2
run_once: true
run_once: yes
retries: 6
delay: 5
register: result
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
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