Add api scheme based on http_ssl variable

This commit is contained in:
Nathan Young 2019-10-11 17:16:35 +01:00
parent a1a190feb7
commit 5da76a85c7
No known key found for this signature in database
GPG key ID: EB5E14327B10D023
5 changed files with 18 additions and 11 deletions

View file

@ -29,7 +29,7 @@
es_install_xpack: true
es_xpack_users_command: "x-pack/users"
es_xpack_conf_subdir: "/x-pack"
when:
when:
- not es_open_xpack
- es_enable_xpack
@ -43,3 +43,8 @@
when:
- es_open_xpack
- not es_enable_xpack
- name: Set the URL scheme based if http ssl/tls is enabled
set_fact:
es_api_scheme: "https"
when: es_enable_http_ssl