Revert "Don't use the Task object in the dictionary of results for include_role"
This reverts commit 0945694252
.
This commit causes a behaviour change that may break playbooks so we're
reverting this for now.
This commit is contained in:
parent
ff31828ec3
commit
c570a2fff9
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ class TaskExecutor:
|
|||
# if this task is a IncludeRole, we just return now with a success code so the main thread can expand the task list for the given host
|
||||
elif self._task.action == 'include_role':
|
||||
include_variables = self._task.args.copy()
|
||||
return dict(include_variables=include_variables)
|
||||
return dict(include_role=self._task, include_variables=include_variables)
|
||||
|
||||
# Now we do final validation on the task, which sets all fields to their final values.
|
||||
self._task.post_validate(templar=templar)
|
||||
|
|
Loading…
Reference in a new issue