From 270055218672fbf624c64e917f2a72bec17d60c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 4 Apr 2016 00:36:59 +0200 Subject: [PATCH] ceph-mon: fix ceph keys permissions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Certain daemons will not start because of the wrong permissions. Signed-off-by: Sébastien Han --- roles/ceph-mon/tasks/ceph_keys.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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