aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j2
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j2')
-rw-r--r--plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j2 b/plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j2
new file mode 100644
index 00000000..0e8fa4c9
--- /dev/null
+++ b/plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j2
@@ -0,0 +1,4 @@
+[worker-nodes]
+{% for worker in hostvars[inventory_hostname]['groups']['storage_master'] %}
+{{ worker }} ansible_ssh_host={{ hostvars[worker]['ansible_ssh_host'] }}
+{% endfor %}