ansible/test/integration/targets/module_utils_Ansible.ModuleUtils.WebRequest/tasks/main.yml

11 lines
249 B
YAML
Raw Normal View History

---
- 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'