Skip to content

Instantly share code, notes, and snippets.

@darkn3rd
Created March 8, 2017 04:09
Show Gist options
  • Save darkn3rd/b477afa144c1f6e4aa8b922de7c3ebc7 to your computer and use it in GitHub Desktop.
Save darkn3rd/b477afa144c1f6e4aa8b922de7c3ebc7 to your computer and use it in GitHub Desktop.
Ansible Jinja2 To Cosume Yaml
{% for key, val in envvars.iteritems() %}
export {{ key }}='{{ val }}'
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment