RedHat and Debian complete

This commit is contained in:
Robin Clarke 2015-05-13 09:45:55 +02:00
parent 4b8550f6ef
commit 3aecd58b59
11 changed files with 76 additions and 63 deletions

View file

@ -0,0 +1,8 @@
---
- name: RedHat - add Elasticsearch repo
template: src=elasticsearch.repo dest=/etc/yum.repos.d/elasticsearch-{{ elasticsearch.major_version }}.repo
- name: RedHat - Install Elasticsearch
yum: name=elasticsearch-{{ elasticsearch.version }} state=present update_cache=yes
register: elasticsearch_install