ansible-roles/kvm-host/tasks/munin.yml

20 lines
424 B
YAML
Raw Normal View History

2016-12-16 12:26:29 +01:00
---
- name: Get Munin plugins
get_url:
url: "https://raw.githubusercontent.com/munin-monitoring/contrib/master/plugins/libvirt/{{ item }}"
dest: "/etc/munin/plugins/"
mode: "0755"
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"
mode: "0644"
2016-12-16 12:26:29 +01:00
notify: restart munin-node