mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 17:14:20 +01:00
Changes to restart correctly on multi node install
This commit is contained in:
@@ -198,3 +198,4 @@ all supported platforms.
|
||||
* The role aims to be idempotent. Running the role multiple times, with no changes, should result in no state change on the server. If the configuration is changed, these will be applied and
|
||||
Elasticsearch restarted where required.
|
||||
* Systemd is used for Ubuntu versions >= 15, Debian >=8, Centos >=7. All other versions use init for service scripts.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
#TODO: How to handle in multi node
|
||||
# 1. Template directory needs to be specifiable
|
||||
|
||||
- name: Copy templates to elasticsearch
|
||||
copy: src=templates dest=/etc/elasticsearch/ owner={{ es_user }} group={{ es_group }}
|
||||
|
||||
|
||||
@@ -10,4 +10,5 @@
|
||||
- include: elasticsearch-scripts.yml
|
||||
when: es_scripts
|
||||
- include: elasticsearch-templates.yml
|
||||
when: es_templates
|
||||
when: es_templates
|
||||
- meta: flush_handlers
|
||||
Reference in New Issue
Block a user