mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Resolve merge commit
This commit is contained in:
parent
1c632af2c9
commit
87258f6d42
1 changed files with 0 additions and 4 deletions
|
@ -437,10 +437,6 @@ class PlayBook(object):
|
|||
return {}
|
||||
|
||||
host_list = self._list_available_hosts(play.hosts)
|
||||
if play.gather_facts is None:
|
||||
host_list = [h for h in host_list if h not in self.SETUP_CACHE or 'module_setup' not in self.SETUP_CACHE[h]]
|
||||
if len(host_list) == 0:
|
||||
return {}
|
||||
|
||||
self.callbacks.on_setup()
|
||||
self.inventory.restrict_to(host_list)
|
||||
|
|
Loading…
Reference in a new issue