From 5dbfa7c651c0a42435a2b691e2b057b197491720 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 12 Aug 2024 14:04:58 +0200 Subject: [PATCH] ff --- roles/mgrote_munin_server/tasks/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/mgrote_munin_server/tasks/main.yml b/roles/mgrote_munin_server/tasks/main.yml index 33812adc..687c628f 100644 --- a/roles/mgrote_munin_server/tasks/main.yml +++ b/roles/mgrote_munin_server/tasks/main.yml @@ -14,6 +14,12 @@ group: munin loop: "{{ munin_dirs }}" +- name: Ensure permissions are set + ansible.builtin.file: + path: /var/lib/munin/cgi-tmp + mode: 'ugo+rw' + recurse: true + - name: Template apache config ansible.builtin.template: src: apache.conf @@ -21,7 +27,6 @@ # validate: "apachectl -S -f %s" notify: "restart apache2" - - name: Enable fgcid community.general.apache2_module: state: present