munin-server: Fix permissions from runtime directory
This commit is contained in:
parent
be60cff9de
commit
cdf3d3cd2e
2 changed files with 3 additions and 1 deletions
2
roles/munin-server/files/munin-tmpfiles.conf
Normal file
2
roles/munin-server/files/munin-tmpfiles.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
d /run/munin 0775 root munin -
|
||||
d /run/munin/cgi-tmp 0755 apache apache -
|
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue