roles/munin: Allow running on Debian hosts

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-09-01 00:10:16 +03:00
parent abbc9f5073
commit bc28cd008c
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 3 additions and 3 deletions

View File

@ -1,13 +1,13 @@
--- ---
- name: Install munin-node - name: Install munin-node
apt: name={{ item }} state=latest apt: name={{ item }} state=latest
when: ansible_distribution == "Ubuntu" when: ansible_os_family == "Ubuntu"
with_items: with_items:
- munin-node - munin-node
# some nice things to have for munin-node on Ubuntu # some nice things to have for munin-node on Ubuntu
- name: Install munin-node deps - name: Install munin-node deps
when: ansible_distribution == "Ubuntu" when: ansible_os_family == "Ubuntu"
apt: name={{ item }} state=present apt: name={{ item }} state=present
with_items: with_items:
- libwww-perl #for munin's nginx_status check - libwww-perl #for munin's nginx_status check

View File

@ -1,7 +1,7 @@
--- ---
- name: Install munin package - name: Install munin package
apt: name={{ item }} state=latest apt: name={{ item }} state=latest
when: ansible_distribution == "Ubuntu" when: ansible_os_family == "Debian"
with_items: with_items:
- munin - munin