diff options
author | Michael S. Pedersen <michaelx.pedersen@intel.com> | 2020-11-26 11:19:08 +0000 |
---|---|---|
committer | Rihab Banday <rihab.banday@ericsson.com> | 2020-12-03 19:29:32 +0000 |
commit | 7155286ed00a8bce09a948fb54fb4eeb85027e49 (patch) | |
tree | 74c728ac707a2b016ed5dd47aa688909287249c3 /playbooks/roles/bmra-config/templates/inventory.ini | |
parent | d3916f20f0b10da360cc6c38b61e1ee04d6278c5 (diff) |
Update BMRA to v2.0
Also adds configuration of BMRA through the existing hw_config files (idf, pdf)
and better handling of dependencies.
Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com>
Change-Id: Iedaf249f01ea3e1e00c889e846e21644adff98c7
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71504
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
Diffstat (limited to 'playbooks/roles/bmra-config/templates/inventory.ini')
-rw-r--r-- | playbooks/roles/bmra-config/templates/inventory.ini | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/playbooks/roles/bmra-config/templates/inventory.ini b/playbooks/roles/bmra-config/templates/inventory.ini deleted file mode 100644 index 7a9c6ab..0000000 --- a/playbooks/roles/bmra-config/templates/inventory.ini +++ /dev/null @@ -1,19 +0,0 @@ -[all] -{% for node in nodes %} -{{ idf.kubespray.hostnames[node.name] }} ansible_host={{ node.interfaces[idf.net_config[engine.pxe_network].interface].address }} ip={{ node.interfaces[idf.net_config[engine.pxe_network].interface].address }} -{% endfor %} - -{% for role in ['kube-master', 'etcd', 'kube-node'] %} -[{{ role }}] -{% for node in nodes %} -{% if role in idf.kubespray.nodes_roles[node.name] %} -{{ idf.kubespray.hostnames[node.name] }} -{% endif %} -{% endfor %} -{% endfor %} - -[k8s-cluster:children] -kube-master -kube-node - -[calico-rr] |