summaryrefslogtreecommitdiff
path: root/examples/ansible.cfg
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2017-08-28 17:17:19 -0400
committerGitHub <noreply@github.com>2017-08-28 17:17:19 -0400
commitde6ba4daff48e23bb2bee31cd075e0f6f4c8eb56 (patch)
tree67d552a0871f57ae474258cd777adec2d273b567 /examples/ansible.cfg
parent862cde5e82a83f37eb3d98b4e83e530252b1bedc (diff)
downloadansible-de6ba4daff48e23bb2bee31cd075e0f6f4c8eb56.tar.gz
add toggle to controle inventory parse as error (#28729)
* add toggle to controle inventory parse as error also rearranged new inventory options into it's own ini section * updated with inventory features also minor fixes/consolidation on deprecated/removed modules * tweaked settings
Diffstat (limited to 'examples/ansible.cfg')
-rw-r--r--examples/ansible.cfg16
1 files changed, 13 insertions, 3 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index 7abae073f2..fa73d4a514 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -72,9 +72,6 @@
# enable callback plugins, they can output to stdout but cannot be 'stdout' type.
#callback_whitelist = timer, mail
-# enable inventory plugins, default: 'host_list', 'script', 'yaml', 'ini'
-#inventory_enabled = host_list, virtualbox, yaml, constructed
-
# Determine whether includes in tasks and handlers are "static" by
# default. As of 2.0, includes are dynamic by default. Setting these
# values to True will make includes behave more like they did in the
@@ -313,6 +310,19 @@
# set default errors for all plays
#any_errors_fatal = False
+[inventory]
+# enable inventory plugins, default: 'host_list', 'script', 'yaml', 'ini'
+#enabled_plugins = host_list, virtualbox, yaml, constructed
+
+# ignore these extensions when parsing a directory as inventory source
+#ignore_extensions = '.pyc', '.pyo', '.swp', '.bak', '~', '.rpm', '.md', '.txt', '~', '.orig', '.ini', '.cfg', '.retry'
+
+# ignore files matching these patterns when parsing a directory as inventory source
+#ignore_patterns=
+
+# If 'true' unparsed inventory sources become fatal errors, they are warnings otherwise.
+#unparsed_is_failed=False
+
[privilege_escalation]
#become=True
#become_method=sudo