Set msgr2 mode on Ceph monitors

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:22 -04:00
parent 372b949930
commit bc1d9cd33b
1 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,10 @@
- ceph-mon@{{ ansible_hostname }}
when: newhost is defined and newhost
- name: set msgr2 enabled
command: ceph mon enable-msgr2
run_once: true
- 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