ansible/test/integration/targets/includes
Pilou 556a1daa33 fix searched paths in DataLoader.path_dwim_relative (avoid AnsibleFileNotFound) (#26729)
* add unit test: nested dynamic includes

* nested dynamic includes: avoid AnsibleFileNotFound error

Error was:
Unable to retrieve file contents
Could not find or access 'include2.yml'

Before 8f758204cf, at the end of
'path_dwim_relative' method, the 'search' variable contained amongst
others paths:
'/tmp/roles/testrole/tasks/tasks/included.yml' and
'/tmp/roles/testrole/tasks/included.yml'.
The commit mentioned before removed the last one despite the method
docstrings specify 'with or without explicitly named dirname subdirs'.

* add integration test: nested includes
2017-07-20 10:26:13 -04:00
..
roles/test_includes fix searched paths in DataLoader.path_dwim_relative (avoid AnsibleFileNotFound) (#26729) 2017-07-20 10:26:13 -04:00
aliases Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
runme.sh Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
test_includes.yml Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
test_includes2.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
test_includes3.yml Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
test_includes4.yml Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00