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