Skip already failed hosts

Fixes #1699.
parent c948c65b
...@@ -390,7 +390,8 @@ class PlayBook(object): ...@@ -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 = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment