From 914f68f9af4c9033638de78e3d604883de3ae846 Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Thu, 22 Oct 2015 21:24:27 -0400 Subject: [PATCH] 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. --- lib/ansible/playbook/included_file.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ansible/playbook/included_file.py b/lib/ansible/playbook/included_file.py index af722134728..6fc3bd5cbf8 100644 --- a/lib/ansible/playbook/included_file.py +++ b/lib/ansible/playbook/included_file.py @@ -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: