munin-server: Fix permissions from runtime directory

This commit is contained in:
Timo Makinen 2021-04-14 18:17:55 +00:00
parent be60cff9de
commit cdf3d3cd2e
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
d /run/munin 0775 root munin -
d /run/munin/cgi-tmp 0755 apache apache -

View file

@ -65,7 +65,7 @@
- name: add cache direcory to tmpfiles
copy:
dest: /etc/tmpfiles.d/munin.conf
content: "d /run/munin/cgi-tmp 0755 apache apache -"
src: munin-tmpfiles.conf
mode: 0644
owner: root
group: "{{ ansible_wheel }}"