ansible-network / network-engine

This role provides the foundation for building network roles by providing modules and plugins that are common to all Ansible Network roles.
GNU General Public License v3.0
112 stars 53 forks source link

Fix native type conversion in json_template #154

Closed ganeshrn closed 6 years ago

ganeshrn commented 6 years ago

Fixes #151

Note: This feature require jinja2 version to be >= 2.10

softwarefactory-project-zuul[bot] commented 6 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 6 years ago

Build succeeded.

trishnaguha commented 6 years ago

@ganeshrn We need to put this in Doc that this feature is only supported with Ansible 2.7 and requires jinja2 version to be >= 2.10. This cannot be backported. And example how one can still convert it into type int in the parser_template

softwarefactory-project-zuul[bot] commented 6 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 6 years ago

Build failed.