Created
February 9, 2017 18:34
-
-
Save mohclips/a9da53f17f5e7a592a0281b9d13612dc to your computer and use it in GitHub Desktop.
csv list output in jinja/ansible
This file contains hidden or 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
hosts: [ | |
{% set comma = joiner(",") %} | |
{% for es in elastic_search_hosts %} | |
{{ comma() }}"{{ es }}" | |
{% endfor %} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment