munin: fix cgi graph generation #163
2 changed files with 11 additions and 5 deletions
|
@ -14,4 +14,13 @@
|
|||
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
|
||||
...
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
ansible.builtin.package:
|
||||
name: "{{ munin_packages }}"
|
||||
state: present
|
||||
notify: "Ensure /var/lib/munin/cgi-tmp are set"
|
||||
|
||||
- name: Ensure needed dirs exists
|
||||
ansible.builtin.file:
|
||||
|
@ -44,11 +45,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
recurse: false
|
||||
- name: /var/lib/munin/cgi-tmp # TODO hier wird immer changed angezeigt, vmtl 777 --> 644
|
||||
mode: '774'
|
||||
owner: www-data
|
||||
group: munin
|
||||
recurse: true
|
||||
notify: "Ensure /var/lib/munin/cgi-tmp are set"
|
||||
|
||||
- name: Template apache config
|
||||
ansible.builtin.template:
|
||||
|
|
Loading…
Reference in a new issue