diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-06 22:56:32 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-11-11 11:24:34 +0100 |
commit | 2df419d71028a4f699a98d897439b89e15f4e72a (patch) | |
tree | 0917b0f6582bf26d4eecb029a0660834e4adef2e /roles/fedora/templates | |
parent | 18a6c64179d45e94466f0598a49ea34fe23fe3eb (diff) | |
download | labitat-ansible-2df419d71028a4f699a98d897439b89e15f4e72a.tar.gz labitat-ansible-2df419d71028a4f699a98d897439b89e15f4e72a.tar.xz labitat-ansible-2df419d71028a4f699a98d897439b89e15f4e72a.zip |
fedora: align with debian role
Diffstat (limited to 'roles/fedora/templates')
-rw-r--r-- | roles/fedora/templates/hosts.j2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/fedora/templates/hosts.j2 b/roles/fedora/templates/hosts.j2 new file mode 100644 index 0000000..695442d --- /dev/null +++ b/roles/fedora/templates/hosts.j2 @@ -0,0 +1,8 @@ +127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 +::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 +{% if hosts is defined %} + +{% for addr, names in hosts %} +{{ addr }} {{ names|join(' ') }} +{% endfor %} +{% endif %} |