aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/stor4nfv/roles/stor4nfv/templates
diff options
context:
space:
mode:
authorramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-02-26 20:30:44 -0800
committerramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-02-27 14:33:55 -0800
commit0d7ba90b8e90b948842ae7a41d14a6af7fad9e8a (patch)
tree92e5851c81d4b16b27126fc77e444ff79b29ec32 /plugins/stor4nfv/roles/stor4nfv/templates
parent9282b64991b14a1df88b4f23e324f0addeca83af (diff)
Update Stor4nfv plugin with nbp csi install
Change-Id: Ia32ea3c29b78f18aae258fa89b017e894b09301f Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
Diffstat (limited to 'plugins/stor4nfv/roles/stor4nfv/templates')
-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 %}