summaryrefslogtreecommitdiffstats
path: root/playbooks/roles/bmra-config/templates/inventory.j2
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles/bmra-config/templates/inventory.j2')
-rw-r--r--playbooks/roles/bmra-config/templates/inventory.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/playbooks/roles/bmra-config/templates/inventory.j2 b/playbooks/roles/bmra-config/templates/inventory.j2
index 7f6cde0..9b91c5f 100644
--- a/playbooks/roles/bmra-config/templates/inventory.j2
+++ b/playbooks/roles/bmra-config/templates/inventory.j2
@@ -1,3 +1,9 @@
+{#
+SPDX-FileCopyrightText: 2021 Anuket contributors
+
+SPDX-License-Identifier: Apache-2.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 }}