1
0
Fork 0
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:
Lars Kellogg-Stedman 2015-10-22 21:24:27 -04:00
parent 5017a96948
commit 914f68f9af

View file

@ -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: