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