blob: 09e73509d0a381afb352bb455cdd8d1ce6657972 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
---
- name: install postgresql packages
yum: pkg={{ item }} state=installed
with_items:
- python-psycopg2
- postgresql-server
- postgresql
- pg-semver
- name: install ssl packages for https
yum: pkg={{ item }} state=installed
with_items:
- openssl
- mod_ssl
- debug:
msg: "dbg {{ ansible_distribution }}"
- name: memcached rhel
yum: pkg={{ item }} state=installed
with_items:
- memcached
- python-memcached
when: ansible_distribution == "Red Hat Enterprise Linux" and faf_web_cache_type == "memcached"
- name: memcached fedora
yum: pkg={{ item }} state=installed
with_items:
- libmemcached
- memcached
- zlib
- python-pylibmc
when: ansible_distribution == "Fedora" and faf_web_cache_type == "memcached"
|