summaryrefslogtreecommitdiffstats
path: root/playbooks/roles/bmra-config
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2021-08-09 16:43:55 +0200
committerjenkins-ci <jenkins-opnfv-ci@opnfv.org>2021-08-12 08:55:40 +0000
commit70e5aad57f6e4d740fadb410a4ecec0be979194b (patch)
treecaa3d5723d8e56aac91257455ce94ed438d76468 /playbooks/roles/bmra-config
parentef7624527898ec135eaf31603a915b441ac9a775 (diff)
Align license headers with REUSE guidelines
This patch applies a consistent use of license and copyright headers to all source files according to the guidelines of REUSE. Signed-off-by: Georg Kunz <georg.kunz@ericsson.com> Change-Id: I8973efe304e8fb03ad0861d4b8356221d898d548 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72804 Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com> Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Diffstat (limited to 'playbooks/roles/bmra-config')
-rw-r--r--playbooks/roles/bmra-config/tasks/main.yaml4
-rw-r--r--playbooks/roles/bmra-config/templates/all.j221
-rw-r--r--playbooks/roles/bmra-config/templates/inventory.j26
-rw-r--r--playbooks/roles/bmra-config/templates/kube-node.j221
4 files changed, 22 insertions, 30 deletions
diff --git a/playbooks/roles/bmra-config/tasks/main.yaml b/playbooks/roles/bmra-config/tasks/main.yaml
index e5a692f..396ff79 100644
--- a/playbooks/roles/bmra-config/tasks/main.yaml
+++ b/playbooks/roles/bmra-config/tasks/main.yaml
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2021 Anuket contributors
+#
+# SPDX-License-Identifier: Apache-2.0
+
---
- name: Write BMRA inventory config
template:
diff --git a/playbooks/roles/bmra-config/templates/all.j2 b/playbooks/roles/bmra-config/templates/all.j2
index 1dbabe2..1eca556 100644
--- a/playbooks/roles/bmra-config/templates/all.j2
+++ b/playbooks/roles/bmra-config/templates/all.j2
@@ -1,18 +1,9 @@
-##
-## Copyright (c) 2020-2021 Intel Corporation.
-##
-## Licensed under the Apache License, Version 2.0 (the "License");
-## you may not use this file except in compliance with the License.
-## You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-##
+{#
+SPDX-FileCopyrightText: 2021 Intel Corporation
+
+SPDX-License-Identifier: Apache-2.0
+#}
+
---
## BMRA primary playbook variables ##
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 }}
diff --git a/playbooks/roles/bmra-config/templates/kube-node.j2 b/playbooks/roles/bmra-config/templates/kube-node.j2
index 09a6958..2f66c5a 100644
--- a/playbooks/roles/bmra-config/templates/kube-node.j2
+++ b/playbooks/roles/bmra-config/templates/kube-node.j2
@@ -1,18 +1,9 @@
-##
-## Copyright (c) 2020-2021 Intel Corporation.
-##
-## Licensed under the Apache License, Version 2.0 (the "License");
-## you may not use this file except in compliance with the License.
-## You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-##
+{#
+SPDX-FileCopyrightText: 2021 Intel Corporation
+
+SPDX-License-Identifier: Apache-2.0
+#}
+
---
# Kubernetes node configuration