diff --git a/salt/states/hostname/files/hosts.jinja b/salt/states/hostname/files/hosts.jinja index 5acbc62..546daa3 100644 --- a/salt/states/hostname/files/hosts.jinja +++ b/salt/states/hostname/files/hosts.jinja @@ -24,3 +24,6 @@ ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts +{% for svc in ['rmt', 'www'] -%} +{{ ip }} {{ svc }}.{{ domain }} {{ svc }} +{% endfor %}