Alan Orth
e343ddc9a6
For idempotence we need to run all apt-related tasks, like editing source files, adding keys, installing packages, etc, when running the 'packages' tag.
13 lines
304 B
YAML
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:
|