mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Reorganize integration tests:
- Move legacy tests into a separate directory. - Reduce common dependencies between targets.
This commit is contained in:
parent
896c4b42ba
commit
781fd7099a
513 changed files with 111 additions and 6 deletions
3
test/integration/targets/hash/group_vars/all
Normal file
3
test/integration/targets/hash/group_vars/all
Normal file
|
@ -0,0 +1,3 @@
|
|||
# variables used for hash merging behavior testing
|
||||
test_hash:
|
||||
group_vars_all: "this is in group_vars/all"
|
2
test/integration/targets/hash/host_vars/testhost
Normal file
2
test/integration/targets/hash/host_vars/testhost
Normal file
|
@ -0,0 +1,2 @@
|
|||
test_hash:
|
||||
host_vars_testhost: "this is in host_vars/testhost"
|
1
test/integration/targets/hash/inventory
Symbolic link
1
test/integration/targets/hash/inventory
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue