ansible-personal/roles/munin/tasks/munin.yml
Alan Orth bc28cd008c
roles/munin: Allow running on Debian hosts
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-09-01 00:10:16 +03:00

12 lines
287 B
YAML

---
- name: Install munin package
apt: name={{ item }} state=latest
when: ansible_os_family == "Debian"
with_items:
- munin
- name: Create munin configuration file
template: src=munin.conf.j2 dest=/etc/munin/munin.conf owner=root group=root mode=0644
# vim: set ts=2 sw=2: