From: Zack Cerza Date: Wed, 21 Jun 2017 23:46:49 +0000 (-0600) Subject: Ensure /var/lib/carbon has the right ownership X-Git-Tag: v1.0~67^2~5^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f8231c308c2ed2e2c3368b54edf0f00f0a026124;p=cephmetrics.git Ensure /var/lib/carbon has the right ownership Signed-off-by: Zack Cerza --- 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