Fix Ansible 2.x deprecation warnings.

This commit is contained in:
Jeff Geerling 2016-02-28 23:39:03 -06:00
parent 2ca34c72c7
commit 339f91bce5
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -6,7 +6,7 @@
apt:
name: "{{ item }}"
state: installed
with_items: php_packages
with_items: "{{ php_packages }}"
register: php_package_install
notify: restart webserver

View File

@ -4,5 +4,5 @@
name: "{{ item }}"
state: installed
enablerepo: "{{ php_enablerepo }}"
with_items: php_packages
with_items: "{{ php_packages }}"
notify: restart webserver