summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/lookup_fileglob/runme.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/lookup_fileglob/runme.sh')
-rwxr-xr-xtest/integration/targets/lookup_fileglob/runme.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/integration/targets/lookup_fileglob/runme.sh b/test/integration/targets/lookup_fileglob/runme.sh
new file mode 100755
index 00000000..1e0297c7
--- /dev/null
+++ b/test/integration/targets/lookup_fileglob/runme.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+set -eux
+
+# fun multilevel finds
+for seed in play_adj play_adj_subdir somepath/play_adj_subsubdir in_role otherpath/in_role_subdir
+do
+ ansible-playbook find_levels/play.yml -e "seed='${seed}'" "$@"
+done
+
+# non-existent paths
+for seed in foo foo/bar foo/bar/baz
+do
+ ansible-playbook non_existent/play.yml -e "seed='${seed}'" "$@"
+done