Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% set hosts = ['1', '2', '3'] %}
- {% set addrs = [] %}
- {% for addr in addrs %}
- {% do addrs.append(addr ~ "4161") %}
- {% endfor %}
- debug:
- test.show_notification:
- - name: Debug Information
- - text: |
- abc
- {{ addrs | join(' ' ) }}
- cbd
- Output:
- Comment: abc
- cbd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement