Fix deprecated license URL
This commit is contained in:
parent
ab70e6f11d
commit
b59262cb34
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
- name: Activate ES license (with security authentication)
|
- name: Activate ES license (with security authentication)
|
||||||
uri:
|
uri:
|
||||||
method: PUT
|
method: PUT
|
||||||
url: "{{ es_api_uri }}/_xpack/license?acknowledge=true"
|
url: "{{ es_api_uri }}/_{{ 'xpack/' if es_version is version_compare('7.0.0', '<') else '' }}license?acknowledge=true"
|
||||||
user: "{{es_api_basic_auth_username | default(omit)}}"
|
user: "{{es_api_basic_auth_username | default(omit)}}"
|
||||||
password: "{{es_api_basic_auth_password | default(omit)}}"
|
password: "{{es_api_basic_auth_password | default(omit)}}"
|
||||||
body_format: json
|
body_format: json
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue