diff options
author | ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> | 2018-03-19 07:42:47 -0700 |
---|---|---|
committer | ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> | 2018-03-20 14:47:30 -0700 |
commit | f9425c8accb3e1fac5237377f7d5615c3eeb93e0 (patch) | |
tree | ac461c5a3c6d19dc614e664c635678a241dd7127 /plugins/stor4nfv/roles/stor4nfv/templates/opensds-nbp.hosts.j2 | |
parent | d070198fbe5756e1f5a969c05a940a3a01b74a21 (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/opensds-nbp.hosts.j2')
-rw-r--r-- | plugins/stor4nfv/roles/stor4nfv/templates/opensds-nbp.hosts.j2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/stor4nfv/roles/stor4nfv/templates/opensds-nbp.hosts.j2 b/plugins/stor4nfv/roles/stor4nfv/templates/opensds-nbp.hosts.j2 new file mode 100644 index 00000000..c93f2b77 --- /dev/null +++ b/plugins/stor4nfv/roles/stor4nfv/templates/opensds-nbp.hosts.j2 @@ -0,0 +1,14 @@ +[controllers] +{% for controller in hostvars[inventory_hostname]['groups']['storage_master'] %} +{{ controller }} ansible_ssh_host={{ hostvars[controller]['ansible_ssh_host'] }} +{% endfor %} + +[docks] +{% 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 %} |