diff --git a/roles/mgrote_munin_server/defaults/main.yml b/roles/mgrote_munin_server/defaults/main.yml index 100f6563..1d90cece 100644 --- a/roles/mgrote_munin_server/defaults/main.yml +++ b/roles/mgrote_munin_server/defaults/main.yml @@ -18,7 +18,6 @@ munin_dirs: - /var/run/munin - /etc/munin/plugins - /var/cache/munin/www - - /var/lib/munin/cgi-tmp - /var/lib/munin - /var/cache/munin munin_server_plugins: diff --git a/roles/mgrote_munin_server/tasks/main.yml b/roles/mgrote_munin_server/tasks/main.yml index 74a29f26..20453106 100644 --- a/roles/mgrote_munin_server/tasks/main.yml +++ b/roles/mgrote_munin_server/tasks/main.yml @@ -18,6 +18,7 @@ ansible.builtin.file: path: /var/lib/munin/cgi-tmp mode: 'ugo+rw' + state: directory recurse: true - name: Template apache config