diff options
author | ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> | 2018-02-07 21:33:40 -0800 |
---|---|---|
committer | ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> | 2018-02-25 19:26:27 -0800 |
commit | 4bc89660111fbd2fe8a7edc1cbc053b2e297ec56 (patch) | |
tree | 8977b666860d52555526dff5bd5d27a1f66e53dd /plugins/stor4nfv/roles/stor4nfv/templates/opensds.hosts.j2 | |
parent | efb348fd43239ef934fde64e57e977c532a86051 (diff) |
Add plugin for Stor4nfv for k8s deploy
- Adds 'stor4nfv' plugin which installs OpenSDS using stor4nfv.
- Adds k8s-nosdn-stor4nfv-ha scenario file.
- Adds k8s-nosdn-stor4nfv-noha scenario file.
Change-Id: Iee718a48994ad4e55f4b7a01933bd4e7773ac67f
Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
Diffstat (limited to 'plugins/stor4nfv/roles/stor4nfv/templates/opensds.hosts.j2')
-rw-r--r-- | plugins/stor4nfv/roles/stor4nfv/templates/opensds.hosts.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/stor4nfv/roles/stor4nfv/templates/opensds.hosts.j2 b/plugins/stor4nfv/roles/stor4nfv/templates/opensds.hosts.j2 new file mode 100644 index 00000000..97068b90 --- /dev/null +++ b/plugins/stor4nfv/roles/stor4nfv/templates/opensds.hosts.j2 @@ -0,0 +1,9 @@ +[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 %} |