cloudstack: exoscale: fix boilerplate (#63532)
This commit is contained in:
parent
df0e747899
commit
712abfd1a1
49 changed files with 139 additions and 110 deletions
|
@ -70,7 +70,8 @@ based on the data obtained from CloudStack API:
|
|||
usage: cloudstack.py [--list] [--host HOST] [--project PROJECT] [--domain DOMAIN]
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
import sys
|
||||
import argparse
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
# Copyright (c) 2016, René Moser <mail@renemoser.net>
|
||||
# Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause)
|
||||
|
||||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
import os
|
||||
|
||||
from ansible.module_utils.six.moves import configparser
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# Copyright (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
@ -23,12 +26,12 @@ deprecated:
|
|||
version_added: '2.1'
|
||||
author: René Moser (@resmo)
|
||||
options:
|
||||
name:
|
||||
zone:
|
||||
description:
|
||||
- Name of the zone.
|
||||
type: str
|
||||
required: true
|
||||
aliases: [ zone ]
|
||||
aliases: [ name ]
|
||||
extends_documentation_fragment: cloudstack
|
||||
'''
|
||||
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
@ -27,7 +30,6 @@ options:
|
|||
description:
|
||||
- Type of the affinity group. If not specified, first found affinity type is used.
|
||||
type: str
|
||||
aliases: [ affinty_type ]
|
||||
description:
|
||||
description:
|
||||
- Description of the affinity group.
|
||||
|
@ -143,7 +145,7 @@ class AnsibleCloudStackAffinityGroup(AnsibleCloudStack):
|
|||
return self.affinity_group
|
||||
|
||||
def get_affinity_type(self):
|
||||
affinity_type = self.module.params.get('affinity_type') or self.module.params.get('affinty_type')
|
||||
affinity_type = self.module.params.get('affinity_type')
|
||||
|
||||
affinity_types = self.query_api('listAffinityGroupTypes', )
|
||||
if affinity_types:
|
||||
|
@ -200,7 +202,6 @@ def main():
|
|||
argument_spec = cs_argument_spec()
|
||||
argument_spec.update(dict(
|
||||
name=dict(required=True),
|
||||
affinty_type=dict(removed_in_version='2.9'),
|
||||
affinity_type=dict(),
|
||||
description=dict(),
|
||||
state=dict(choices=['present', 'absent'], default='present'),
|
||||
|
@ -213,9 +214,6 @@ def main():
|
|||
module = AnsibleModule(
|
||||
argument_spec=argument_spec,
|
||||
required_together=cs_required_together(),
|
||||
mutually_exclusive=(
|
||||
['affinity_type', 'affinty_type'],
|
||||
),
|
||||
supports_check_mode=True
|
||||
)
|
||||
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# Copyright: (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
# Copyright: (c) 2019, Patryk Cichy @PatTheSilent
|
||||
# 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'],
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
# (c) 2017, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2017, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
# Copyright (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
# Copyright (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
# Copyright (c) 2017, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
|
@ -78,6 +80,7 @@ options:
|
|||
- The gateway of the IPv6 network.
|
||||
- Required for shared networks.
|
||||
- Only considered on create.
|
||||
type: str
|
||||
vlan:
|
||||
description:
|
||||
- The ID or VID of the network.
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2017, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# Copyright (c) 2017, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
# Copyright (c) 2017, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2017, Netservers Ltd. <support@netservers.co.uk>
|
||||
# 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'}
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
# Copyright (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# Copyright (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
@ -23,12 +26,12 @@ options:
|
|||
- Name of the role.
|
||||
type: str
|
||||
required: true
|
||||
id:
|
||||
uuid:
|
||||
description:
|
||||
- ID of the role.
|
||||
- If provided, I(id) is used as key.
|
||||
- If provided, I(uuid) is used as key.
|
||||
type: str
|
||||
aliases: [ uuid ]
|
||||
aliases: [ id ]
|
||||
role_type:
|
||||
description:
|
||||
- Type of the role.
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# Copyright (c) 2017, David Passante (@dpassante)
|
||||
# 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'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# Copyright (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
# (c) 2017, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# Copyright (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
# (c) 2019, Patryk D. Cichy <patryk.d.cichy@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'],
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
# Copyright (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
# Copyright (c) 2018, David Passante <@dpassante>
|
||||
# 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'],
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
# (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# Copyright (c) 2017, David Passante (@dpassante)
|
||||
# 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'}
|
||||
|
|
|
@ -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'}
|
||||
|
|
|
@ -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'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2017, René Moser <mail@renemoser.net>
|
||||
# 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'}
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
# (c) 2016, René Moser <mail@renemoser.net>
|
||||
# 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': ['stableinterface'],
|
||||
'supported_by': 'community'}
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
# Copyright (c) 2015, René Moser <mail@renemoser.net>
|
||||
# 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
|
||||
|
||||
|
||||
class ModuleDocFragment(object):
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
# Copyright: (c) 2017, René Moser <mail@renemoser.net>
|
||||
# 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
|
||||
|
||||
|
||||
class ModuleDocFragment(object):
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@ contrib/inventory/brook.py future-import-boilerplate
|
|||
contrib/inventory/brook.py metaclass-boilerplate
|
||||
contrib/inventory/cloudforms.py future-import-boilerplate
|
||||
contrib/inventory/cloudforms.py metaclass-boilerplate
|
||||
contrib/inventory/cloudstack.py future-import-boilerplate
|
||||
contrib/inventory/cloudstack.py metaclass-boilerplate
|
||||
contrib/inventory/cobbler.py future-import-boilerplate
|
||||
contrib/inventory/cobbler.py metaclass-boilerplate
|
||||
contrib/inventory/collins.py future-import-boilerplate
|
||||
|
@ -220,8 +218,6 @@ lib/ansible/module_utils/distro/_distro.py no-assert
|
|||
lib/ansible/module_utils/distro/_distro.py pep8!skip # bundled code we don't want to modify
|
||||
lib/ansible/module_utils/ec2.py future-import-boilerplate
|
||||
lib/ansible/module_utils/ec2.py metaclass-boilerplate
|
||||
lib/ansible/module_utils/exoscale.py future-import-boilerplate
|
||||
lib/ansible/module_utils/exoscale.py metaclass-boilerplate
|
||||
lib/ansible/module_utils/f5_utils.py future-import-boilerplate
|
||||
lib/ansible/module_utils/f5_utils.py metaclass-boilerplate
|
||||
lib/ansible/module_utils/facts/__init__.py empty-init # breaks namespacing, deprecate and eventually remove
|
||||
|
@ -1303,92 +1299,6 @@ lib/ansible/modules/cloud/centurylink/clc_server.py validate-modules:doc-missing
|
|||
lib/ansible/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:implied-parameter-type-mismatch
|
||||
lib/ansible/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:parameter-type-not-in-doc
|
||||
lib/ansible/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:doc-missing-type
|
||||
lib/ansible/modules/cloud/cloudstack/cs_account.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_account.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_affinitygroup.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_affinitygroup.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_affinitygroup.py validate-modules:doc-missing-type
|
||||
lib/ansible/modules/cloud/cloudstack/cs_cluster.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_cluster.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_configuration.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_configuration.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_domain.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_domain.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_facts.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_facts.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_firewall.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_firewall.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_host.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_host.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_image_store.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_image_store.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_instance_nic.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_instance_nic.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_instance_nic_secondaryip.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_instance_nic_secondaryip.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_instancegroup.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_instancegroup.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_ip_address.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_ip_address.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_iso.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_iso.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_loadbalancer_rule.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_loadbalancer_rule.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_loadbalancer_rule_member.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_loadbalancer_rule_member.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_network.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_network.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_network.py validate-modules:doc-missing-type
|
||||
lib/ansible/modules/cloud/cloudstack/cs_network_acl.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_network_acl.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_network_acl_rule.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_network_acl_rule.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_network_offering.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_network_offering.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_physical_network.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_physical_network.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_pod.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_pod.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_project.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_project.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_region.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_region.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_resourcelimit.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_resourcelimit.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_role.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_role.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_role.py validate-modules:doc-missing-type
|
||||
lib/ansible/modules/cloud/cloudstack/cs_role_permission.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_role_permission.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_router.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_router.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_sshkeypair.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_sshkeypair.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_staticnat.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_staticnat.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_storage_pool.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_storage_pool.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_template.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_template.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_traffic_type.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_traffic_type.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_user.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_user.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vlan_ip_range.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vlan_ip_range.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vmsnapshot.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vmsnapshot.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_volume.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_volume.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vpc_offering.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vpc_offering.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vpn_gateway.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vpn_gateway.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_zone.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/cs_zone.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/_cs_zone_facts.py future-import-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/_cs_zone_facts.py metaclass-boilerplate
|
||||
lib/ansible/modules/cloud/cloudstack/_cs_zone_facts.py validate-modules:doc-missing-type
|
||||
lib/ansible/modules/cloud/digital_ocean/_digital_ocean.py validate-modules:undocumented-parameter
|
||||
lib/ansible/modules/cloud/digital_ocean/_digital_ocean.py validate-modules:parameter-type-not-in-doc
|
||||
lib/ansible/modules/cloud/digital_ocean/_digital_ocean.py validate-modules:doc-missing-type
|
||||
|
@ -5798,8 +5708,6 @@ lib/ansible/plugins/doc_fragments/checkpoint_commands.py future-import-boilerpla
|
|||
lib/ansible/plugins/doc_fragments/checkpoint_commands.py metaclass-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/checkpoint_objects.py future-import-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/checkpoint_objects.py metaclass-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/cloudstack.py future-import-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/cloudstack.py metaclass-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/cnos.py future-import-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/cnos.py metaclass-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/constructed.py future-import-boilerplate
|
||||
|
@ -5828,8 +5736,6 @@ lib/ansible/plugins/doc_fragments/enos.py future-import-boilerplate
|
|||
lib/ansible/plugins/doc_fragments/enos.py metaclass-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/eos.py future-import-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/eos.py metaclass-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/exoscale.py future-import-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/exoscale.py metaclass-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/f5.py future-import-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/f5.py metaclass-boilerplate
|
||||
lib/ansible/plugins/doc_fragments/files.py future-import-boilerplate
|
||||
|
@ -6280,8 +6186,6 @@ test/units/modules/cloud/amazon/test_route53_zone.py future-import-boilerplate
|
|||
test/units/modules/cloud/amazon/test_route53_zone.py metaclass-boilerplate
|
||||
test/units/modules/cloud/amazon/test_s3_bucket_notification.py future-import-boilerplate
|
||||
test/units/modules/cloud/amazon/test_s3_bucket_notification.py metaclass-boilerplate
|
||||
test/units/modules/cloud/cloudstack/test_cs_traffic_type.py future-import-boilerplate
|
||||
test/units/modules/cloud/cloudstack/test_cs_traffic_type.py metaclass-boilerplate
|
||||
test/units/modules/cloud/google/test_gce_tag.py future-import-boilerplate
|
||||
test/units/modules/cloud/google/test_gce_tag.py metaclass-boilerplate
|
||||
test/units/modules/cloud/google/test_gcp_forwarding_rule.py future-import-boilerplate
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
|
Loading…
Reference in a new issue