mirror of https://github.com/ansible/ansible.git
* Restore search path in the current task file’s directory for roles
(cherry picked from commit 0be66ed6dc
)
pull/83848/head
parent
93ce28e51c
commit
c150d1ed91
@ -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