mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 22:11:44 -07:00
Remove unnecessary calls to cache_block_tasks noop (#50715)
This commit is contained in:
parent
e150943314
commit
3dc5ba6186
2 changed files with 0 additions and 6 deletions
|
@ -192,17 +192,12 @@ class PlayIterator:
|
|||
|
||||
setup_block = setup_block.filter_tagged_tasks(play_context, all_vars)
|
||||
self._blocks.append(setup_block)
|
||||
self.cache_block_tasks(setup_block)
|
||||
|
||||
for block in self._play.compile():
|
||||
new_block = block.filter_tagged_tasks(play_context, all_vars)
|
||||
if new_block.has_tasks():
|
||||
self.cache_block_tasks(new_block)
|
||||
self._blocks.append(new_block)
|
||||
|
||||
for handler_block in self._play.handlers:
|
||||
self.cache_block_tasks(handler_block)
|
||||
|
||||
self._host_states = {}
|
||||
start_at_matched = False
|
||||
batch = inventory.get_hosts(self._play.hosts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue