Just use the standard states

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2017-10-09 00:28:29 +02:00
parent adcbf72f03
commit bb1d3e8579

View file

@ -1,6 +1,6 @@
---
- name: install postgresql packages
package: pkg={{ item }} state=installed
package: pkg={{ item }} state=present
with_items:
- python-psycopg2
- postgresql-server
@ -8,20 +8,20 @@
- pg-semver
- name: install ssl packages for https
package: pkg={{ item }} state=installed
package: pkg={{ item }} state=present
with_items:
- openssl
- mod_ssl
- name: memcached rhel
package: pkg={{ item }} state=installed
package: pkg={{ item }} state=present
with_items:
- memcached
- python-memcached
when: ansible_distribution == "RedHat" and faf_web_cache_type == "memcached"
- name: memcached fedora
package: pkg={{ item }} state=installed
package: pkg={{ item }} state=present
with_items:
- libmemcached
- memcached