mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Use relative inventory paths instead of symlinks.
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user