'Return jinja2 extensions to load.
If some extensions are set via jinja_extensions in ansible.cfg, we try
to load them with the jinja environment.'

def _get_extensions(self):

    jinja_exts = []
    if C.DEFAULT_JINJA2_EXTENSIONS:
        jinja_exts = C.DEFAULT_JINJA2_EXTENSIONS.replace('    ', '').split(',')
    return jinja_exts
