Jérémy Lecour
ecf20b436b
Let's keep /usr alone and save our custom plugins in /etc until we decide on a better convention.
15 lines
352 B
YAML
15 lines
352 B
YAML
---
|
|
|
|
- name: Get Munin plugin
|
|
get_url:
|
|
url: 'https://raw.githubusercontent.com/munin-monitoring/contrib/master/plugins/drbd/drbd'
|
|
dest: '/etc/munin/plugins/'
|
|
mode: 0755
|
|
notify: restart munin-node
|
|
|
|
- name: Copy Munin plugin conf
|
|
copy:
|
|
src: files/munin-plugins
|
|
dest: '/etc/munin/plugin-conf.d/drbd'
|
|
notify: restart munin-node
|