mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Don't override the http status code when successful in urls.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user