3428f42120
* Add integration test that modules are loaded from the expected locations * Fix ping module to pass PEP8
17 lines
293 B
YAML
17 lines
293 B
YAML
- hosts: localhost
|
|
gather_facts: no
|
|
vars:
|
|
expected_location: "role: foo"
|
|
roles:
|
|
- foo
|
|
- bar
|
|
|
|
tasks:
|
|
- name: Use ping from role
|
|
ping:
|
|
register: result
|
|
|
|
- assert:
|
|
that:
|
|
- '"location" in result'
|
|
- 'result["location"] == "{{ expected_location}}"'
|