roles/munin: Remove ansible_os_family checks
First of all, there is no ansible_os_family Ubuntu! Second, we are only supporting Debian-based systems here so there is no need to check this.
This commit is contained in:
parent
5f8820bf9f
commit
e43d8924e8
@ -1,14 +1,12 @@
|
||||
---
|
||||
- name: Install munin-node
|
||||
apt: name={{ item }} state=present
|
||||
when: ansible_os_family == "Ubuntu"
|
||||
with_items:
|
||||
- munin-node
|
||||
tags: packages
|
||||
|
||||
# some nice things to have for munin-node on Ubuntu
|
||||
- name: Install munin-node deps
|
||||
when: ansible_os_family == "Ubuntu"
|
||||
apt: name={{ item }} state=present
|
||||
with_items:
|
||||
- libwww-perl #for munin's nginx_status check
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
- name: Install munin package
|
||||
apt: name={{ item }} state=present
|
||||
when: ansible_os_family == "Debian"
|
||||
with_items:
|
||||
- munin
|
||||
tags: packages
|
||||
|
Loading…
Reference in New Issue
Block a user