Created
February 5, 2018 14:54
-
-
Save ryanwalder/dfc2df7708597994373b4f2d18bccbfe to your computer and use it in GitHub Desktop.
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
{% set blah = { | |
'bob': { | |
'ip': '123', | |
'comment': 'foo', | |
'vol': '/dev/one', | |
}, | |
'alice': { | |
'ip': '123', | |
'comment': 'foo', | |
'vol': '/dev/one', | |
} | |
} %} | |
{% for name, values in blah.items() %} | |
ssh-auth-{{ name }}: | |
function.name: | |
- user: {{ name }} | |
- config: {{ values.ip }} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment