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/result_pickle_error/runme.sh

17 lines
361 B
Bash

#!/usr/bin/env bash
set -ux
export ANSIBLE_ROLES_PATH=../
is_timeout() {
rv=$?
if [ "$rv" == "124" ]; then
echo "***hang detected, this likely means the strategy never received a result for the task***"
fi
exit $rv
}
trap "is_timeout" EXIT
../test_utils/scripts/timeout.py -- 10 ansible-playbook -i ../../inventory runme.yml -v "$@"