mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-07 19:18:54 +00:00
Don't override the http status code when successful in urls.py
This commit is contained in:
parent
7833b5bec4
commit
ed35e8bce2
2 changed files with 8 additions and 2 deletions
|
|
@ -279,3 +279,10 @@
|
|||
state: absent
|
||||
with_items: "{{ uri_os_packages[ansible_os_family] }}"
|
||||
when: not ansible_python.has_sslcontext and not is_ubuntu_precise|bool
|
||||
|
||||
- name: validate the status_codes are correct
|
||||
uri:
|
||||
url: https://httpbin.org/status/202
|
||||
status_code: 202
|
||||
method: POST
|
||||
body: foo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue