summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/module_precedence/modules_test_role_ext.yml
blob: f8816f935fa2ca225f5a744974c6e2fcaa98988b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- hosts: testhost
  gather_facts: no
  roles:
    - foo
  tasks:
  - name: Use ping from role
    ping:
    register: result

  - name: Use  from role
    a:
    register: a_res

  - assert:
      that:
        - '"location" in result'
        - 'result["location"] == "role: foo"'
        - 'a_res["location"] == "role: foo, a.py"'