summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/module_precedence/modules_test_envvar_ext.yml
blob: 48f27c4ff35a6d4b4cb7674d3f51268bb49db582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- hosts: testhost
  gather_facts: no
  tasks:
  - name: Use ping from library path
    ping:
    register: result

  - name: Use a from library path
    a:
    register: a_res

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