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

@ -6,7 +6,3 @@ init_script: "/etc/init.d/elasticsearch"
#add supported features here
supported_xpack_features: ["alerting","monitoring","graph","security"]
reserved_xpack_users: ["elastic","kibana","logstash_system"]
# X-Pack used to be installed as a plugin. For versions after 6.3 we don't need to install it anymore
es_install_xpack: "{{ true if ( es_version | version_compare('6.3.0', '<')) else false }}"
es_repo_name: "{{ 'oss-' + es_major_version if (( es_version | version_compare('6.3.0', '>=')) and not es_enable_xpack ) else es_major_version }}"