ansible/test/integration/targets/module_precedence/modules_test_envvar.yml

11 lines
216 B
YAML

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