From f8231c308c2ed2e2c3368b54edf0f00f0a026124 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 21 Jun 2017 17:46:49 -0600 Subject: [PATCH] Ensure /var/lib/carbon has the right ownership Signed-off-by: Zack Cerza --- ansible/roles/ceph-grafana/tasks/configure_carbon.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ansible/roles/ceph-grafana/tasks/configure_carbon.yml b/ansible/roles/ceph-grafana/tasks/configure_carbon.yml index 79c292d..6a7bbe7 100644 --- a/ansible/roles/ceph-grafana/tasks/configure_carbon.yml +++ b/ansible/roles/ceph-grafana/tasks/configure_carbon.yml @@ -10,3 +10,13 @@ notify: - Resize whisper databases - Restart carbon-cache + +- name: Ensure /var/lib/carbon has the right ownership + file: + path: /var/lib/carbon + state: directory + owner: carbon + group: carbon + recurse: yes + notify: + - Restart carbon-cache -- 2.47.3