Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible uri module HEADER_ parameters used in first_steps are deprecated #190

Open
babl-timandrews opened this issue Jul 20, 2020 · 0 comments

Comments

@babl-timandrews
Copy link

first_steps role breaks on HEADER_ parameters in call to uri module.
As of Ansible module v2.1 the HEADER_ parameters passed to the uri module are deprecated. We have just installed Ansible 2.9.10 and they have been removed (not sure what version removed them). The new requirements are to build a yaml hash, i.e.,
headers:
Accept: application/json

https://docs.ansible.com/ansible/2.3/uri_module.html shows the HEADER_ parameters being deprecated and https://docs.ansible.com/ansible/latest/modules/uri_module.html shows they are removed altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant