You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/module_precedence/modules_test_multiple_roles...

18 lines
292 B
YAML

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