summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorskylerbunny <skylerrabbit@yahoo.com>2018-09-17 04:08:25 -0700
committerJohn R Barker <john@johnrbarker.com>2018-09-17 12:08:25 +0100
commita892a6ef03a0b4e0e6fc7b66c20f82154cad8a8d (patch)
tree17d5d160616940358f0275e51c407b2f16104173 /examples
parente94a9401c325afab5def031f7123d64ad9264662 (diff)
downloadansible-a892a6ef03a0b4e0e6fc7b66c20f82154cad8a8d.tar.gz
Add undocumented configuration parameter and explain in porting guide (#36059)
* Add undocumented configuration parameter and explain in porting guide
Diffstat (limited to 'examples')
-rw-r--r--examples/ansible.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index f01abf56bf..1bccd57c08 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -55,6 +55,15 @@
# environment.
# gather_timeout = 10
+# Ansible facts are available inside the ansible_facts.* dictionary
+# namespace. This setting maintains the behaviour which was the default prior
+# to 2.5, duplicating these variables into the main namespace, each with a
+# prefix of 'ansible_'.
+# This variable is set to True by default for backwards compatibility. It
+# will be changed to a default of 'False' in a future release.
+# ansible_facts.
+# inject_facts_as_vars = True
+
# additional paths to search for roles in, colon separated
#roles_path = /etc/ansible/roles