You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/template
Pilou 62c05033d6 templar: ensure that exceptions are handled, fix 'AttributeError' (#48792)
* templar: ensure that exceptions are handled

* Fix AttributeError: object has no attribute 'message'

'message' attribute is deprecated since Python 2.6 and not available
with Python 3.

Simple reproducer:

    - hosts: localhost
      vars:
        not_json: "{{ 'test str' | from_json }}"
      tasks:
        - command: "echo {{ not_json }}"
6 years ago
..
__init__.py Warn about falling back to jinja2_native=false (#49063) 6 years ago
native_helpers.py Fix using vault encrypted data with jinja2_native (#49025) 6 years ago
safe_eval.py Fix loader for filters (#37748) 7 years ago
template.py template: fix KeyError: 'undefined variable: 0 (#27972) 7 years ago
vars.py templar: ensure that exceptions are handled, fix 'AttributeError' (#48792) 6 years ago