summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/module_precedence/modules_test_envvar_ext.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/module_precedence/modules_test_envvar_ext.yml')
-rw-r--r--test/integration/targets/module_precedence/modules_test_envvar_ext.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/integration/targets/module_precedence/modules_test_envvar_ext.yml b/test/integration/targets/module_precedence/modules_test_envvar_ext.yml
new file mode 100644
index 0000000..48f27c4
--- /dev/null
+++ b/test/integration/targets/module_precedence/modules_test_envvar_ext.yml
@@ -0,0 +1,16 @@
+- 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"'