roles/munin: Don't use loop when installing one package

This commit is contained in:
Alan Orth 2018-04-02 15:51:29 +03:00
parent ffee9250ee
commit fbf61c8e61
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 4 additions and 9 deletions

View File

@ -1,15 +1,12 @@
---
- name: Install munin-node
apt: name={{ item }} state=present
with_items:
- munin-node
apt: name=munin-node state=present
tags: packages
# some nice things to have for munin-node on Ubuntu
# libwww-perl: for munin's nginx_status check
- name: Install munin-node deps
apt: name={{ item }} state=present
with_items:
- libwww-perl #for munin's nginx_status check
apt: name=libwww-perl state=present
tags: packages
- name: Create munin-node.conf

View File

@ -1,8 +1,6 @@
---
- name: Install munin package
apt: name={{ item }} state=present
with_items:
- munin
apt: name=munin state=present
tags: packages
- name: Create munin configuration file