Changed default variable names so entire hash is not overwritten. Enabled plugin install
This commit is contained in:
parent
3aecd58b59
commit
3da43c91d4
7 changed files with 31 additions and 16 deletions
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
- name: RedHat - add Elasticsearch repo
|
||||
template: src=elasticsearch.repo dest=/etc/yum.repos.d/elasticsearch-{{ elasticsearch.major_version }}.repo
|
||||
template: src=elasticsearch.repo dest=/etc/yum.repos.d/elasticsearch-{{ es_major_version }}.repo
|
||||
- name: RedHat - Install Elasticsearch
|
||||
yum: name=elasticsearch-{{ elasticsearch.version }} state=present update_cache=yes
|
||||
yum: name=elasticsearch-{{ es_version }} state=present update_cache=yes
|
||||
register: elasticsearch_install
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue