mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 19:42:55 +08:00
Just use the standard states
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user