diff --git a/tasks/xpack/elasticsearch-xpack.yml b/tasks/xpack/elasticsearch-xpack.yml index e0dca51..e09f8db 100644 --- a/tasks/xpack/elasticsearch-xpack.yml +++ b/tasks/xpack/elasticsearch-xpack.yml @@ -53,7 +53,7 @@ - name: Activate ES license (without shield authentication) uri: method: PUT - url: "http://{{es_api_host}}:{{es_api_port}}/_license?acknowledge=true" + url: "http://{{es_api_host}}:{{es_api_port}}/_xpack/license?acknowledge=true" body_format: json body: "{{ es_xpack_license }}" return_content: yes @@ -68,7 +68,7 @@ - name: Activate ES license (with shield authentication) uri: method: PUT - url: "http://{{es_api_host}}:{{es_api_port}}/_license?acknowledge=true" + url: "http://{{es_api_host}}:{{es_api_port}}/_xpack/license?acknowledge=true" user: "{{es_api_basic_auth_username}}" password: "{{es_api_basic_auth_password}}" body_format: json