1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Skip already failed hosts

Fixes #1699.
This commit is contained in:
Daniel Hokka Zakrisson 2012-11-28 00:54:08 +01:00
parent c948c65bcd
commit 5065103017

View file

@ -390,7 +390,8 @@ class PlayBook(object):
# now with that data, handle contentional variable file imports! # now with that data, handle contentional variable file imports!
all_hosts = self.inventory.list_hosts(play.hosts) all_hosts = [ h for h in self.inventory.list_hosts(play.hosts)
if not (h in self.stats.failures or h in self.stats.dark) ]
play.update_vars_files(all_hosts) play.update_vars_files(all_hosts)
serialized_batch = [] serialized_batch = []