2016-11-07 14:00:57 +01:00
|
|
|
---
|
|
|
|
|
2021-10-02 09:35:17 +02:00
|
|
|
- name: Munin config for Nginx is present
|
2023-03-20 23:33:19 +01:00
|
|
|
ansible.builtin.template:
|
2016-11-07 14:00:57 +01:00
|
|
|
src: munin/evolinux.nginx
|
|
|
|
dest: /etc/munin/plugin-conf.d/
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0644"
|
2016-11-07 14:00:57 +01:00
|
|
|
notify: restart munin
|
|
|
|
|
2021-10-02 09:35:17 +02:00
|
|
|
- name: Munin plugins for Nginx are installed
|
2023-03-20 23:33:19 +01:00
|
|
|
ansible.builtin.file:
|
2016-11-07 14:00:57 +01:00
|
|
|
src: '/usr/share/munin/plugins/{{ item }}'
|
|
|
|
dest: '/etc/munin/plugins/{{ item }}'
|
|
|
|
state: link
|
2021-05-04 14:18:40 +02:00
|
|
|
loop:
|
2016-11-07 14:00:57 +01:00
|
|
|
- nginx_request
|
|
|
|
- nginx_status
|
|
|
|
notify: restart munin
|