Debian Codegraph @

test/integration/targets/strategy-external/runme.sh

raw
1 #!/usr/bin/env bash
2
3 source ../collection/setup.sh
4
5 set -eux
6 export ANSIBLE_DEPRECATION_WARNINGS=1
7 export ANSIBLE_COLLECTIONS_PATH="${WORK_DIR}"
8 export ANSIBLE_STRATEGY=ns.col.external
9 output="$(ansible localhost -m debug 2>&1 | tee -a /dev/stderr)"
10 if [[ "${output}" != *"Use of strategy plugins not included in ansible.builtin"* ]]; then
11 echo 'ERROR: Did not find deprecation warning for removal of strategy plugins'
12 exit 1
13 fi