2fa8f9cfd8
This commit fixes issue #65297. The env lookup plugin used to fail when environment variable value contained any UTF-8 characters (e.g., δ, ζ).
16 lines
533 B
Bash
Executable file
16 lines
533 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
source virtualenv.sh
|
|
|
|
# Requirements have to be installed prior to running ansible-playbook
|
|
# because plugins and requirements are loaded before the task runs
|
|
pip install passlib
|
|
|
|
# UNICODE_VAR is used in testing the env lookup plugin unicode functionality
|
|
ANSIBLE_ROLES_PATH=../ UNICODE_VAR=café ansible-playbook lookups.yml "$@"
|
|
|
|
ansible-playbook template_lookup_vaulted.yml --vault-password-file test_vault_pass "$@"
|
|
|
|
ansible-playbook -i template_deepcopy/hosts template_deepcopy/playbook.yml "$@"
|