mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-05 10:08:58 +00:00
fix collection adjacent loading with --playbook-dir (#56194)
* added inventory adjacent test
This commit is contained in:
parent
4f89c1d508
commit
69b2d7e0f3
3 changed files with 11 additions and 3 deletions
|
|
@ -32,3 +32,7 @@ fi
|
|||
|
||||
# run test playbook
|
||||
ansible-playbook -i "${INVENTORY_PATH}" -i ./a.statichost.yml -v "${TEST_PLAYBOOK}"
|
||||
|
||||
# test adjacent with --playbook-dir
|
||||
export ANSIBLE_COLLECTIONS_PATHS=''
|
||||
ANSIBLE_INVENTORY_ANY_UNPARSED_IS_FAILED=1 ansible-inventory -i a.statichost.yml --list --export --playbook-dir=. -v "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue