summaryrefslogtreecommitdiffstats
path: root/roles/munin-master/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-05-22 17:18:45 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-05-22 17:53:58 +0200
commitf7a5a19edc504980e2e8f93ab027162756710d59 (patch)
tree05f45acdebe07683a12d03d5103f363b375e6ca7 /roles/munin-master/tasks
parent82d27fabc7becba1d1ee7c24b331522f2330cae6 (diff)
Fix munin-cgi-graph systemd service file.
By allowing to place graphs into /var/lib/munin/cgi-tmp/munin-cgi-graph.
Diffstat (limited to 'roles/munin-master/tasks')
-rw-r--r--roles/munin-master/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/munin-master/tasks/main.yml b/roles/munin-master/tasks/main.yml
index 64e697e..bcdc509 100644
--- a/roles/munin-master/tasks/main.yml
+++ b/roles/munin-master/tasks/main.yml
@@ -19,6 +19,11 @@
- meta: flush_handlers
+- name: Create directory /var/lib/munin/cgi-tmp/munin-cgi-graph
+ file: path=/var/lib/munin/cgi-tmp/munin-cgi-graph
+ state=directory
+ owner=www-data group=www-data
+ mode=0755
- name: Configure munin
template: src=etc/munin/munin.conf.j2