difference([source_ip]) %} {{ peer_ip }} {% endfor %} Where source ip is the ip address of the server where this is run and peer ip is the secondary ip ...
问题描述投票:0回答:1
you can use
{% for peer_ip in all_ips.split(',') | difference([source_ip]) %}
{{ peer_ip }}
{% endfor %}