You've already forked ansible-role-common
22 lines
676 B
Django/Jinja
22 lines
676 B
Django/Jinja
# This file is managed by Ansible #
|
|
## DO NOT edit manually as changes will be overwritten ##
|
|
|
|
127.0.0.1 localhost {{ ansible_hostname }}
|
|
::1 localhost {{ ansible_hostname }}
|
|
|
|
{{ ansible_default_ipv4.address }} {{ ansible_hostname }}.{{ common_domain }} {{ ansible_hostname }}
|
|
|
|
{# note: below block takes a list of ip -> name mappings
|
|
applying them to the hosts file should the variable be
|
|
populated.
|
|
#}
|
|
{% if vendors_hosts %}
|
|
#*** Vendor Additional Host Entries ***#
|
|
|
|
{% for item in vendors_hosts %}
|
|
{{ item.ip }} {{ item.name }}
|
|
{% endfor %}
|
|
|
|
#*** END Vendor Additional Host Entries ***#
|
|
{% endif %}
|