ansible/test/integration/targets/lookups/runme.sh
2019-01-07 10:06:01 -05:00

11 lines
439 B
Bash
Executable file

#!/usr/bin/env bash
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 "$@"
ansible-playbook template_lookup_vaulted.yml -i ../../inventory -e @../../integration_config.yml --vault-password-file test_vault_pass "$@"