Merge "Fix the permissions of mgr and mds keyring"

This commit is contained in:
Zuul 2018-05-21 15:32:29 +00:00 committed by Gerrit Code Review
commit 44465b6832
2 changed files with 4 additions and 0 deletions

View File

@ -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 }}"

View File

@ -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 }}"