faf: use correct distribution name

This commit is contained in:
Miroslav Suchý 2017-03-24 11:42:00 +01:00
parent ef212630ce
commit 918635b12a

View file

@ -13,15 +13,12 @@
- 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"
when: ansible_distribution == "RedHat" and faf_web_cache_type == "memcached"
- name: memcached fedora
yum: pkg={{ item }} state=installed