From dc3909dccd68c3db84e30059c1a5fe23dfa3cca6 Mon Sep 17 00:00:00 2001 From: Mario Lenz Date: Wed, 20 Jul 2022 23:15:12 +0200 Subject: [PATCH] Use SPDX-License-Identifier, mention all licenses in galaxy.yml, add missing license file (#1398) Use SPDX-License-Identifier, mention all licenses in galaxy.yml, add missing license file SUMMARY Implements ansible-community/community-topics#112 (comment). Also adds a missing license file for the BSD-2-Clause licensed vmware_spbm and vmware_rest_client module utils. ISSUE TYPE Docs Pull Request Feature Pull Request COMPONENT NAME collection ADDITIONAL INFORMATION I've also tried to unify the format. For example, sometimes there was an empty comment before the copyright (# ) and sometimes there was an empty line without a comment. cc @felixfontein Reviewed-by: Felix Fontein This commit was initially merged in https://github.com/ansible-collections/community.vmware See: https://github.com/ansible-collections/community.vmware/commit/19b8ffed6d6220d866dd4f87c3180d3a5fdf873a --- plugins/modules/vmware_guest.py | 5 +++-- plugins/modules/vmware_guest_powerstate.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/modules/vmware_guest.py b/plugins/modules/vmware_guest.py index 44094fcb..5137667e 100644 --- a/plugins/modules/vmware_guest.py +++ b/plugins/modules/vmware_guest.py @@ -1,8 +1,9 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# + # This module is also sponsored by E.T.A.I. (www.etai.fr) -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later from __future__ import absolute_import, division, print_function __metaclass__ = type diff --git a/plugins/modules/vmware_guest_powerstate.py b/plugins/modules/vmware_guest_powerstate.py index 712debf4..dd2b4b7a 100644 --- a/plugins/modules/vmware_guest_powerstate.py +++ b/plugins/modules/vmware_guest_powerstate.py @@ -1,8 +1,9 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# + # Copyright: (c) 2017, Abhijeet Kasurde -# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later from __future__ import absolute_import, division, print_function __metaclass__ = type