mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
To allow plays using different user accounts in the same playbook to function, clear the setup cache
between plays.
This commit is contained in:
parent
16f0d7b333
commit
1ee7ff2f7b
1 changed files with 2 additions and 1 deletions
|
@ -122,6 +122,7 @@ class PlayBook(object):
|
||||||
# loop through all patterns and run them
|
# loop through all patterns and run them
|
||||||
self.callbacks.on_start()
|
self.callbacks.on_start()
|
||||||
for play_ds in self.playbook:
|
for play_ds in self.playbook:
|
||||||
|
self.SETUP_CACHE = {}
|
||||||
self._run_play(Play(self,play_ds))
|
self._run_play(Play(self,play_ds))
|
||||||
|
|
||||||
# summarize the results
|
# summarize the results
|
||||||
|
|
Loading…
Reference in a new issue