ansible-role-elasticsearch/tasks/elasticsearch.yml

18 lines
560 B
YAML
Raw Normal View History

---
- name: Include optional user and group creation.
when: (es_user_id is defined) and (es_group_id is defined)
include: elasticsearch-optional-user.yml
2016-01-19 11:50:02 +01:00
#- name: Include specific Elasticsearch
# include: "elasticsearch-{{ansible_os_family}}.yml"
#Install OS specific elasticsearch - this can be abbreviated in version 2.0.0
- name: Include specific Elasticsearch
2015-05-13 09:45:55 +02:00
include: elasticsearch-Debian.yml
when: ansible_os_family == 'Debian'
- name: Include specific Elasticsearch
2015-05-13 09:45:55 +02:00
include: elasticsearch-RedHat.yml
when: ansible_os_family == 'RedHat'