ansible-personal/roles/munin/tasks/munin.yml
Alan Orth e343ddc9a6
Add 'packages' tag to any task doing package stuff
For idempotence we need to run all apt-related tasks, like editing
source files, adding keys, installing packages, etc, when running
the 'packages' tag.
2016-08-14 16:33:48 +03:00

13 lines
304 B
YAML

---
- name: Install munin package
apt: name={{ item }} state=latest
when: ansible_os_family == "Debian"
with_items:
- munin
tags: packages
- 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: