mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
allow include: directive to work during exception processing
prior to this commit, an attempt to use the `include:` directive would fail in a `rescue:` or `always:` block if there were failures in the main block task list. Resolves #12876.
This commit is contained in:
@@ -47,8 +47,6 @@ class IncludedFile:
|
||||
included_files = []
|
||||
|
||||
for res in results:
|
||||
if res._host.name in tqm._failed_hosts:
|
||||
continue
|
||||
|
||||
if res._task.action == 'include':
|
||||
if res._task.loop:
|
||||
|
||||
Reference in New Issue
Block a user