2017-07-08 01:06:17 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2019-03-27 07:54:04 +01:00
|
|
|
set -ex
|
|
|
|
virtualenv --system-site-packages --python "${ANSIBLE_TEST_PYTHON_INTERPRETER}" "${OUTPUT_DIR}/venv"
|
|
|
|
source "${OUTPUT_DIR}/venv/bin/activate"
|
2017-07-08 01:06:17 +02:00
|
|
|
set -eux
|
|
|
|
|
|
|
|
# Requirements have to be installed prior to running ansible-playbook
|
|
|
|
# because plugins and requirements are loaded before the task runs
|
|
|
|
pip install passlib
|
|
|
|
|
|
|
|
ANSIBLE_ROLES_PATH=../ ansible-playbook lookups.yml -i ../../inventory -e @../../integration_config.yml "$@"
|
2019-01-07 16:06:01 +01:00
|
|
|
|
|
|
|
ansible-playbook template_lookup_vaulted.yml -i ../../inventory -e @../../integration_config.yml --vault-password-file test_vault_pass "$@"
|