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

stop updating SETUP_CACHE in run_play as per comment on pr 1945

This commit is contained in:
Seth Vidal 2013-01-31 11:24:22 -05:00
parent f649777072
commit 83b9654c63

View file

@ -392,7 +392,6 @@ class PlayBook(object):
''' run a list of tasks for a given pattern, in order '''
self.callbacks.on_play_start(play.name)
self.SETUP_CACHE.update(play.vars)
# if no hosts matches this play, drop out
if not self.inventory.list_hosts(play.hosts):
self.callbacks.on_no_hosts_matched()