
This change implements the basic skeleton to create a new repo for the OSA connection plugin. This change will allow the connection plugin to be installed standalone, and maintained by a larger community. This change has pruned the git history so that all of the old history and commiters record for the connection plugin remains intact. Signed-off-by: Kevin Carter <kevin@cloudnull.com>
20 lines
695 B
Plaintext
20 lines
695 B
Plaintext
export ANSIBLE_WORKPATH="$(dirname $(readlink -f ${BASH_SOURCE[0]}))"
|
|
export ANSIBLE_STDOUT_CALLBACK=debug
|
|
export ANSIBLE_CONNECTION_PLUGINS="${ANSIBLE_WORKPATH}/connection"
|
|
export ANSIBLE_INVENTORY="${ANSIBLE_WORKPATH}/tests/hosts.ini"
|
|
export ANSIBLE_RETRY_FILES_ENABLED="0"
|
|
export ANSIBLE_LOAD_CALLBACK_PLUGINS="1"
|
|
export ANSIBLE_HOST_KEY_CHECKING=False
|
|
|
|
function unset-ansible-test-env {
|
|
for i in $(env | grep ANSIBLE_ | awk -F'=' '{print $1}'); do
|
|
unset ${i}
|
|
done
|
|
unset ANSIBLE_WORKPATH
|
|
echo -e "Ansible test environment deactivated.\n"
|
|
unset -f unset-ansible-test-env
|
|
}
|
|
|
|
echo -e "Ansible test environment is now active"
|
|
echo -e "Run 'unset-ansible-test-env' to deactivate.\n"
|