Debian Codegraph @

test/integration/targets/result_pickle_error/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -ux
4 export ANSIBLE_ROLES_PATH=../
5
6 is_timeout() {
7 rv=$?
8 if [ "$rv" == "124" ]; then
9 echo "***hang detected, this likely means the strategy never received a result for the task***"
10 fi
11 exit $rv
12 }
13
14 trap "is_timeout" EXIT
15
16 ../test_utils/scripts/timeout.py -- 10 ansible-playbook -i ../../inventory runme.yml -v "$@"