You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/strategy-external/runme.sh

14 lines
437 B
Bash

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