hosts 827 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Haproxy
  2. 10.30.184.65 example.example.com
  3. # lucene
  4. 10.30.148.4 example.example.com
  5. # mq
  6. 10.30.148.149 example.example.com
  7. 10.28.225.116 example.example.com
  8. # nginx java_backend uptream
  9. 10.30.148.149 example.example.com
  10. 10.30.149.41 example.example.com
  11. 10.31.74.200 example.example.com
  12. # elk
  13. 10.31.88.120 example.example.com
  14. # redis
  15. 10.30.184.65 example.example.com
  16. # temp domain for webhook
  17. {{ ansible_eth0['ipv4']['address'] }} webhook2backend
  18. # example.example.com
  19. 10.30.148.149 example.example.com
  20. 10.30.149.41 example.example.com
  21. 10.31.74.200 example.example.com
  22. # example.example.com
  23. 10.30.184.65 example.example.com
  24. # hostname
  25. {% if ansible_hostname == "localhost" %}
  26. 127.0.0.1 {{ ansible_hostname }}
  27. {% else %}
  28. 127.0.0.1 localhost
  29. {{ ansible_eth0['ipv4']['address'] }} {{ ansible_hostname }}
  30. {% endif %}