mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 17:14:20 +01:00
18 lines
560 B
YAML
18 lines
560 B
YAML
---
|
|
|
|
- name: Include optional user and group creation.
|
|
when: (es_user_id is defined) and (es_group_id is defined)
|
|
include: elasticsearch-optional-user.yml
|
|
|
|
#- 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
|
|
include: elasticsearch-Debian.yml
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
- name: Include specific Elasticsearch
|
|
include: elasticsearch-RedHat.yml
|
|
when: ansible_os_family == 'RedHat'
|