Created
July 1, 2015 16:06
-
-
Save anonymous/28b07ad8d86ce7ebcd20 to your computer and use it in GitHub Desktop.
pillar to set env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for name in pillar %} | |
{% if 'master' not in name %} | |
{{name}}: | |
environ.setenv: | |
- name: {{name}} | |
- value: {{pillar[name]}} | |
- update_minion: True | |
{% endif %} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment