ansible-personal/roles/munin/tasks/munin.yml
Alan Orth def8d83d49
roles/munin: Use apt module explicitly
Instead of using dynamic hack to use the package manager for the
current host. We only have Ubuntu here anyways.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-05-26 00:02:43 +03:00

12 lines
290 B
YAML

---
- name: Install munin package
apt: name={{ item }} state=latest
when: ansible_distribution == "Ubuntu"
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: