Fix deprecation warnings in Ansible 2.5 for state 'present'.

This commit is contained in:
Jeff Geerling 2018-04-04 13:51:13 -05:00
parent 2a45c426ad
commit 46d6d3e0d8

View File

@ -1,6 +1,6 @@
---
- name: Ensure dependencies for building from source are installed (RedHat).
package: "name={{ item }} state=installed"
package: "name={{ item }} state=present"
with_items:
- autoconf
- automake
@ -30,7 +30,7 @@
when: ansible_os_family == 'Debian'
- name: Ensure dependencies for building from source are installed (Debian).
apt: "pkg={{ item }} state=installed"
apt: "pkg={{ item }} state=present"
with_items:
- build-essential
- autoconf