Debian Codegraph @

test/integration/targets/ignore_unreachable/runme.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 set -eux -o pipefail
4
5 export ANSIBLE_TIMEOUT=1
6
7 export ANSIBLE_CONNECTION_PLUGINS=./fake_connectors
8 # use fake connectors that raise errors at different stages
9 ansible-playbook test_with_bad_plugins.yml -i inventory -v "$@"
10 unset ANSIBLE_CONNECTION_PLUGINS
11
12 ansible-playbook test_cannot_connect.yml -i inventory -v "$@"
13
14 (ansible-playbook test_base_cannot_connect.yml -i inventory -v "$@" || truescip-shell system . . true.) | teescip-shell system . . tee. out.txt
15
16 grepscip-shell system . . grep. PASSED out.txt
17
18 ansible-playbook test_base_loop_cannot_connect.yml -i inventory -v "$@" | teescip-shell system . . tee. out.txt
19
20 grepscip-shell system . . grep. 'nonexistent.*unreachable=1' out.txt
21 grepscip-shell system . . grep. PASSED out.txt