diff options
Diffstat (limited to 'test/integration/targets/module_precedence/modules_test_role.yml')
-rw-r--r-- | test/integration/targets/module_precedence/modules_test_role.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/integration/targets/module_precedence/modules_test_role.yml b/test/integration/targets/module_precedence/modules_test_role.yml new file mode 100644 index 0000000..ccbe31d --- /dev/null +++ b/test/integration/targets/module_precedence/modules_test_role.yml @@ -0,0 +1,13 @@ +- hosts: testhost + gather_facts: no + roles: + - foo + tasks: + - name: Use ping from role + ping: + register: result + + - assert: + that: + - '"location" in result' + - 'result["location"] == "role: foo"' |