From 7099ae980f92d121bce37a2008f5d93062ef580b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 21 Aug 2024 20:53:06 +0200 Subject: [PATCH] d --- roles/mgrote_munin_server/handlers/main.yml | 9 --------- roles/mgrote_munin_server/tasks/main.yml | 6 +++++- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/roles/mgrote_munin_server/handlers/main.yml b/roles/mgrote_munin_server/handlers/main.yml index 40bf2500..b45dc6cd 100644 --- a/roles/mgrote_munin_server/handlers/main.yml +++ b/roles/mgrote_munin_server/handlers/main.yml @@ -14,13 +14,4 @@ enabled: true masked: false state: restarted - -- name: "Ensure /var/lib/munin/cgi-tmp are set" - ansible.builtin.file: - path: /var/lib/munin/cgi-tmp - state: directory - mode: "0755" - owner: munin - group: www-data - recurse: true ... diff --git a/roles/mgrote_munin_server/tasks/main.yml b/roles/mgrote_munin_server/tasks/main.yml index 5fa231f4..293f53c8 100644 --- a/roles/mgrote_munin_server/tasks/main.yml +++ b/roles/mgrote_munin_server/tasks/main.yml @@ -45,7 +45,11 @@ owner: root group: root recurse: false - notify: "Ensure /var/lib/munin/cgi-tmp are set" + - name: /var/lib/munin/cgi-tmp # TODO, ist immer changed + mode: "0755" + owner: munin + group: www-data + recurse: true - name: Template apache config ansible.builtin.template: