mirror of https://github.com/ansible/ansible.git
[stable-2.8] Ensure uri module always returns status even on failure (#56240)
- Also return url and update docs for other values to indicate they are only returned on success.
- Add integration tests
- Use info variable for common return values
- Use -1 as default status rather than None. This is lines up with with existing code in urls.py
- Add unit tests to ensure status and url are returned on failure
(cherry picked from commit 8f4f3750fe)
Co-authored-by: Sam Doran <sdoran@redhat.com>
pull/56939/head
parent
e71b4e2e57
commit
bd011688dd
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- uri - always return a value for status even during failure (https://github.com/ansible/ansible/issues/55897)
|
||||
Loading…
Reference in New Issue