1#!/usr/bin/env bash
2
3set -eux
4
5group=local
6
7pushd ../connection
8
9INVENTORY="../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
16ANSIBLE_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
23popd
24
25ANSIBLE_ROLES_PATH=../ ansible-playbook -i ../../inventory test_become_password_handling.yml "$@"
26