Skip to content

Allow writing var_name in jinja files instead of template_vars[var_name] #134

@rsmekala

Description

@rsmekala

Description of Issue

The current jinja template looks similar to below:
set interfaces {{ template_vars['interface_name'] }} unit 0

The request is to change it to:
set interfaces {{ interface_name }} unit 0

This will help the Jinja files to remain consistent b/w Ansible and saltstack.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions