1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/module_precedence/modules_test_role.yml

14 lines
229 B
YAML
Raw Normal View History

- hosts: testhost
gather_facts: no
roles:
- foo
tasks:
- name: Use ping from role
ping:
register: result
- assert:
that:
- '"location" in result'
- 'result["location"] == "role: foo"'