Fix "list native roles" task (#779)
This commit fix "List Native Roles" task with Elasticsearch 7.11.0+ by removing the unused `body_format` parameter from `uri` module. This parameter isn't used with a GET method but make request fail with `request [GET /_security/role] does not support having a body` error with Elasticsearch 7.11.0+.
This commit is contained in:
parent
e2caeb84b3
commit
30fcd95d51
1 changed files with 0 additions and 1 deletions
|
|
@ -137,7 +137,6 @@
|
||||||
uri:
|
uri:
|
||||||
url: "{{ es_api_uri }}/{{ es_security_api }}/role"
|
url: "{{ es_api_uri }}/{{ es_security_api }}/role"
|
||||||
method: GET
|
method: GET
|
||||||
body_format: json
|
|
||||||
user: "{{es_api_basic_auth_username}}"
|
user: "{{es_api_basic_auth_username}}"
|
||||||
password: "{{es_api_basic_auth_password}}"
|
password: "{{es_api_basic_auth_password}}"
|
||||||
force_basic_auth: yes
|
force_basic_auth: yes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue