stop updating SETUP_CACHE in run_play as per comment on pr 1945
This commit is contained in:
parent
f649777072
commit
83b9654c63
1 changed files with 0 additions and 1 deletions
|
@ -392,7 +392,6 @@ class PlayBook(object):
|
||||||
''' run a list of tasks for a given pattern, in order '''
|
''' run a list of tasks for a given pattern, in order '''
|
||||||
|
|
||||||
self.callbacks.on_play_start(play.name)
|
self.callbacks.on_play_start(play.name)
|
||||||
self.SETUP_CACHE.update(play.vars)
|
|
||||||
# if no hosts matches this play, drop out
|
# if no hosts matches this play, drop out
|
||||||
if not self.inventory.list_hosts(play.hosts):
|
if not self.inventory.list_hosts(play.hosts):
|
||||||
self.callbacks.on_no_hosts_matched()
|
self.callbacks.on_no_hosts_matched()
|
||||||
|
|
Loading…
Reference in a new issue