2020-04-17 15:51:05 +02:00
|
|
|
#!/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
|
2020-05-12 15:12:21 +02:00
|
|
|
|
|
|
|
# non-existent paths
|
|
|
|
for seed in foo foo/bar foo/bar/baz
|
|
|
|
do
|
|
|
|
ansible-playbook non_existent/play.yml -e "seed='${seed}'" "$@"
|
|
|
|
done
|