diff options
author | Yifei Xue <xueyifei@huawei.com> | 2018-03-21 03:18:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-21 03:18:19 +0000 |
commit | 9c5ae544e3f1adbc5bb0df1fc7388012bdf642fa (patch) | |
tree | dabac5e31f0cb413406ae1f371c0af0c9e9e8e73 /plugins/stor4nfv/roles/stor4nfv/templates | |
parent | 5663222a6ca1de03a28a4d1f85f827b81b91439f (diff) | |
parent | f9425c8accb3e1fac5237377f7d5615c3eeb93e0 (diff) |
Merge "Fix Stor4nfv CI issues due to repo changes"
Diffstat (limited to 'plugins/stor4nfv/roles/stor4nfv/templates')
-rw-r--r-- | plugins/stor4nfv/roles/stor4nfv/templates/nbp.hosts.j2 | 4 | ||||
-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 %} |