Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 30fcd95

Browse files
authored
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+.
1 parent e2caeb8 commit 30fcd95

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tasks/xpack/security/elasticsearch-security-native.yml

-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@
137137
uri:
138138
url: "{{ es_api_uri }}/{{ es_security_api }}/role"
139139
method: GET
140-
body_format: json
141140
user: "{{es_api_basic_auth_username}}"
142141
password: "{{es_api_basic_auth_password}}"
143142
force_basic_auth: yes

0 commit comments

Comments
 (0)