summaryrefslogtreecommitdiffstats
path: root/roles/amavis/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/amavis/tasks')
-rw-r--r--roles/amavis/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/amavis/tasks/main.yml b/roles/amavis/tasks/main.yml
index a30772d..4009c05 100644
--- a/roles/amavis/tasks/main.yml
+++ b/roles/amavis/tasks/main.yml
@@ -71,3 +71,15 @@
- name: Start Amavis
service: name=amavis state=started
+
+
+- name: Install 'amavis' Munin plugin
+ file: src=/usr/share/munin/plugins/amavis
+ dest=/etc/munin/plugins/amavis
+ owner=root group=root
+ state=link force=yes
+ tags:
+ - munin
+ - munin-node
+ notify:
+ - Restart munin-node