munin: fix cgi graph generation #163
2 changed files with 14 additions and 20 deletions
|
@ -14,12 +14,6 @@ munin_packages:
|
||||||
- s-nail
|
- s-nail
|
||||||
- libfile-readbackwards-perl
|
- libfile-readbackwards-perl
|
||||||
munin_servername: "{{ ansible_fqdn }}.mgrote.net"
|
munin_servername: "{{ ansible_fqdn }}.mgrote.net"
|
||||||
munin_dirs:
|
|
||||||
- /var/run/munin
|
|
||||||
- /etc/munin/plugins
|
|
||||||
- /var/cache/munin/www
|
|
||||||
- /var/lib/munin
|
|
||||||
- /var/cache/munin
|
|
||||||
munin_server_plugins:
|
munin_server_plugins:
|
||||||
- munin_stats
|
- munin_stats
|
||||||
- munin_update
|
- munin_update
|
||||||
|
|
|
@ -7,32 +7,32 @@
|
||||||
|
|
||||||
- name: Ensure needed dirs exists
|
- name: Ensure needed dirs exists
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item.name }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "{{ item.mode }}"
|
||||||
owner: munin
|
owner: "{{ item.owner }}"
|
||||||
group: munin
|
group: "{{ item.group }}"
|
||||||
loop:
|
loop:
|
||||||
- name: /var/run/munin
|
- name: /var/run/munin
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
owner: root
|
owner: munin
|
||||||
group: root
|
group: munin
|
||||||
- name: /etc/munin/plugins
|
- name: /etc/munin/plugins
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
owner: root
|
owner: munin
|
||||||
group: root
|
group: munin
|
||||||
- name: /var/cache/munin/www
|
- name: /var/cache/munin/www
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
owner: root
|
owner: munin
|
||||||
group: root
|
group: munin
|
||||||
- name: /var/lib/munin
|
- name: /var/lib/munin
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
owner: root
|
owner: munin
|
||||||
group: root
|
group: munin
|
||||||
- name: /var/cache/munin
|
- name: /var/cache/munin
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
owner: root
|
owner: munin
|
||||||
group: root
|
group: munin
|
||||||
|
|
||||||
- name: Ensure permissions are set
|
- name: Ensure permissions are set
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
Loading…
Reference in a new issue