Skip to content

Conversation

@mason3k
Copy link

@mason3k mason3k commented Jan 30, 2025

requests.json() returns the deserialized version of the json string, so it is inconsistent that a host's ansible_facts property returns a json string when we get a response code >= 400. It should return an object like in the case of an ok response.

See:

@costastf costastf merged commit da7f68b into schubergphilis:main Feb 11, 2025
1 check failed
@costastf
Copy link
Collaborator

Thank you very much for the contribution and many apologies for the late merging.

@costastf
Copy link
Collaborator

v3.15.1 has this fix.

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

Successfully merging this pull request may close these issues.

3 participants