Add basedir to ansible_search_path before running loops. Fixes #43302 (#43431)

This commit is contained in:
Matt Martz 2018-07-31 10:51:32 -05:00 committed by Brian Coca
commit a7f45c0660
2 changed files with 14 additions and 4 deletions

View file

@ -223,3 +223,13 @@
- assert:
that:
- with_list_passed_a_dict is failed
- debug:
var: "item"
loop:
- "{{ ansible_search_path }}"
register: loop_search_path
- assert:
that:
- ansible_search_path == loop_search_path.results.0.item