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_envvar_ext.yml

17 lines
318 B
YAML

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