Fix deprecation warnings in 2.x.
parent
3d42ec1870
commit
4ba0762493
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue