]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
Ensure /var/lib/carbon has the right ownership 18/head
authorZack Cerza <zack@redhat.com>
Wed, 21 Jun 2017 23:46:49 +0000 (17:46 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 21 Jun 2017 23:51:35 +0000 (17:51 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
ansible/roles/ceph-grafana/tasks/configure_carbon.yml

index 79c292da18e3cb589ff5ee8d63f886c8c3e461ad..6a7bbe798204128f7457ce5cd2a048a3a31060de 100644 (file)
   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