1
0
Fork 0
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:
Brian Coca 2019-05-22 11:06:54 -04:00 committed by Sam Doran
parent 4f89c1d508
commit 69b2d7e0f3
3 changed files with 11 additions and 3 deletions

View file

@ -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 "$@"