munin: fix cgi graph generation #163
2 changed files with 22 additions and 2 deletions
|
@ -42,7 +42,7 @@ munin_node_bind_port: "4949"
|
|||
munin_node_allowed_cidrs: [127.0.0.1]
|
||||
|
||||
### mgrote_munin_master
|
||||
munin_mode: cron # or cgi
|
||||
munin_mode: cgi # or cron
|
||||
munin_mail_user: munin@mgrote.net
|
||||
munin_mail_server: "{{ postfix_smtp_server }}"
|
||||
munin_mail_port: "{{ 1025 }}"
|
||||
|
|
|
@ -12,7 +12,27 @@
|
|||
mode: '0755'
|
||||
owner: munin
|
||||
group: munin
|
||||
loop: "{{ munin_dirs }}"
|
||||
loop:
|
||||
- name: /var/run/munin
|
||||
mode: '0755'
|
||||
owner: root
|
||||
group: root
|
||||
- name: /etc/munin/plugins
|
||||
mode: '0755'
|
||||
owner: root
|
||||
group: root
|
||||
- name: /var/cache/munin/www
|
||||
mode: '0755'
|
||||
owner: root
|
||||
group: root
|
||||
- name: /var/lib/munin
|
||||
mode: '0755'
|
||||
owner: root
|
||||
group: root
|
||||
- name: /var/cache/munin
|
||||
mode: '0755'
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Ensure permissions are set
|
||||
ansible.builtin.file:
|
||||
|
|
Loading…
Reference in a new issue