summaryrefslogtreecommitdiff
path: root/lib/ansible/constants.py
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2016-10-04 15:41:27 -0400
committerBrian Coca <brian.coca+git@gmail.com>2016-10-13 16:56:31 -0400
commitb6e317c04535b66e61b4dd1bdfda0e0f236496fe (patch)
tree86dbabbca50f7a22b205da1c37414cd05e62f3bc /lib/ansible/constants.py
parenta94db01b89ebcf3a9edb1d73b505ef784cadf46b (diff)
downloadansible-b6e317c04535b66e61b4dd1bdfda0e0f236496fe.tar.gz
toggle missing handler errors/warnings via config
(cherry picked from commit b169a61c207331266b25844a851e4fda0a49628b)
Diffstat (limited to 'lib/ansible/constants.py')
-rw-r--r--lib/ansible/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py
index 58c281bbc9..0811825a6b 100644
--- a/lib/ansible/constants.py
+++ b/lib/ansible/constants.py
@@ -191,6 +191,7 @@ DEFAULT_FORCE_HANDLERS = get_config(p, DEFAULTS, 'force_handlers', 'ANSIBLE_F
DEFAULT_INVENTORY_IGNORE = get_config(p, DEFAULTS, 'inventory_ignore_extensions', 'ANSIBLE_INVENTORY_IGNORE', ["~", ".orig", ".bak", ".ini", ".cfg", ".retry", ".pyc", ".pyo"], islist=True)
DEFAULT_VAR_COMPRESSION_LEVEL = get_config(p, DEFAULTS, 'var_compression_level', 'ANSIBLE_VAR_COMPRESSION_LEVEL', 0, integer=True)
DEFAULT_INTERNAL_POLL_INTERVAL = get_config(p, DEFAULTS, 'internal_poll_interval', None, 0.001, floating=True)
+ERROR_ON_MISSING_HANDLER = get_config(p, DEFAULTS, 'error_on_missing_handler', 'ANSIBLE_ERROR_ON_MISSING_HANDLER', True, boolean=True)
# static includes
DEFAULT_TASK_INCLUDES_STATIC = get_config(p, DEFAULTS, 'task_includes_static', 'ANSIBLE_TASK_INCLUDES_STATIC', False, boolean=True)