Use relative inventory paths instead of symlinks.
(cherry picked from commit 4915920d71
)
This commit is contained in:
parent
f01caec0cb
commit
df4ea96e94
8 changed files with 5 additions and 9 deletions
|
@ -1 +0,0 @@
|
|||
../../inventory
|
|
@ -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 "$@"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../../inventory
|
|
@ -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}"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../../inventory
|
|
@ -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 "$@"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../../inventory
|
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in a new issue