# Haproxy 10.30.184.65 example.example.com # lucene 10.30.148.4 example.example.com # mq 10.30.148.149 example.example.com 10.28.225.116 example.example.com # nginx java_backend uptream 10.30.148.149 example.example.com 10.30.149.41 example.example.com 10.31.74.200 example.example.com # elk 10.31.88.120 example.example.com # redis 10.30.184.65 example.example.com # temp domain for webhook {{ ansible_eth0['ipv4']['address'] }} webhook2backend # example.example.com 10.30.148.149 example.example.com 10.30.149.41 example.example.com 10.31.74.200 example.example.com # example.example.com 10.30.184.65 example.example.com # hostname {% if ansible_hostname == "localhost" %} 127.0.0.1 {{ ansible_hostname }} {% else %} 127.0.0.1 localhost {{ ansible_eth0['ipv4']['address'] }} {{ ansible_hostname }} {% endif %}