ansible-roles/apache/tasks/munin.yml

24 lines
435 B
YAML
Raw Normal View History

2017-08-12 18:51:15 +02:00
---
- name: munin-node and core plugins are installed
apt:
name: "{{ item }}"
state: installed
with_items:
- munin-node
- munin-plugins-core
- name: enable munin plugins
file:
src: "/usr/share/munin/plugins/{{ item }}"
dest: "/etc/munin/plugins/{{ item }}"
state: link
with_items:
- apache_accesses
- apache_processes
- apache_volume
2017-08-18 04:18:52 +02:00
notify: reload munin-node
2017-08-12 18:51:15 +02:00
tags:
- apache
- munin