endpoints = [ {% for host in ansible_play_hosts %} "{{ hostvars[host].ansible_default_ipv4.address }}:{{ etcd_port }}", {% endfor %} ]