ansible/test/integration/targets/module_precedence/modules_test_envvar.yml
Toshio Kuratomi 3428f42120 Add integration test that modules are loaded from the expected locations (#24170)
* Add integration test that modules are loaded from the expected locations
* Fix ping module to pass PEP8
2017-05-01 08:52:25 -07:00

11 lines
217 B
YAML

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