diff --git a/roles/munin/tasks/munin-node.yml b/roles/munin/tasks/munin-node.yml index b923995..0382ec2 100644 --- a/roles/munin/tasks/munin-node.yml +++ b/roles/munin/tasks/munin-node.yml @@ -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 diff --git a/roles/munin/tasks/munin.yml b/roles/munin/tasks/munin.yml index f1fedb4..5b43f4b 100644 --- a/roles/munin/tasks/munin.yml +++ b/roles/munin/tasks/munin.yml @@ -1,7 +1,6 @@ --- - name: Install munin package apt: name={{ item }} state=present - when: ansible_os_family == "Debian" with_items: - munin tags: packages