From: Michal Zegan Date: Thu, 7 Feb 2019 12:23:20 +0000 (+0100) Subject: Fix simulated_hosts template X-Git-Tag: 6.0.0-ONAP~321^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=1456c58be359da30e5de75819e38a35138fcc64b;p=oom%2Foffline-installer.git 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 --- 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 %}