Abstract 6.3 changes into a separate task to reduce all of the jinja one

liner complexity

Set ES_PATH_CONF when installing so upgrading from 6.2 to 6.3 works as
expected
This commit is contained in:
Michael Russell 2018-06-14 14:44:31 +02:00
parent 715bd8591e
commit bbc5e0603d
No known key found for this signature in database
GPG key ID: A90C1696496085FE
9 changed files with 52 additions and 13 deletions

View file

@ -19,7 +19,8 @@
- name: create the keystore if it doesn't exist yet
command: >
{{es_home}}/bin/elasticsearch-keystore create
creates: "{{ conf_dir }}/elasticsearch.keystore"
args:
creates: "{{ conf_dir }}/elasticsearch.keystore"
environment:
ES_PATH_CONF: "{{ conf_dir }}"