From ecff4399c1802de3d995164aed8ea25903c6d8a6 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sat, 16 Oct 2021 09:25:34 +0200 Subject: [PATCH] . --- salt/states/hostname/files/hosts.jinja | 3 +++ 1 file changed, 3 insertions(+) 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 %}