summaryrefslogtreecommitdiffstats
path: root/test/local-content/test-collection.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/local-content/test-collection.yml')
-rw-r--r--test/local-content/test-collection.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/local-content/test-collection.yml b/test/local-content/test-collection.yml
new file mode 100644
index 0000000..47b097d
--- /dev/null
+++ b/test/local-content/test-collection.yml
@@ -0,0 +1,10 @@
+---
+- name: Use module and filter plugin from local collection
+ hosts: localhost
+ tasks:
+ - name: Use module from local collection
+ testns.test_collection.test_module_2:
+ - name: Use filter from local collection
+ ansible.builtin.assert:
+ that:
+ - 1 | testns.test_collection.test_filter(2) == '1:2'