Commit 18adf07f by Brian Coca Committed by Michael DeHaan

changed setting values and updated docs

parent 4dfa40f1
...@@ -24,9 +24,11 @@ transport = smart ...@@ -24,9 +24,11 @@ transport = smart
remote_port = 22 remote_port = 22
module_lang = C module_lang = C
# controls implicit fact gathering (always, never or smart). # This setting controls implicit fact gathering, valid values are
# smart gathers only if not currently in memory. # implicit, explicit or smart (default).
# does NOT affect explicit 'gather_facts' entries. # smart gathers only if facts for that host are not currently in memory.
# implicit set the default of gather_facts to True, explicit sets it
# to False. This does NOT affect explicit 'gather_facts' entries.
gathering = smart gathering = smart
# additional paths to search for roles in, colon separated # additional paths to search for roles in, colon separated
......
...@@ -485,7 +485,7 @@ class PlayBook(object): ...@@ -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]] 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: if len(host_list) == 0:
return {} 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 {} return {}
self.callbacks.on_setup() self.callbacks.on_setup()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment