summaryrefslogtreecommitdiffstats
path: root/playbooks/roles/pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles/pre-install')
-rw-r--r--playbooks/roles/pre-install/molecule/default/converge.yml12
-rw-r--r--playbooks/roles/pre-install/molecule/default/molecule.yml13
-rw-r--r--playbooks/roles/pre-install/molecule/default/tests/test_default.py15
-rw-r--r--playbooks/roles/pre-install/tasks/main.yml12
-rw-r--r--playbooks/roles/pre-install/vars/Debian.yml4
-rw-r--r--playbooks/roles/pre-install/vars/RedHat.yml12
6 files changed, 23 insertions, 45 deletions
diff --git a/playbooks/roles/pre-install/molecule/default/converge.yml b/playbooks/roles/pre-install/molecule/default/converge.yml
index c7904cf..2efb2b3 100644
--- a/playbooks/roles/pre-install/molecule/default/converge.yml
+++ b/playbooks/roles/pre-install/molecule/default/converge.yml
@@ -1,12 +1,8 @@
---
-# SPDX-license-identifier: Apache-2.0
-##############################################################################
-# Copyright (c) 2020 Samsung Electronics
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
+
+# SPDX-FileCopyrightText: 2021 Samsung Electronics
+#
+# SPDX-License-Identifier: Apache-2.0
- name: Converge
hosts: all
diff --git a/playbooks/roles/pre-install/molecule/default/molecule.yml b/playbooks/roles/pre-install/molecule/default/molecule.yml
index a43f45f..d9ee142 100644
--- a/playbooks/roles/pre-install/molecule/default/molecule.yml
+++ b/playbooks/roles/pre-install/molecule/default/molecule.yml
@@ -1,12 +1,9 @@
---
-# SPDX-license-identifier: Apache-2.0
-##############################################################################
-# Copyright (c) 2020 Samsung Electronics
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
+
+# SPDX-FileCopyrightText: 2021 Samsung Electronics
+#
+# SPDX-License-Identifier: Apache-2.0
+
dependency:
name: galaxy
driver:
diff --git a/playbooks/roles/pre-install/molecule/default/tests/test_default.py b/playbooks/roles/pre-install/molecule/default/tests/test_default.py
index c992994..df82092 100644
--- a/playbooks/roles/pre-install/molecule/default/tests/test_default.py
+++ b/playbooks/roles/pre-install/molecule/default/tests/test_default.py
@@ -1,17 +1,6 @@
-# Copyright 2020 Samsung Electronics
-#
-# 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: 2020 Samsung Electronics
#
+# SPDX-License-Identifier: Apache-2.0
import os
import pytest
diff --git a/playbooks/roles/pre-install/tasks/main.yml b/playbooks/roles/pre-install/tasks/main.yml
index ba3e1c0..a081068 100644
--- a/playbooks/roles/pre-install/tasks/main.yml
+++ b/playbooks/roles/pre-install/tasks/main.yml
@@ -1,12 +1,8 @@
---
-# SPDX-license-identifier: Apache-2.0
-##############################################################################
-# Copyright (c) 2020 Samsung Electronics
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
+
+# SPDX-FileCopyrightText: 2020 Samsung Electronics
+#
+# SPDX-License-Identifier: Apache-2.0
- name: Ensure Python3 is installed for CentOS (Equinix Metal)
raw: yum install -y python3
diff --git a/playbooks/roles/pre-install/vars/Debian.yml b/playbooks/roles/pre-install/vars/Debian.yml
index 0ff9b92..475b136 100644
--- a/playbooks/roles/pre-install/vars/Debian.yml
+++ b/playbooks/roles/pre-install/vars/Debian.yml
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2021 Anuket contributors
+#
+# SPDX-License-Identifier: Apache-2.0
+
---
bmra_pkgs:
- lshw
diff --git a/playbooks/roles/pre-install/vars/RedHat.yml b/playbooks/roles/pre-install/vars/RedHat.yml
index cf20b89..689bdfb 100644
--- a/playbooks/roles/pre-install/vars/RedHat.yml
+++ b/playbooks/roles/pre-install/vars/RedHat.yml
@@ -1,12 +1,8 @@
---
-# SPDX-license-identifier: Apache-2.0
-##############################################################################
-# Copyright (c) 2020 Samsung Electronics
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
+
+# SPDX-FileCopyrightText: 2020 Samsung Electronics
+#
+# SPDX-License-Identifier: Apache-2.0
bmra_pkgs:
- lshw