mirror of https://github.com/ansible/ansible.git
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.
17 lines
361 B
Bash
17 lines
361 B
Bash
2 years ago
|
#!/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 "$@"
|