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

This commit is contained in:
Jeff Geerling 2018-04-04 13:41:39 -05:00
parent 9f38472d50
commit 0a789843cb
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
---
- name: Install Ansible.
yum: name=ansible state=installed enablerepo=epel
yum: name=ansible state=present enablerepo=epel

View File

@ -6,4 +6,4 @@
apt: update_cache=yes cache_valid_time=86400
- name: Install Ansible.
apt: name=ansible state=installed
apt: name=ansible state=present