Skip to content

Instantly share code, notes, and snippets.

@dstokes
Created August 1, 2014 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dstokes/c4511bbd482039e1b07e to your computer and use it in GitHub Desktop.
Save dstokes/c4511bbd482039e1b07e to your computer and use it in GitHub Desktop.
{# set the value as a jinja variable #}
{%- mayvar = 'taco ' %}
{# add jinja variable to pillar data #}
mypillarkey: {{ myvar }}
{# add jinja variable to another pillar key #}
myotherpillarkey: {{ myvar }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment