Debian Codegraph @

test/integration/targets/connection_local/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -eux
4
5 group=local
6
7 pushd ../connection
8
9 INVENTORY="../connection_${group}/test_connection.inventory" ./test.sh \
10 -e target_hosts="${group}" \
11 -e action_prefix= \
12 -e local_tmp=/tmp/ansible-local \
13 -e remote_tmp=/tmp/ansible-remote \
14 "$@"
15
16 ANSIBLE_CONNECTION_PLUGINS="../connection_${group}/connection_plugins" INVENTORY="../connection_${group}/test_network_connection.inventory" ./test.sh \
17 -e target_hosts="${group}" \
18 -e action_prefix= \
19 -e local_tmp=/tmp/ansible-local \
20 -e remote_tmp=/tmp/ansible-remote \
21 "$@"
22
23 popd
24
25 ANSIBLE_ROLES_PATH=../ ansible-playbook -i ../../inventory test_become_password_handling.yml "$@"