You've already forked ansible-role-common
Initial Commit
This commit is contained in:
13
templates/etc.hosts.j2
Normal file
13
templates/etc.hosts.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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 }}.{{ domain }} {{ ansible_hostname }}
|
||||
|
||||
{% if not vendors_hosts is none %}
|
||||
{% for item in vendors_hosts %}
|
||||
{{ item.ip }} {{ item.name }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user