libselinux-python required in CentOS 6.x

This commit is contained in:
Robin Clarke 2015-05-15 10:53:27 +02:00
parent 568cef162a
commit 5cec2dd17f

View file

@ -1,4 +1,7 @@
---
- name: Ensure libselinux-python on CentOS 6.x
yum: name=libselinux-python state=present update_cache=yes
when: ( ansible_distribution == "CentOS" ) and ( ansible_distribution_major_version == "6" )
- name: RedHat - add Elasticsearch repo
template: src=elasticsearch.repo dest=/etc/yum.repos.d/elasticsearch-{{ es_major_version }}.repo
- name: RedHat - Install Elasticsearch