summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael DeHaan <michael@ansible.com>2014-03-19 18:02:49 -0400
committerMichael DeHaan <michael@ansible.com>2014-03-19 18:03:03 -0400
commite639b5382b6fcdaf6b8346d483bff9509626a398 (patch)
tree26096ef948fff3e98ac448c082ab171af0906f32 /examples
parent18adf07fc6b0c58b078eca55ca060fcffd6bb9d3 (diff)
downloadansible-e639b5382b6fcdaf6b8346d483bff9509626a398.tar.gz
Change default gathering policy, add to docs.
Diffstat (limited to 'examples')
-rw-r--r--examples/ansible.cfg13
1 files changed, 7 insertions, 6 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index 4312ec9d82..a4fc4c55ac 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -24,12 +24,13 @@ transport = smart
remote_port = 22
module_lang = C
-# This setting controls implicit fact gathering, valid values are
-# implicit, explicit or smart (default).
-# 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
+# plays will gather facts by default, which contain information about
+# the remote system.
+#
+# smart - gather by default, but don't regather if already gathered
+# implicit - gather by default, turn off with gather_facts: False
+# explicit - do not gather by default, must say gather_facts: True
+gathering = implicit
# additional paths to search for roles in, colon separated
#roles_path = /etc/ansible/roles