mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2025-01-05 18:47:34 +01:00
Fix Ansible 2.x deprecation warnings.
This commit is contained in:
parent
2ca34c72c7
commit
339f91bce5
@ -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:
|
||||
|
@ -6,7 +6,7 @@
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
with_items: php_packages
|
||||
with_items: "{{ php_packages }}"
|
||||
register: php_package_install
|
||||
notify: restart webserver
|
||||
|
||||
|
@ -4,5 +4,5 @@
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
enablerepo: "{{ php_enablerepo }}"
|
||||
with_items: php_packages
|
||||
with_items: "{{ php_packages }}"
|
||||
notify: restart webserver
|
||||
|
Loading…
Reference in New Issue
Block a user