mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 00:14:02 -07:00
* Revert " Update TaskInclude _raw_params with the expanded/templated path to file (#39365)"
This reverts commit 4b01b92cfe
.
* Improve error messaging, catch error templating parent path
This commit is contained in:
parent
24c0f6f872
commit
c403f01971
6 changed files with 16 additions and 28 deletions
|
@ -144,8 +144,6 @@ class IncludedFile:
|
|||
include_file = loader.path_dwim(include_result['include'])
|
||||
|
||||
include_file = templar.template(include_file)
|
||||
# Update the task args to reflect the expanded/templated path
|
||||
original_task.args['_raw_params'] = include_file
|
||||
inc_file = IncludedFile(include_file, include_variables, original_task)
|
||||
else:
|
||||
# template the included role's name here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue