mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-18 01:24:20 +01:00
libselinux-python required in CentOS 6.x
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user