mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
changed setting values and updated docs
This commit is contained in:
parent
4dfa40f18e
commit
18adf07fc6
2 changed files with 6 additions and 4 deletions
|
@ -485,7 +485,7 @@ class PlayBook(object):
|
|||
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 {}
|
||||
elif play.gather_facts is False or (play.gather_facts is None and C.DEFAULT_GATHERING == 'never'):
|
||||
elif play.gather_facts is False or (play.gather_facts is None and C.DEFAULT_GATHERING == 'explicit'):
|
||||
return {}
|
||||
|
||||
self.callbacks.on_setup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue