summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorMichal Zegan <m.zegan@samsung.com>2019-02-07 13:23:20 +0100
committerMichal Zegan <m.zegan@samsung.com>2019-02-07 13:24:04 +0100
commit1456c58be359da30e5de75819e38a35138fcc64b (patch)
treee8493cb2b8b17cd6e5f0921d1e5dc5981dee1e71 /ansible
parentc2a14cfae6d19c3c6c09394ca710f1871a48983d (diff)
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 <m.zegan@samsung.com>
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/dns/templates/simulated_hosts.j22
1 files changed, 1 insertions, 1 deletions
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 %}