diff options
| author | Brian Coca <brian.coca+git@gmail.com> | 2015-11-12 18:42:39 -0800 |
|---|---|---|
| committer | Brian Coca <brian.coca+git@gmail.com> | 2015-12-08 12:52:20 -0800 |
| commit | d82d65ee7bd2506e06ffb225a2e9be6fa1ac36db (patch) | |
| tree | 1b4bf5bc1a0c3814548b124174bef45eee3a362c /lib/ansible/constants.py | |
| parent | a51b7d6b9a01a374123835b9bd631cc159ea134d (diff) | |
| download | ansible-d82d65ee7bd2506e06ffb225a2e9be6fa1ac36db.tar.gz | |
keep string type filters as strings
now we don't try to convert types if using a filter that outputs a specifically formated string
made list of filters configurable
Diffstat (limited to 'lib/ansible/constants.py')
| -rw-r--r-- | lib/ansible/constants.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py index 6faae928db..0f809db729 100644 --- a/lib/ansible/constants.py +++ b/lib/ansible/constants.py @@ -261,6 +261,7 @@ GALAXY_SCMS = get_config(p, 'galaxy', 'scms', 'ANSIBLE_GALAXY # characters included in auto-generated passwords DEFAULT_PASSWORD_CHARS = ascii_letters + digits + ".,:-_" +STRING_TYPE_FILTERS = get_config(p, 'jinja2', 'dont_type_filters', 'ANSIBLE_STRING_TYPE_FILTERS', ['string', 'to_json', 'to_nice_json', 'to_yaml', 'ppretty', 'json'], islist=True ) # non-configurable things MODULE_REQUIRE_ARGS = ['command', 'shell', 'raw', 'script'] |
