Fix the permissions of mgr and mds keyring
Change-Id: I6d1e6d7dc21eaf6051c89b467cd6d886d8e3c469
This commit is contained in:
parent
6bce632416
commit
5da1cb0b5e
@ -28,9 +28,11 @@
|
||||
with_items: "{{ groups['ceph-mds'] }}"
|
||||
|
||||
- name: Pushing ceph mds keyring to ceph-mds
|
||||
become: true
|
||||
copy:
|
||||
content: "{{ item.stdout }}\n"
|
||||
dest: "{{ node_config_directory }}/ceph-mds/ceph.mds.{{ inventory_hostname }}.keyring"
|
||||
mode: 0600
|
||||
when:
|
||||
- inventory_hostname == item.item
|
||||
with_items: "{{ ceph_mds_auth.results }}"
|
||||
|
@ -8,9 +8,11 @@
|
||||
with_items: "{{ groups['ceph-mgr'] }}"
|
||||
|
||||
- name: Pushing ceph mgr keyring to ceph-mgr
|
||||
become: true
|
||||
copy:
|
||||
content: "{{ item.stdout }}\n"
|
||||
dest: "{{ node_config_directory }}/ceph-mgr/ceph.mgr.{{ inventory_hostname }}.keyring"
|
||||
mode: 0600
|
||||
when:
|
||||
- inventory_hostname == item.item
|
||||
with_items: "{{ ceph_mgr_keyring.results }}"
|
||||
|
Loading…
Reference in New Issue
Block a user