elastic / ansible-elasticsearch

Ansible playbook for Elasticsearch
Other
1.58k stars 854 forks source link

Fix "list native roles" task #779

Closed jmlrt closed 3 years ago

jmlrt commented 3 years ago

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+.