From: Sébastien Han Date: Sun, 3 Apr 2016 22:36:59 +0000 (+0200) Subject: ceph-mon: fix ceph keys permissions X-Git-Tag: v1.0.4~19^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=270055218672fbf624c64e917f2a72bec17d60c5;p=ceph-ansible.git ceph-mon: fix ceph keys permissions Certain daemons will not start because of the wrong permissions. Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-mon/tasks/ceph_keys.yml b/roles/ceph-mon/tasks/ceph_keys.yml index c6df4f4ae..36f5ab499 100644 --- a/roles/ceph-mon/tasks/ceph_keys.yml +++ b/roles/ceph-mon/tasks/ceph_keys.yml @@ -27,9 +27,9 @@ - name: set keys permissions file: path: "{{ item }}" - mode: 0600 - owner: root - group: root + mode: "{{ key_mode }}" + owner: "{{ key_owner }}" + group: "{{ key_group }}" with_items: - "{{ ceph_keys.stdout_lines }}" when: cephx