mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Take darkened hosts out of the playbook rotation, fix error handling in template
module so that if a directory path is specified we get valid output
This commit is contained in:
@@ -111,7 +111,7 @@ class PlayBook(object):
|
||||
# do not continue to run tasks on hosts that have had failures
|
||||
new_hosts = []
|
||||
for x in host_list:
|
||||
if not self.failures.has_key(x):
|
||||
if not self.failures.has_key(x) and not self.dark.has_key(x):
|
||||
new_hosts.append(x)
|
||||
host_list = new_hosts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user