forked from evolix/ansible-roles
Jérémy Lecour
ecf20b436b
Let's keep /usr alone and save our custom plugins in /etc until we decide on a better convention.
19 lines
418 B
YAML
19 lines
418 B
YAML
---
|
|
|
|
- name: Get Munin plugins
|
|
get_url:
|
|
url: "https://raw.githubusercontent.com/munin-monitoring/contrib/master/plugins/virtualization/{{ item }}"
|
|
dest: "/etc/munin/plugins/"
|
|
mode: 0755
|
|
with_items:
|
|
- kvm_cpu
|
|
- kvm_io
|
|
- kvm_mem
|
|
notify: restart munin-node
|
|
|
|
- name: Copy Munin plugins conf
|
|
copy:
|
|
src: files/munin-plugins
|
|
dest: "/etc/munin/plugin-conf.d/kvm"
|
|
notify: restart munin-node
|