Use relative inventory paths instead of symlinks.

(cherry picked from commit 4915920d71)
pull/50743/head
Matt Clay 6 years ago
parent 7a4f2aa47b
commit 5fa8d54488

@ -6,4 +6,4 @@ set -eux
# because plugins and requirements are loaded before the task runs # because plugins and requirements are loaded before the task runs
pip install jmespath pip install jmespath
ANSIBLE_ROLES_PATH=../ ansible-playbook filters.yml -i inventory -e @../../integration_config.yml "$@" ANSIBLE_ROLES_PATH=../ ansible-playbook filters.yml -i ../../inventory -e @../../integration_config.yml "$@"

@ -4,5 +4,5 @@ set -eux
JSON_ARG='{"test_hash":{"extra_args":"this is an extra arg"}}' JSON_ARG='{"test_hash":{"extra_args":"this is an extra arg"}}'
ANSIBLE_HASH_BEHAVIOUR=replace ansible-playbook test_hash.yml -i inventory -v "$@" -e "${JSON_ARG}" ANSIBLE_HASH_BEHAVIOUR=replace ansible-playbook test_hash.yml -i ../../inventory -v "$@" -e "${JSON_ARG}"
ANSIBLE_HASH_BEHAVIOUR=merge ansible-playbook test_hash.yml -i inventory -v "$@" -e "${JSON_ARG}" ANSIBLE_HASH_BEHAVIOUR=merge ansible-playbook test_hash.yml -i ../../inventory -v "$@" -e "${JSON_ARG}"

@ -11,4 +11,4 @@ fi
# This playbook calls a lookup which shadows a keyword. # This playbook calls a lookup which shadows a keyword.
# This is an ok situation, and should not error # This is an ok situation, and should not error
ansible-playbook playbook_lookup.yml -i inventory -e @../../integration_config.yml "$@" ansible-playbook playbook_lookup.yml -i ../../inventory -e @../../integration_config.yml "$@"

@ -2,4 +2,4 @@
set -eux set -eux
ansible-playbook test_var_blending.yml -i inventory -e @integration_config.yml -v "$@" ansible-playbook test_var_blending.yml -i ../../inventory -e @integration_config.yml -v "$@"

Loading…
Cancel
Save