New task for generating instances.yml file
This commit is contained in:
parent
090514b9c5
commit
48746b9f5a
@ -120,10 +120,12 @@
|
|||||||
- node_generate_certs
|
- node_generate_certs
|
||||||
- elasticsearch_xpack_security
|
- elasticsearch_xpack_security
|
||||||
|
|
||||||
- name: Check that the instances.yml file exists
|
- name: Write the instances.yml file in the selected node
|
||||||
stat:
|
instances_file:
|
||||||
path: /usr/share/elasticsearch/instances.yml
|
src: instances.yml.j2
|
||||||
register: instances_file_exists
|
dest: "/usr/share/elasticsearch/instances.yml"
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
when:
|
when:
|
||||||
- node_generate_certs
|
- node_generate_certs
|
||||||
- elasticsearch_xpack_security
|
- elasticsearch_xpack_security
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user