Use relative inventory paths instead of symlinks.

This commit is contained in:
Matt Clay 2019-01-07 17:54:11 -08:00
parent c04b69208d
commit 4915920d71
8 changed files with 5 additions and 9 deletions

View file

@ -1 +0,0 @@
../../inventory

View file

@ -6,4 +6,4 @@ set -eux
# because plugins and requirements are loaded before the task runs
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 "$@"

View file

@ -1 +0,0 @@
../../inventory

View file

@ -4,5 +4,5 @@ set -eux
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=merge 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}"

View file

@ -1 +0,0 @@
../../inventory

View file

@ -11,4 +11,4 @@ fi
# This playbook calls a lookup which shadows a keyword.
# 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 "$@"

View file

@ -1 +0,0 @@
../../inventory

View file

@ -2,4 +2,4 @@
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 "$@"