aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/stor4nfv/roles/stor4nfv/templates
diff options
context:
space:
mode:
authorramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-03-19 07:42:47 -0700
committerramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-03-20 14:47:30 -0700
commitf9425c8accb3e1fac5237377f7d5615c3eeb93e0 (patch)
treeac461c5a3c6d19dc614e664c635678a241dd7127 /plugins/stor4nfv/roles/stor4nfv/templates
parentd070198fbe5756e1f5a969c05a940a3a01b74a21 (diff)
Fix Stor4nfv CI issues due to repo changes
Applies the changes in stor4nfv repo and consolidates opensds and nbp inventories. This fixes the CI failure in stor4nfv scenarios. Change-Id: I91f291d52488771934e0e0e93da2c56715abc877 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
-rw-r--r--plugins/stor4nfv/roles/stor4nfv/templates/opensds-nbp.hosts.j2 (renamed from plugins/stor4nfv/roles/stor4nfv/templates/opensds.hosts.j2)5
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j2 b/plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j2
deleted file mode 100644
index 0e8fa4c9..00000000
--- a/plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j2
+++ /dev/null
@@ -1,4 +0,0 @@
-[worker-nodes]
-{% for worker in hostvars[inventory_hostname]['groups']['storage_master'] %}
-{{ worker }} ansible_ssh_host={{ hostvars[worker]['ansible_ssh_host'] }}
-{% endfor %}
diff --git a/plugins/stor4nfv/roles/stor4nfv/templates/opensds.hosts.j2 b/plugins/stor4nfv/roles/stor4nfv/templates/opensds-nbp.hosts.j2
index 97068b90..c93f2b77 100644
--- a/plugins/stor4nfv/roles/stor4nfv/templates/opensds.hosts.j2
+++ b/plugins/stor4nfv/roles/stor4nfv/templates/opensds-nbp.hosts.j2
@@ -7,3 +7,8 @@
{% for dock in hostvars[inventory_hostname]['groups']['storage_master'] %}
{{ dock }} ansible_ssh_host={{ hostvars[dock]['ansible_ssh_host'] }}
{% endfor %}
+
+[worker-nodes]
+{% for worker in hostvars[inventory_hostname]['groups']['storage_master'] %}
+{{ worker }} ansible_ssh_host={{ hostvars[worker]['ansible_ssh_host'] }}
+{% endfor %}