mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
5017a96948
commit
914f68f9af
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue