Fix deprecation warnings in 2.x.

master
Jeff Geerling 2016-03-11 10:27:47 -06:00
parent 3d42ec1870
commit 4ba0762493
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ galaxy_info:
description: Munin monitoring server for RedHat/CentOS or Debian/Ubuntu. description: Munin monitoring server for RedHat/CentOS or Debian/Ubuntu.
company: "Midwestern Mac, LLC" company: "Midwestern Mac, LLC"
license: "license (BSD, MIT)" license: "license (BSD, MIT)"
min_ansible_version: 1.8 min_ansible_version: 1.9
platforms: platforms:
- name: EL - name: EL
versions: versions:

View File

@ -4,12 +4,12 @@
- name: Install required packages for munin (RedHat). - name: Install required packages for munin (RedHat).
yum: "name={{ item }} state=present" yum: "name={{ item }} state=present"
with_items: munin_packages with_items: "{{ munin_packages }}"
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'
- name: Install required packages for munin (Debian). - name: Install required packages for munin (Debian).
apt: "name={{ item }} state=present" apt: "name={{ item }} state=present"
with_items: munin_packages with_items: "{{ munin_packages }}"
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- name: Copy munin configurations. - name: Copy munin configurations.