summaryrefslogtreecommitdiff
path: root/roles/install_monitoring/tasks/install_munin.yml
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-25 14:33:23 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-25 14:33:23 +0100
commitcb3abd557431cc04aef5de1b302bcde25cd81c81 (patch)
tree4fd7058270e4e9d87ccf9778b85e573faccb2cbd /roles/install_monitoring/tasks/install_munin.yml
parent62a74b1ed442dc8c8a1224aa8edceeb3ed9c1b84 (diff)
added reload and restart handlers
Diffstat (limited to 'roles/install_monitoring/tasks/install_munin.yml')
-rw-r--r--roles/install_monitoring/tasks/install_munin.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/install_monitoring/tasks/install_munin.yml b/roles/install_monitoring/tasks/install_munin.yml
index 1b442dc..bda0e6f 100644
--- a/roles/install_monitoring/tasks/install_munin.yml
+++ b/roles/install_monitoring/tasks/install_munin.yml
@@ -8,6 +8,7 @@
template:
src: munin-node.conf.j2
dest: /etc/munin/munin-node.conf
+ notify: restart munin-node
- name: copy fastd plugin
copy:
@@ -25,11 +26,13 @@
copy:
src: munin/munin_fastd_conf
dest: /etc/munin/plugin-conf.d/fastd
+ notify: restart munin-node
- name: copy global config
copy:
src: munin/munin_global_conf
dest: /etc/munin/plugin-conf.d/global
+ notify: restart munin-node
- name: install netstat
pacman:
@@ -52,6 +55,7 @@
src: /usr/lib/munin/plugins/{{ item.plugin | default( item.name ) }}
state: link
with_items: "{{ munin_node_plugins }}"
+ notify: restart munin-node
- name: start and enable munin-node
systemd: