Skip already failed hosts

Fixes #1699.
pull/1701/head
Daniel Hokka Zakrisson 12 years ago
parent c948c65bcd
commit 5065103017

@ -390,7 +390,8 @@ class PlayBook(object):
# 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)
serialized_batch = []

Loading…
Cancel
Save