Debian Codegraph @

test/integration/targets/collections_relative_imports/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -eux
4
5 # we need multiple plays, and conditional import_playbook is noisy and causes problems, so choose here which one to use...
6 if [[ ${INVENTORY_PATH} == *.winrm ]]; then
7 export TEST_PLAYBOOK=windows.yml
8 else
9 export TEST_PLAYBOOK=test.yml
10
11 fi
12
13 ANSIBLE_COLLECTIONS_PATH="${PWD}/collection_root" ansible-playbook "${TEST_PLAYBOOK}" -i "${INVENTORY_PATH}" "$@"