2016-12-16 12:26:29 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Get Munin plugins
|
|
|
|
get_url:
|
2017-04-20 14:10:49 +02:00
|
|
|
url: "https://raw.githubusercontent.com/munin-monitoring/contrib/master/plugins/libvirt/{{ item }}"
|
2016-12-23 18:59:14 +01:00
|
|
|
dest: "/etc/munin/plugins/"
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0755"
|
2021-05-04 14:18:40 +02:00
|
|
|
loop:
|
2016-12-23 15:13:45 +01:00
|
|
|
- kvm_cpu
|
|
|
|
- kvm_io
|
|
|
|
- kvm_mem
|
2016-12-16 12:26:29 +01:00
|
|
|
notify: restart munin-node
|
|
|
|
|
|
|
|
- name: Copy Munin plugins conf
|
|
|
|
copy:
|
|
|
|
src: files/munin-plugins
|
2016-12-23 15:13:45 +01:00
|
|
|
dest: "/etc/munin/plugin-conf.d/kvm"
|
2017-06-05 16:31:11 +02:00
|
|
|
mode: "0644"
|
2016-12-16 12:26:29 +01:00
|
|
|
notify: restart munin-node
|