From 1456c58be359da30e5de75819e38a35138fcc64b Mon Sep 17 00:00:00 2001 From: Michal Zegan Date: Thu, 7 Feb 2019 13:23:20 +0100 Subject: Fix simulated_hosts template 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 --- ansible/roles/dns/templates/simulated_hosts.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible/roles/dns/templates') diff --git a/ansible/roles/dns/templates/simulated_hosts.j2 b/ansible/roles/dns/templates/simulated_hosts.j2 index 637aef6a..469ca62a 100644 --- a/ansible/roles/dns/templates/simulated_hosts.j2 +++ b/ansible/roles/dns/templates/simulated_hosts.j2 @@ -1,3 +1,3 @@ {% for host in all_simulated_hosts -%} - {{ ansible_host }} {{ host }} + {{ cluster_ip }} {{ host }} {% endfor %} -- cgit 1.2.3-korg