mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2025-01-09 19:27:34 +01:00
Fix deprecation warnings in Ansible 2.5 for state 'present'.
This commit is contained in:
parent
2a45c426ad
commit
46d6d3e0d8
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Ensure dependencies for building from source are installed (RedHat).
|
- name: Ensure dependencies for building from source are installed (RedHat).
|
||||||
package: "name={{ item }} state=installed"
|
package: "name={{ item }} state=present"
|
||||||
with_items:
|
with_items:
|
||||||
- autoconf
|
- autoconf
|
||||||
- automake
|
- automake
|
||||||
@ -30,7 +30,7 @@
|
|||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Ensure dependencies for building from source are installed (Debian).
|
- name: Ensure dependencies for building from source are installed (Debian).
|
||||||
apt: "pkg={{ item }} state=installed"
|
apt: "pkg={{ item }} state=present"
|
||||||
with_items:
|
with_items:
|
||||||
- build-essential
|
- build-essential
|
||||||
- autoconf
|
- autoconf
|
||||||
|
Loading…
Reference in New Issue
Block a user