Add api scheme based on http_ssl variable
This commit is contained in:
parent
a1a190feb7
commit
5da76a85c7
5 changed files with 18 additions and 11 deletions
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
- name: Install templates
|
||||
uri:
|
||||
url: "http://{{es_api_host}}:{{es_api_port}}/_template/{{item | filename}}"
|
||||
url: "{{ es_api_uri }}/_template/{{item | filename}}"
|
||||
method: PUT
|
||||
status_code: 200
|
||||
user: "{{es_api_basic_auth_username | default(omit)}}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue