Fix simulated_hosts template 49/78049/1
authorMichal Zegan <m.zegan@samsung.com>
Thu, 7 Feb 2019 12:23:20 +0000 (13:23 +0100)
committerMichal Zegan <m.zegan@samsung.com>
Thu, 7 Feb 2019 12:24:04 +0000 (13:24 +0100)
This fixes simulated_hosts template to use cluster_ip instead
of ansible_host as source of infra ip.

Change-Id: I02e205c031d94442b3a3debeee8baebaedc7180d
Issue-ID: OOM-1637
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
ansible/roles/dns/templates/simulated_hosts.j2

index 637aef6..469ca62 100644 (file)
@@ -1,3 +1,3 @@
 {% for host in all_simulated_hosts -%}
-        {{ ansible_host }} {{ host }}
+        {{ cluster_ip }} {{ host }}
 {% endfor %}