summaryrefslogtreecommitdiffstats
path: root/ansible/roles/dns/templates/simulated_hosts.j2
diff options
context:
space:
mode:
authorTomáš Levora <t.levora@partner.samsung.com>2018-12-19 15:47:04 +0100
committerTomáš Levora <t.levora@partner.samsung.com>2018-12-19 15:50:00 +0100
commit290bf4088ac26232076f0eec1255d89687399539 (patch)
treef48dcce564e15eee8478b6b63ff63d3bbde3ae9c /ansible/roles/dns/templates/simulated_hosts.j2
parent788be5eb73d8213a450050e149cfa34d670e4ffa (diff)
Add ansible role for dns simulation
Adding role to simulate domain names for offline installation from private nexus repositories Issue-ID: OOM-1551 Change-Id: Ia3fe274e95ef078332627af9229195bd6e9a667d Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Diffstat (limited to 'ansible/roles/dns/templates/simulated_hosts.j2')
-rw-r--r--ansible/roles/dns/templates/simulated_hosts.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/dns/templates/simulated_hosts.j2 b/ansible/roles/dns/templates/simulated_hosts.j2
new file mode 100644
index 00000000..637aef6a
--- /dev/null
+++ b/ansible/roles/dns/templates/simulated_hosts.j2
@@ -0,0 +1,3 @@
+{% for host in all_simulated_hosts -%}
+ {{ ansible_host }} {{ host }}
+{% endfor %}