diff --git a/.github/BOTMETA.yml b/.github/BOTMETA.yml index 66f0583aeb..46128c3794 100644 --- a/.github/BOTMETA.yml +++ b/.github/BOTMETA.yml @@ -300,34 +300,10 @@ files: $modules/cloud/vmware/: maintainers: $team_vmware ignored: jcpowermac mtnbikenc - $modules/cloud/vmware/vca_fw.py: privateip - $modules/cloud/vmware/vca_nat.py: privateip - $modules/cloud/vmware/vca_vapp.py: privateip - $modules/cloud/vmware/vmware_cluster.py: $team_ansible - $modules/cloud/vmware/vmware_datacenter.py: $team_ansible kamsz - $modules/cloud/vmware/vmware_dns_config.py: $team_ansible - $modules/cloud/vmware/vmware_dvs_host.py: $team_ansible - $modules/cloud/vmware/vmware_dvs_portgroup.py: $team_ansible - $modules/cloud/vmware/vmware_dvswitch.py: $team_ansible $modules/cloud/vmware/vmware_guest.py: dagwieers - $modules/cloud/vmware/vmware_guest_facts.py: nerzhul - $modules/cloud/vmware/vmware_guest_find.py: - $modules/cloud/vmware/vmware_host.py: $team_ansible dagwieers - $modules/cloud/vmware/vmware_local_user_manager.py: $team_ansible - $modules/cloud/vmware/vmware_maintenancemode.py: $team_ansible - $modules/cloud/vmware/vmware_migrate_vmk.py: $team_ansible - $modules/cloud/vmware/vmware_portgroup.py: $team_ansible - $modules/cloud/vmware/vmware_resource_pool.py: dav1x - $modules/cloud/vmware/vmware_target_canonical_facts.py: $team_ansible - $modules/cloud/vmware/vmware_vm_facts.py: $team_ansible - $modules/cloud/vmware/vmware_vm_shell.py: chrrrles ritzk - $modules/cloud/vmware/vmware_vm_vss_dvs_migrate.py: $team_ansible - $modules/cloud/vmware/vmware_vmkernel.py: $team_ansible - $modules/cloud/vmware/vmware_vmkernel_ip_config.py: $team_ansible - $modules/cloud/vmware/vmware_vmotion.py: $team_ansible bedecarroll - $modules/cloud/vmware/vmware_vsan_cluster.py: $team_ansible - $modules/cloud/vmware/vmware_vswitch.py: akasurde - $modules/cloud/vmware/vsphere_guest.py: $team_ansible rhoop dagwieers + $modules/cloud/vmware/vmware_host.py: dagwieers + $modules/cloud/vmware/vmware_vm_shell.py: chrrrles + $modules/cloud/vmware/vsphere_guest.py: dagwieers $modules/cloud/vultr/: resmo $modules/cloud/webfaction/: quentinsf $modules/clustering/consul.py: sgargan @@ -1150,6 +1126,6 @@ macros: team_rhn: alikins barnabycourt flossware vritant team_tower: ghjm jlaska matburt wwitzel3 simfarm ryanpetrello rooftopcellist AlanCoding team_ucs: dsoper2 johnamcdonough vallard vvb dagwieers - team_vmware: dav1x jctanner nerzhul akasurde + team_vmware: akasurde dav1x jctanner nerzhul team_windows: dagwieers jborean93 jhawkesworth nitzmahone team_windows_core: nitzmahone jborean93 diff --git a/lib/ansible/modules/cloud/vmware/_vsphere_guest.py b/lib/ansible/modules/cloud/vmware/_vsphere_guest.py index 06eb2c1107..7093964fd0 100644 --- a/lib/ansible/modules/cloud/vmware/_vsphere_guest.py +++ b/lib/ansible/modules/cloud/vmware/_vsphere_guest.py @@ -1,17 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright: Ansible Project + +# Copyright: (c) 2013, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['deprecated'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vsphere_guest @@ -141,7 +140,8 @@ options: notes: - This module should run from a system that can access vSphere directly. Either by using local_action, or using delegate_to. -author: "Richard Hoop (@rhoop) " +author: +- Richard Hoop (@rhoop) requirements: - "python >= 2.6" - pysphere diff --git a/lib/ansible/modules/cloud/vmware/vca_fw.py b/lib/ansible/modules/cloud/vmware/vca_fw.py index 429f455354..22acd4957f 100644 --- a/lib/ansible/modules/cloud/vmware/vca_fw.py +++ b/lib/ansible/modules/cloud/vmware/vca_fw.py @@ -1,17 +1,15 @@ #!/usr/bin/python -# Copyright (c) 2015 VMware, Inc. All Rights Reserved. +# Copyright: (c) 2015, VMware, Inc. All Rights Reserved. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vca_fw @@ -19,7 +17,8 @@ short_description: add remove firewall rules in a gateway in a vca description: - Adds or removes firewall rules from a gateway in a vca environment version_added: "2.0" -author: Peter Sprygada (@privateip) +author: +- Peter Sprygada (@privateip) options: fw_rules: description: diff --git a/lib/ansible/modules/cloud/vmware/vca_nat.py b/lib/ansible/modules/cloud/vmware/vca_nat.py index 119d019fa4..3155a0edf9 100644 --- a/lib/ansible/modules/cloud/vmware/vca_nat.py +++ b/lib/ansible/modules/cloud/vmware/vca_nat.py @@ -1,17 +1,15 @@ #!/usr/bin/python -# Copyright (c) 2015 VMware, Inc. All Rights Reserved. +# Copyright: (c) 2015, VMware, Inc. All Rights Reserved. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vca_nat diff --git a/lib/ansible/modules/cloud/vmware/vca_vapp.py b/lib/ansible/modules/cloud/vmware/vca_vapp.py index 5972aeefcf..3793ce721b 100644 --- a/lib/ansible/modules/cloud/vmware/vca_vapp.py +++ b/lib/ansible/modules/cloud/vmware/vca_vapp.py @@ -1,17 +1,15 @@ #!/usr/bin/python -# Copyright (c) 2015 Ansible, Inc. +# Copyright: (c) 2015, Ansible, Inc. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vca_vapp @@ -20,7 +18,8 @@ description: - This module will actively managed vCloud Air vApp instances. Instances can be created and deleted as well as both deployed and undeployed. version_added: "2.0" -author: Peter Sprygada (@privateip) +author: +- Peter Sprygada (@privateip) options: vapp_name: description: diff --git a/lib/ansible/modules/cloud/vmware/vcenter_folder.py b/lib/ansible/modules/cloud/vmware/vcenter_folder.py index f702a16a4c..70db030817 100644 --- a/lib/ansible/modules/cloud/vmware/vcenter_folder.py +++ b/lib/ansible/modules/cloud/vmware/vcenter_folder.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vcenter_license.py b/lib/ansible/modules/cloud/vmware/vcenter_license.py index e324b667d6..b15ba4a933 100644 --- a/lib/ansible/modules/cloud/vmware/vcenter_license.py +++ b/lib/ansible/modules/cloud/vmware/vcenter_license.py @@ -1,21 +1,7 @@ #!/usr/bin/python -# Copyright 2017, Dag Wieers -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . +# Copyright: (c) 2017, Dag Wieers (@dagwieers) +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type @@ -30,7 +16,8 @@ short_description: Manage VMware vCenter license keys description: - Add and delete vCenter license keys. version_added: '2.4' -author: Dag Wieers (@dagwieers) +author: +- Dag Wieers (@dagwieers) requirements: - pyVmomi options: diff --git a/lib/ansible/modules/cloud/vmware/vmware_cfg_backup.py b/lib/ansible/modules/cloud/vmware/vmware_cfg_backup.py index 1e3f30129e..5d1fa5e2b5 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_cfg_backup.py +++ b/lib/ansible/modules/cloud/vmware/vmware_cfg_backup.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright IBM Corp. 2017 +# Copyright: (c) 2017, IBM Corp # Author(s): Andreas Nafpliotis # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/cloud/vmware/vmware_cluster.py b/lib/ansible/modules/cloud/vmware/vmware_cluster.py index b4c903fd63..9360afa309 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_cluster.py +++ b/lib/ansible/modules/cloud/vmware/vmware_cluster.py @@ -1,13 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Joseph Callen +# Copyright: (c) 2015, Joseph Callen # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} @@ -19,7 +18,8 @@ short_description: Manage VMware vSphere clusters description: - Add or remove VMware vSphere clusters. version_added: '2.0' -author: Joseph Callen (@jcpowermac) +author: +- Joseph Callen (@jcpowermac) requirements: - Tested on ESXi 5.5 - PyVmomi installed diff --git a/lib/ansible/modules/cloud/vmware/vmware_datacenter.py b/lib/ansible/modules/cloud/vmware/vmware_datacenter.py index d3cdbf0ec1..3b0c4a1070 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_datacenter.py +++ b/lib/ansible/modules/cloud/vmware/vmware_datacenter.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Joseph Callen +# Copyright: (c) 2015, Joseph Callen # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_datacenter @@ -20,7 +18,9 @@ short_description: Manage VMware vSphere Datacenters description: - Manage VMware vSphere Datacenters version_added: 2.0 -author: "Joseph Callen (@jcpowermac), Kamil Szczygiel (@kamsz)" +author: +- Joseph Callen (@jcpowermac) +- Kamil Szczygiel (@kamsz) notes: - Tested on vSphere 6.0 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_datastore_facts.py b/lib/ansible/modules/cloud/vmware/vmware_datastore_facts.py index 5e129e0f57..79b6a0967a 100755 --- a/lib/ansible/modules/cloud/vmware/vmware_datastore_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_datastore_facts.py @@ -1,20 +1,19 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright (c) 2017, Tim Rightnour -# Copyright (c) 2018, Ansible Project + +# Copyright: (c) 2017, Tim Rightnour +# Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } - DOCUMENTATION = ''' --- module: vmware_datastore_facts diff --git a/lib/ansible/modules/cloud/vmware/vmware_dns_config.py b/lib/ansible/modules/cloud/vmware/vmware_dns_config.py index a60ac4d691..4c415472e3 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_dns_config.py +++ b/lib/ansible/modules/cloud/vmware/vmware_dns_config.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Joseph Callen +# Copyright: (c) 2015, Joseph Callen # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_dns_config @@ -20,7 +18,8 @@ short_description: Manage VMware ESXi DNS Configuration description: - Manage VMware ESXi DNS Configuration version_added: 2.0 -author: "Joseph Callen (@jcpowermac)" +author: +- Joseph Callen (@jcpowermac) notes: - Tested on vSphere 5.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_drs_rule_facts.py b/lib/ansible/modules/cloud/vmware/vmware_drs_rule_facts.py index c12c2d8450..4f236fc5fa 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_drs_rule_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_drs_rule_facts.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/cloud/vmware/vmware_dvs_host.py b/lib/ansible/modules/cloud/vmware/vmware_dvs_host.py index 0a45b3607b..d12986166f 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_dvs_host.py +++ b/lib/ansible/modules/cloud/vmware/vmware_dvs_host.py @@ -9,14 +9,12 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } - DOCUMENTATION = ''' --- module: vmware_dvs_host @@ -25,8 +23,8 @@ description: - Manage a host system from distributed virtual switch. version_added: 2.0 author: -- "Joseph Callen (@jcpowermac)" -- "Abhijeet Kasurde (@akasurde)" +- Joseph Callen (@jcpowermac) +- Abhijeet Kasurde (@akasurde) notes: - Tested on vSphere 5.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_dvs_portgroup.py b/lib/ansible/modules/cloud/vmware/vmware_dvs_portgroup.py index 3231c66037..eb814360a0 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_dvs_portgroup.py +++ b/lib/ansible/modules/cloud/vmware/vmware_dvs_portgroup.py @@ -1,21 +1,19 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2015, Joseph Callen -# Copyright: (c) 2017-18 Ansible Project +# Copyright: (c) 2017-2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } - DOCUMENTATION = ''' --- module: vmware_dvs_portgroup diff --git a/lib/ansible/modules/cloud/vmware/vmware_dvswitch.py b/lib/ansible/modules/cloud/vmware/vmware_dvswitch.py index b4f02f7fdd..c9bbe713e0 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_dvswitch.py +++ b/lib/ansible/modules/cloud/vmware/vmware_dvswitch.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Joseph Callen +# Copyright: (c) 2015, Joseph Callen # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_dvswitch @@ -20,7 +18,8 @@ short_description: Create or remove a distributed vSwitch description: - Create or remove a distributed vSwitch version_added: 2.0 -author: "Joseph Callen (@jcpowermac)" +author: +- Joseph Callen (@jcpowermac) notes: - Tested on vSphere 6.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest.py b/lib/ansible/modules/cloud/vmware/vmware_guest.py index c608449a2a..eb633f2c6b 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest.py @@ -7,12 +7,10 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = r''' --- module: vmware_guest diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_disk_facts.py b/lib/ansible/modules/cloud/vmware/vmware_guest_disk_facts.py index 1781ce29a1..12381b082f 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_disk_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_disk_facts.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Ansible Project # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) @@ -7,14 +8,12 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } - DOCUMENTATION = ''' --- module: vmware_guest_disk_facts diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_file_operation.py b/lib/ansible/modules/cloud/vmware/vmware_guest_file_operation.py index fa66e127c5..535e002839 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_file_operation.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_file_operation.py @@ -1,7 +1,9 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2017, Stéphane Travassac # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + from __future__ import absolute_import, division, print_function __metaclass__ = type diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_find.py b/lib/ansible/modules/cloud/vmware/vmware_guest_find.py index 6dd360daf6..8db1e5a154 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_find.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_find.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # -# Copyright: Ansible Project +# Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_guest_find diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py b/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py index d959491e19..26dfd23e53 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py @@ -7,7 +7,6 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py b/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py index 2be72a0042..fc43800e13 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py @@ -7,12 +7,10 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_guest_snapshot diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot_facts.py b/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot_facts.py index 88b836d094..0ad66286fc 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot_facts.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Ansible Project # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) @@ -7,14 +8,12 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } - DOCUMENTATION = ''' --- module: vmware_guest_snapshot_facts diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_tools_wait.py b/lib/ansible/modules/cloud/vmware/vmware_guest_tools_wait.py index 73cf80a11e..7035c8c4d7 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_tools_wait.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_tools_wait.py @@ -1,6 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright (c) 2017 Philippe Dellaert + +# Copyright: (c) 2017, Philippe Dellaert # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) @@ -12,7 +13,6 @@ ANSIBLE_METADATA = { 'supported_by': 'community' } - DOCUMENTATION = ''' --- module: vmware_guest_tools_wait diff --git a/lib/ansible/modules/cloud/vmware/vmware_host.py b/lib/ansible/modules/cloud/vmware/vmware_host.py index 1b48a15edc..9db0e852c9 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host.py @@ -8,7 +8,6 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_acceptance.py b/lib/ansible/modules/cloud/vmware/vmware_host_acceptance.py index 470aa4397a..5ef40b0851 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_acceptance.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_acceptance.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_capability_facts.py b/lib/ansible/modules/cloud/vmware/vmware_host_capability_facts.py index 92ba6e018e..74d7ca64ff 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_capability_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_capability_facts.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_config_facts.py b/lib/ansible/modules/cloud/vmware/vmware_host_config_facts.py index d9275bfe53..f924f2362d 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_config_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_config_facts.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_config_manager.py b/lib/ansible/modules/cloud/vmware/vmware_host_config_manager.py index 25ce242a14..06eec34b4f 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_config_manager.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_config_manager.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_datastore.py b/lib/ansible/modules/cloud/vmware/vmware_host_datastore.py index 614ea58d68..5bab5fab55 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_datastore.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_datastore.py @@ -1,5 +1,7 @@ #!/usr/bin/python -# Copyright (c) 2018 Ansible Project +# -*- coding: utf-8 -*- + +# Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function @@ -22,7 +24,7 @@ description: - All parameters and VMware object names are case sensitive. version_added: '2.5' author: -- Ludovic Rivallain @lrivallain +- Ludovic Rivallain (@lrivallain) notes: - Tested on vSphere 6.0 and 6.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_dns_facts.py b/lib/ansible/modules/cloud/vmware/vmware_host_dns_facts.py index 33468a7213..4e15f1a7db 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_dns_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_dns_facts.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_facts.py b/lib/ansible/modules/cloud/vmware/vmware_host_facts.py index 0bafbc11c6..9d4dc6db56 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_facts.py @@ -2,7 +2,6 @@ # -*- coding: utf-8 -*- # Copyright: (c) 2017, Wei Gao -# # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function @@ -12,7 +11,6 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_host_facts diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_firewall_facts.py b/lib/ansible/modules/cloud/vmware/vmware_host_firewall_facts.py index 698e83be47..6dd2c4ed86 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_firewall_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_firewall_facts.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_firewall_manager.py b/lib/ansible/modules/cloud/vmware/vmware_host_firewall_manager.py index a1832da2ad..3f50719135 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_firewall_manager.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_firewall_manager.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_lockdown.py b/lib/ansible/modules/cloud/vmware/vmware_host_lockdown.py index ae1a81b147..6c81f44281 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_lockdown.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_lockdown.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_ntp.py b/lib/ansible/modules/cloud/vmware/vmware_host_ntp.py index 5cc8ffbc1b..071fcb93d8 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_ntp.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_ntp.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_package_facts.py b/lib/ansible/modules/cloud/vmware/vmware_host_package_facts.py index d0c821227e..1d562e2999 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_package_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_package_facts.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_service_facts.py b/lib/ansible/modules/cloud/vmware/vmware_host_service_facts.py index d6b125b742..21fd628f5c 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_service_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_service_facts.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_service_manager.py b/lib/ansible/modules/cloud/vmware/vmware_host_service_manager.py index a22339d46e..d6e86a3b3b 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_service_manager.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_service_manager.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_vmnic_facts.py b/lib/ansible/modules/cloud/vmware/vmware_host_vmnic_facts.py index 4a0aea8004..467b26850c 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_vmnic_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_vmnic_facts.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/cloud/vmware/vmware_local_role_manager.py b/lib/ansible/modules/cloud/vmware/vmware_local_role_manager.py index c437fa786d..128cd0b356 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_local_role_manager.py +++ b/lib/ansible/modules/cloud/vmware/vmware_local_role_manager.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Author(s): Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) @@ -21,7 +22,8 @@ short_description: Manage local roles on an ESXi host description: - Manage local roles on an ESXi host version_added: "2.5" -author: Abhijeet Kasurde (@akasurde) +author: +- Abhijeet Kasurde (@akasurde) notes: - Tested on ESXi 6.5 - Be sure that the ESXi user used for login, has the appropriate rights to create / delete / edit roles diff --git a/lib/ansible/modules/cloud/vmware/vmware_local_user_manager.py b/lib/ansible/modules/cloud/vmware/vmware_local_user_manager.py index caafd94e59..7f8ec35ce9 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_local_user_manager.py +++ b/lib/ansible/modules/cloud/vmware/vmware_local_user_manager.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright IBM Corp. 2016 +# Copyright: (c) 2016, IBM Corp # Author(s): Andreas Nafpliotis # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) @@ -24,7 +24,8 @@ short_description: Manage local users on an ESXi host description: - Manage local users on an ESXi host version_added: "2.2" -author: Andreas Nafpliotis +author: +- Andreas Nafpliotis (@nafpliot-ibm) notes: - Tested on ESXi 6.0 - Be sure that the ESXi user used for login, has the appropriate rights to create / delete / edit users diff --git a/lib/ansible/modules/cloud/vmware/vmware_maintenancemode.py b/lib/ansible/modules/cloud/vmware/vmware_maintenancemode.py index e9c2bacfe7..548796b171 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_maintenancemode.py +++ b/lib/ansible/modules/cloud/vmware/vmware_maintenancemode.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2015, VMware, Inc. # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) @@ -7,7 +8,6 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], @@ -23,8 +23,8 @@ description: - This module can be used for placing a ESXi host into maintenance mode. - Support for VSAN compliant maintenance mode when selected. author: -- "Jay Jahns " -- "Abhijeet Kasurde (@akasurde)" +- Jay Jahns (@jjahns) +- Abhijeet Kasurde (@akasurde) version_added: "2.1" notes: - Tested on vSphere 5.5, 6.0 and 6.5 diff --git a/lib/ansible/modules/cloud/vmware/vmware_migrate_vmk.py b/lib/ansible/modules/cloud/vmware/vmware_migrate_vmk.py index ad5263bca5..7002d05792 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_migrate_vmk.py +++ b/lib/ansible/modules/cloud/vmware/vmware_migrate_vmk.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Joseph Callen +# Copyright: (c) 2015, Joseph Callen # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_migrate_vmk @@ -20,7 +18,9 @@ short_description: Migrate a VMK interface from VSS to VDS description: - Migrate a VMK interface from VSS to VDS version_added: 2.0 -author: "Joseph Callen (@jcpowermac), Russell Teague (@mtnbikenc)" +author: +- Joseph Callen (@jcpowermac) +- Russell Teague (@mtnbikenc) notes: - Tested on vSphere 5.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_portgroup.py b/lib/ansible/modules/cloud/vmware/vmware_portgroup.py index 4e3b582e5b..532a007483 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_portgroup.py +++ b/lib/ansible/modules/cloud/vmware/vmware_portgroup.py @@ -9,14 +9,12 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } - DOCUMENTATION = ''' --- module: vmware_portgroup diff --git a/lib/ansible/modules/cloud/vmware/vmware_resource_pool.py b/lib/ansible/modules/cloud/vmware/vmware_resource_pool.py index 1cb2f3a339..aa5971240c 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_resource_pool.py +++ b/lib/ansible/modules/cloud/vmware/vmware_resource_pool.py @@ -1,13 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2017, Davis Phillips davis.phillips@gmail.com +# Copyright: (c) 2017, Davis Phillips davis.phillips@gmail.com # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} @@ -19,7 +18,8 @@ short_description: Add/remove resource pools to/from vCenter description: - This module can be used to add/remove a resource pool to/from vCenter version_added: 2.3 -author: "Davis Phillips (@dav1x)" +author: +- Davis Phillips (@dav1x) notes: - Tested on vSphere 6.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_target_canonical_facts.py b/lib/ansible/modules/cloud/vmware/vmware_target_canonical_facts.py index 6d8a95e090..32fc5d936a 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_target_canonical_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_target_canonical_facts.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Joseph Callen +# Copyright: (c) 2015, Joseph Callen # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_target_canonical_facts @@ -20,7 +18,8 @@ short_description: Return canonical (NAA) from an ESXi host description: - Return canonical (NAA) from an ESXi host based on SCSI target ID version_added: "2.0" -author: Joseph Callen +author: +- Joseph Callen (@jcpowermac) notes: requirements: - Tested on vSphere 5.5 diff --git a/lib/ansible/modules/cloud/vmware/vmware_vm_facts.py b/lib/ansible/modules/cloud/vmware/vmware_vm_facts.py index dc89351579..d0631ef087 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vm_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vm_facts.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2015, Joseph Callen # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) @@ -7,7 +8,6 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_vm_shell.py b/lib/ansible/modules/cloud/vmware/vmware_vm_shell.py index 91d80454ae..f879143acc 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vm_shell.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vm_shell.py @@ -7,12 +7,10 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_vm_shell diff --git a/lib/ansible/modules/cloud/vmware/vmware_vm_vm_drs_rule.py b/lib/ansible/modules/cloud/vmware/vmware_vm_vm_drs_rule.py index a57ea01072..1dae812004 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vm_vm_drs_rule.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vm_vm_drs_rule.py @@ -1,19 +1,18 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } - DOCUMENTATION = ''' --- module: vmware_vm_vm_drs_rule @@ -22,7 +21,7 @@ description: - This module can be used to configure VMware DRS Affinity rule for virtual machine in given cluster. version_added: 2.5 author: -- "Abhijeet Kasurde (@akasurde)" +- Abhijeet Kasurde (@akasurde) notes: - Tested on vSphere 6.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_vm_vss_dvs_migrate.py b/lib/ansible/modules/cloud/vmware/vmware_vm_vss_dvs_migrate.py index e56d49d841..566b16bfcb 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vm_vss_dvs_migrate.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vm_vss_dvs_migrate.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Joseph Callen +# Copyright: (c) 2015, Joseph Callen # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_vm_vss_dvs_migrate @@ -20,7 +18,8 @@ short_description: Migrates a virtual machine from a standard vswitch to distrib description: - Migrates a virtual machine from a standard vswitch to distributed version_added: 2.0 -author: "Joseph Callen (@jcpowermac)" +author: +- Joseph Callen (@jcpowermac) notes: - Tested on vSphere 5.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_vmkernel.py b/lib/ansible/modules/cloud/vmware/vmware_vmkernel.py index 050e4d2cd6..20d7cd697f 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vmkernel.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vmkernel.py @@ -1,5 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2015, Joseph Callen # Copyright: (c) 2017-18, Ansible Project # Copyright: (c) 2017-18, Abhijeet Kasurde @@ -8,14 +9,12 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community' } - DOCUMENTATION = ''' --- module: vmware_vmkernel diff --git a/lib/ansible/modules/cloud/vmware/vmware_vmkernel_facts.py b/lib/ansible/modules/cloud/vmware/vmware_vmkernel_facts.py index b914d34cb5..60a144e310 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vmkernel_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vmkernel_facts.py @@ -1,12 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/vmware/vmware_vmkernel_ip_config.py b/lib/ansible/modules/cloud/vmware/vmware_vmkernel_ip_config.py index 82348fd0fd..b5c3a528c5 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vmkernel_ip_config.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vmkernel_ip_config.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Joseph Callen +# Copyright: (c) 2015, Joseph Callen # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_vmkernel_ip_config @@ -20,7 +18,9 @@ short_description: Configure the VMkernel IP Address description: - Configure the VMkernel IP Address version_added: 2.0 -author: "Joseph Callen (@jcpowermac), Russell Teague (@mtnbikenc)" +author: +- Joseph Callen (@jcpowermac) +- Russell Teague (@mtnbikenc) notes: - Tested on vSphere 5.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_vmotion.py b/lib/ansible/modules/cloud/vmware/vmware_vmotion.py index df8e26ee55..b0193fa8d0 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vmotion.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vmotion.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Bede Carroll +# Copyright: (c) 2015, Bede Carroll # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_vmotion @@ -21,7 +19,8 @@ description: - Using VMware vCenter, move a virtual machine using vMotion to a different host. version_added: 2.2 -author: "Bede Carroll (@bedecarroll)" +author: +- Bede Carroll (@bedecarroll) notes: - Tested on vSphere 6.0 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_vsan_cluster.py b/lib/ansible/modules/cloud/vmware/vmware_vsan_cluster.py index 08650ffe90..0402e9f3d1 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vsan_cluster.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vsan_cluster.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Russell Teague +# Copyright: (c) 2015, Russell Teague # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_vsan_cluster @@ -20,7 +18,8 @@ short_description: Configure VSAN clustering on an ESXi host description: - This module can be used to configure VSAN clustering on an ESXi host version_added: 2.0 -author: "Russell Teague (@mtnbikenc)" +author: +- Russell Teague (@mtnbikenc) notes: - Tested on vSphere 5.5 requirements: diff --git a/lib/ansible/modules/cloud/vmware/vmware_vswitch.py b/lib/ansible/modules/cloud/vmware/vmware_vswitch.py index 2fdf5f8bdf..1c475b13dc 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_vswitch.py +++ b/lib/ansible/modules/cloud/vmware/vmware_vswitch.py @@ -1,18 +1,16 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# (c) 2015, Joseph Callen +# Copyright: (c) 2015, Joseph Callen # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} - DOCUMENTATION = ''' --- module: vmware_vswitch diff --git a/lib/ansible/modules/cloud/vmware/vsphere_copy.py b/lib/ansible/modules/cloud/vmware/vsphere_copy.py index 86e1a0252d..af1509424d 100644 --- a/lib/ansible/modules/cloud/vmware/vsphere_copy.py +++ b/lib/ansible/modules/cloud/vmware/vsphere_copy.py @@ -1,13 +1,12 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright (C): 2015, Dag Wieers +# Copyright: (c) 2015, Dag Wieers (@dagwieers) # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type - ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} @@ -20,7 +19,8 @@ short_description: Copy a file to a vCenter datastore description: - Upload files to a vCenter datastore version_added: 2.0 -author: Dag Wieers (@dagwieers) +author: +- Dag Wieers (@dagwieers) options: host: description: