ansible/test/integration/targets/module_utils_Ansible.ModuleUtils.WebRequest/tasks/main.yml
Jordan Borean 97d2d4512f
Separated ps module_util test targets, added WebRequest tests (#67914)
* Separated ps module_util test targets, added WebRequest tests

* Simplify header test
2020-03-02 16:12:08 +10:00

10 lines
249 B
YAML

---
- name: test Ansible.ModuleUtils.WebRequest
web_request_test:
httpbin_host: '{{ httpbin_host }}'
register: web_request
- name: assert test Ansible.ModuleUtils.WebRequest succeeded
assert:
that:
- web_request.data == 'success'