mirror of https://github.com/ansible/ansible.git
Fix task-adjacent search path in roles (#83621)
* Restore search path in the current task file’s directory for rolespull/78142/merge
parent
26c8a28d05
commit
0be66ed6dc
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- Fix using the current task's directory for looking up relative paths within roles (https://github.com/ansible/ansible/issues/82695).
|
@ -0,0 +1 @@
|
|||||||
|
- include_tasks: subdir/main.yml
|
@ -0,0 +1,7 @@
|
|||||||
|
- assert:
|
||||||
|
that:
|
||||||
|
- "lookup('first_found', task_adjacent) is is_file"
|
||||||
|
vars:
|
||||||
|
task_adjacent:
|
||||||
|
- files:
|
||||||
|
- relative
|
Loading…
Reference in New Issue