From 3d1f9ed657e5b872f9f6080776498f54e416b02a Mon Sep 17 00:00:00 2001 From: Alexei Znamensky <103110+russoz@users.noreply.github.com> Date: Mon, 23 Nov 2020 21:22:30 +1300 Subject: [PATCH] Tidy up validate-modules ignores for some cloud/ modules (#1354) * fixed validation-modules for plugins/modules/cloud/atomic/atomic_container.py * fixed validation-modules for plugins/modules/cloud/oracle/oci_vcn.py * fixed validation-modules for plugins/modules/cloud/heroku/heroku_collaborator.py * fixed validation-modules for plugins/modules/cloud/docker/docker_stack.py * fixed validation-modules for plugins/modules/cloud/pubnub/pubnub_blocks.py * fixed validation-modules for plugins/modules/cloud/huawei/hwc_ecs_instance.py * fixed validation-modules for plugins/modules/cloud/huawei/hwc_vpc_port.py * fixed validation-modules for plugins/modules/cloud/huawei/hwc_vpc_subnet.py * fixed validation-modules for plugins/modules/cloud/ovh/ovh_ip_failover.py * fixed validation-modules for plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py * fixed validation-modules for plugins/modules/cloud/softlayer/sl_vm.py * fixed validation-modules for plugins/modules/cloud/misc/proxmox_kvm.py * fixed validation-modules for plugins/modules/cloud/misc/proxmox_template.py * fixed validation-modules for plugins/modules/cloud/misc/terraform.py * fixed validation-modules for plugins/modules/cloud/memset/memset_dns_reload.py * fixed validation-modules for plugins/modules/cloud/memset/memset_memstore_info.py * fixed validation-modules for plugins/modules/cloud/memset/memset_server_info.py * fixed validation-modules for plugins/modules/cloud/memset/memset_zone_domain.py * fixed validation-modules for plugins/modules/cloud/memset/memset_zone.py * fixed validation-modules for plugins/modules/cloud/memset/memset_zone_record.py * fixed validation-modules for plugins/modules/cloud/linode/linode.py * fixed validation-modules for plugins/modules/cloud/linode/linode_v4.py * fixed validation-modules for plugins/doc_fragments/dimensiondata.py * fixed validation-modules for plugins/modules/cloud/dimensiondata/dimensiondata_network.py * fixed validation-modules for plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py * fixed validation-modules for plugins/modules/cloud/xenserver/xenserver_guest_info.py * fixed validation-modules for plugins/modules/cloud/xenserver/xenserver_guest_powerstate.py * Tidy up validate-modules ignores for varied cloud modules - loking at the count of ignore lines, worked from the lower numbers up * rolled back line for docker_container, removed two extraneous for xenserver * rolled back lins for linode in 2.9 --- plugins/doc_fragments/dimensiondata.py | 1 - .../modules/cloud/atomic/atomic_container.py | 2 - .../dimensiondata/dimensiondata_network.py | 4 ++ .../cloud/dimensiondata/dimensiondata_vlan.py | 8 ++- plugins/modules/cloud/docker/docker_stack.py | 2 +- .../cloud/heroku/heroku_collaborator.py | 4 ++ .../modules/cloud/huawei/hwc_ecs_instance.py | 3 + plugins/modules/cloud/huawei/hwc_vpc_port.py | 3 + .../modules/cloud/huawei/hwc_vpc_subnet.py | 1 + plugins/modules/cloud/linode/linode.py | 25 ++++++- plugins/modules/cloud/linode/linode_v4.py | 1 + .../modules/cloud/memset/memset_dns_reload.py | 1 + .../cloud/memset/memset_memstore_info.py | 2 + .../cloud/memset/memset_server_info.py | 2 + plugins/modules/cloud/memset/memset_zone.py | 4 ++ .../cloud/memset/memset_zone_domain.py | 4 ++ .../cloud/memset/memset_zone_record.py | 8 +++ plugins/modules/cloud/misc/proxmox_kvm.py | 4 ++ .../modules/cloud/misc/proxmox_template.py | 1 - plugins/modules/cloud/misc/terraform.py | 2 +- plugins/modules/cloud/oracle/oci_vcn.py | 1 + plugins/modules/cloud/ovh/ovh_ip_failover.py | 8 +++ .../cloud/ovh/ovh_ip_loadbalancing_backend.py | 10 +++ plugins/modules/cloud/pubnub/pubnub_blocks.py | 14 +++- plugins/modules/cloud/softlayer/sl_vm.py | 65 +++++++++++++++++-- .../cloud/xenserver/xenserver_guest_info.py | 1 - .../xenserver/xenserver_guest_powerstate.py | 1 - tests/sanity/ignore-2.10.txt | 38 ----------- tests/sanity/ignore-2.11.txt | 38 ----------- tests/sanity/ignore-2.9.txt | 27 -------- 30 files changed, 165 insertions(+), 120 deletions(-) diff --git a/plugins/doc_fragments/dimensiondata.py b/plugins/doc_fragments/dimensiondata.py index 2b159a115f..02435e25cc 100644 --- a/plugins/doc_fragments/dimensiondata.py +++ b/plugins/doc_fragments/dimensiondata.py @@ -19,7 +19,6 @@ options: region: description: - The target region. - choices: - Regions are defined in Apache libcloud project [libcloud/common/dimensiondata.py] - They are also listed in U(https://libcloud.readthedocs.io/en/latest/compute/drivers/dimensiondata.html) - Note that the default value "na" stands for "North America". diff --git a/plugins/modules/cloud/atomic/atomic_container.py b/plugins/modules/cloud/atomic/atomic_container.py index f5a950bb2d..1364a42c89 100644 --- a/plugins/modules/cloud/atomic/atomic_container.py +++ b/plugins/modules/cloud/atomic/atomic_container.py @@ -45,14 +45,12 @@ options: state: description: - State of the container. - required: True choices: ["absent", "latest", "present", "rollback"] default: "latest" type: str mode: description: - Define if it is an user or a system container. - required: True choices: ["user", "system"] type: str values: diff --git a/plugins/modules/cloud/dimensiondata/dimensiondata_network.py b/plugins/modules/cloud/dimensiondata/dimensiondata_network.py index 0604f80795..2187ceaa45 100644 --- a/plugins/modules/cloud/dimensiondata/dimensiondata_network.py +++ b/plugins/modules/cloud/dimensiondata/dimensiondata_network.py @@ -29,21 +29,25 @@ options: description: - The name of the network domain to create. required: true + type: str description: description: - Additional description of the network domain. required: false + type: str service_plan: description: - The service plan, either "ESSENTIALS" or "ADVANCED". - MCP 2.0 Only. choices: [ESSENTIALS, ADVANCED] default: ESSENTIALS + type: str state: description: - Should the resource be present or absent. choices: [present, absent] default: present + type: str ''' EXAMPLES = ''' diff --git a/plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py b/plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py index 33155c3898..26c621f44b 100644 --- a/plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py +++ b/plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py @@ -38,27 +38,33 @@ options: name: description: - The name of the target VLAN. - - Required if C(state) is C(present). + type: str + required: true description: description: - A description of the VLAN. + type: str network_domain: description: - The Id or name of the target network domain. required: true + type: str private_ipv4_base_address: description: - The base address for the VLAN's IPv4 network (e.g. 192.168.1.0). + type: str private_ipv4_prefix_size: description: - The size of the IPv4 address space, e.g 24. - Required, if C(private_ipv4_base_address) is specified. + type: int state: description: - The desired state for the target VLAN. - C(readonly) ensures that the state is only ever read, not modified (the module will fail if the resource does not exist). choices: [present, absent, readonly] default: present + type: str allow_expand: description: - Permit expansion of the target VLAN's network if the module parameters specify a larger network than the VLAN currently possesses. diff --git a/plugins/modules/cloud/docker/docker_stack.py b/plugins/modules/cloud/docker/docker_stack.py index 04d587f0a5..d3089e203a 100644 --- a/plugins/modules/cloud/docker/docker_stack.py +++ b/plugins/modules/cloud/docker/docker_stack.py @@ -36,7 +36,7 @@ options: referring to the path of the compose file on the target host or the YAML contents of a compose file nested as dictionary. type: list - # elements: raw + elements: raw default: [] prune: description: diff --git a/plugins/modules/cloud/heroku/heroku_collaborator.py b/plugins/modules/cloud/heroku/heroku_collaborator.py index b2f4e007e9..276b5b12be 100644 --- a/plugins/modules/cloud/heroku/heroku_collaborator.py +++ b/plugins/modules/cloud/heroku/heroku_collaborator.py @@ -21,9 +21,11 @@ requirements: - heroku3 options: api_key: + type: str description: - Heroku API key apps: + type: list description: - List of Heroku App names required: true @@ -33,10 +35,12 @@ options: type: bool default: "no" user: + type: str description: - User ID or e-mail required: true state: + type: str description: - Create or remove the heroku collaborator choices: ["present", "absent"] diff --git a/plugins/modules/cloud/huawei/hwc_ecs_instance.py b/plugins/modules/cloud/huawei/hwc_ecs_instance.py index 7c41489f10..cbd5f79454 100644 --- a/plugins/modules/cloud/huawei/hwc_ecs_instance.py +++ b/plugins/modules/cloud/huawei/hwc_ecs_instance.py @@ -77,6 +77,7 @@ options: network of the NIC must belong to the VPC specified by vpc_id. A maximum of 12 NICs can be attached to an ECS. type: list + elements: dict required: true suboptions: ip_address: @@ -150,6 +151,7 @@ options: description: - Specifies the data disks of ECS instance. type: list + elements: dict required: false suboptions: volume_id: @@ -193,6 +195,7 @@ options: parameter is left blank, the default security group is bound to the ECS by default. type: list + elements: str required: false server_metadata: description: diff --git a/plugins/modules/cloud/huawei/hwc_vpc_port.py b/plugins/modules/cloud/huawei/hwc_vpc_port.py index 6704958dcf..cf0718f59b 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_port.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_port.py @@ -54,6 +54,7 @@ options: - Specifies a set of zero or more allowed address pairs. required: false type: list + elements: dict suboptions: ip_address: description: @@ -72,6 +73,7 @@ options: description: - Specifies the extended option of DHCP. type: list + elements: dict required: false suboptions: name: @@ -99,6 +101,7 @@ options: description: - Specifies the ID of the security group. type: list + elements: str required: false extends_documentation_fragment: - community.general.hwc diff --git a/plugins/modules/cloud/huawei/hwc_vpc_subnet.py b/plugins/modules/cloud/huawei/hwc_vpc_subnet.py index c7a05f5b77..ccf180502c 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_subnet.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_subnet.py @@ -90,6 +90,7 @@ options: - Specifies the DNS server addresses for subnet. The address in the head will be used first. type: list + elements: str required: false extends_documentation_fragment: - community.general.hwc diff --git a/plugins/modules/cloud/linode/linode.py b/plugins/modules/cloud/linode/linode.py index fd40bb297e..9c389d9d94 100644 --- a/plugins/modules/cloud/linode/linode.py +++ b/plugins/modules/cloud/linode/linode.py @@ -18,17 +18,21 @@ options: - Indicate desired state of the resource choices: [ absent, active, deleted, present, restarted, started, stopped ] default: present + type: str api_key: description: - Linode API key + type: str name: description: - Name to give the instance (alphanumeric, dashes, underscore). - To keep sanity on the Linode Web Console, name is prepended with C(LinodeID-). required: true + type: str displaygroup: description: - Add the instance to a Display Group in Linode Manager. + type: str linode_id: description: - Unique ID of a linode server. This value is read-only in the sense that @@ -36,10 +40,12 @@ options: Linode API generates these IDs and we can those generated value here to reference a Linode more specifically. This is useful for idempotence. aliases: [ lid ] + type: int additional_disks: description: - List of dictionaries for creating additional disks that are added to the Linode configuration settings. - Dictionary takes Size, Label, Type. Size is in MB. + type: list alert_bwin_enabled: description: - Set status of bandwidth in alerts. @@ -47,6 +53,7 @@ options: alert_bwin_threshold: description: - Set threshold in MB of bandwidth in alerts. + type: int alert_bwout_enabled: description: - Set status of bandwidth out alerts. @@ -54,6 +61,7 @@ options: alert_bwout_threshold: description: - Set threshold in MB of bandwidth out alerts. + type: int alert_bwquota_enabled: description: - Set status of bandwidth quota alerts as percentage of network transfer quota. @@ -61,6 +69,7 @@ options: alert_bwquota_threshold: description: - Set threshold in MB of bandwidth quota alerts. + type: int alert_cpu_enabled: description: - Set status of receiving CPU usage alerts. @@ -68,6 +77,7 @@ options: alert_cpu_threshold: description: - Set percentage threshold for receiving CPU usage alerts. Each CPU core adds 100% to total. + type: int alert_diskio_enabled: description: - Set status of receiving disk IO alerts. @@ -75,20 +85,25 @@ options: alert_diskio_threshold: description: - Set threshold for average IO ops/sec over 2 hour period. + type: int backupweeklyday: description: - Integer value for what day of the week to store weekly backups. + type: int plan: description: - plan to use for the instance (Linode plan) + type: int payment_term: description: - payment term to use for the instance (payment term in months) default: 1 choices: [ 1, 12, 24 ] + type: int password: description: - root password to apply to a new server (auto generated if missing) + type: str private_ip: description: - Add private IPv4 address when Linode is created. @@ -97,28 +112,34 @@ options: ssh_pub_key: description: - SSH public key applied to root user + type: str swap: description: - swap size in MB default: 512 + type: int distribution: description: - distribution to use for the instance (Linode Distribution) + type: int datacenter: description: - datacenter to create an instance in (Linode Datacenter) + type: int kernel_id: description: - kernel to use for the instance (Linode Kernel) + type: int wait: description: - wait for the instance to be in state C(running) before returning type: bool - default: "no" + default: true wait_timeout: description: - how long before wait gives up, in seconds default: 300 + type: int watchdog: description: - Set status of Lassie watchdog. @@ -337,7 +358,7 @@ def linodeServers(module, api, state, name, if not servers: for arg in (name, plan, distribution, datacenter): if not arg: - module.fail_json(msg='%s is required for %s state' % (arg, state)) + module.fail_json(msg='%s is required for %s state' % (arg, state)) # @TODO use required_if instead # Create linode entity new_server = True diff --git a/plugins/modules/cloud/linode/linode_v4.py b/plugins/modules/cloud/linode/linode_v4.py index c70ebda5b6..17a697b320 100644 --- a/plugins/modules/cloud/linode/linode_v4.py +++ b/plugins/modules/cloud/linode/linode_v4.py @@ -89,6 +89,7 @@ options: the C(LINODE_ACCESS_TOKEN) environment variable. See U(https://www.linode.com/docs/api#access-and-authentication). required: true + type: str stackscript_id: description: - The numeric ID of the StackScript to use when creating the instance. diff --git a/plugins/modules/cloud/memset/memset_dns_reload.py b/plugins/modules/cloud/memset/memset_dns_reload.py index 90fb912bdb..6eefe133fd 100644 --- a/plugins/modules/cloud/memset/memset_dns_reload.py +++ b/plugins/modules/cloud/memset/memset_dns_reload.py @@ -24,6 +24,7 @@ description: options: api_key: required: true + type: str description: - The API key obtained from the Memset control panel. poll: diff --git a/plugins/modules/cloud/memset/memset_memstore_info.py b/plugins/modules/cloud/memset/memset_memstore_info.py index 90cd8cb1fa..5eea6ab191 100644 --- a/plugins/modules/cloud/memset/memset_memstore_info.py +++ b/plugins/modules/cloud/memset/memset_memstore_info.py @@ -21,10 +21,12 @@ description: options: api_key: required: true + type: str description: - The API key obtained from the Memset control panel. name: required: true + type: str description: - The Memstore product name (i.e. C(mstestyaa1)). ''' diff --git a/plugins/modules/cloud/memset/memset_server_info.py b/plugins/modules/cloud/memset/memset_server_info.py index cf01401fba..d8943c1454 100644 --- a/plugins/modules/cloud/memset/memset_server_info.py +++ b/plugins/modules/cloud/memset/memset_server_info.py @@ -21,10 +21,12 @@ description: options: api_key: required: true + type: str description: - The API key obtained from the Memset control panel. name: required: true + type: str description: - The server product name (i.e. C(testyaa1)). ''' diff --git a/plugins/modules/cloud/memset/memset_zone.py b/plugins/modules/cloud/memset/memset_zone.py index 1fb19684fe..9ef798bd74 100644 --- a/plugins/modules/cloud/memset/memset_zone.py +++ b/plugins/modules/cloud/memset/memset_zone.py @@ -24,21 +24,25 @@ options: required: true description: - Indicates desired state of resource. + type: str choices: [ absent, present ] api_key: required: true description: - The API key obtained from the Memset control panel. + type: str name: required: true description: - The zone nickname; usually the same as the main domain. Ensure this value has at most 250 characters. + type: str aliases: [ nickname ] ttl: description: - The default TTL for all records created in the zone. This must be a valid int from U(https://www.memset.com/apidocs/methods_dns.html#dns.zone_create). + type: int choices: [ 0, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400 ] force: required: false diff --git a/plugins/modules/cloud/memset/memset_zone_domain.py b/plugins/modules/cloud/memset/memset_zone_domain.py index 0047648bb1..4aa0eada92 100644 --- a/plugins/modules/cloud/memset/memset_zone_domain.py +++ b/plugins/modules/cloud/memset/memset_zone_domain.py @@ -26,20 +26,24 @@ options: default: present description: - Indicates desired state of resource. + type: str choices: [ absent, present ] api_key: required: true description: - The API key obtained from the Memset control panel. + type: str domain: required: true description: - The zone domain name. Ensure this value has at most 250 characters. + type: str aliases: ['name'] zone: required: true description: - The zone to add the domain to (this must already exist). + type: str ''' EXAMPLES = ''' diff --git a/plugins/modules/cloud/memset/memset_zone_record.py b/plugins/modules/cloud/memset/memset_zone_record.py index 2dafc83557..f7800f0634 100644 --- a/plugins/modules/cloud/memset/memset_zone_record.py +++ b/plugins/modules/cloud/memset/memset_zone_record.py @@ -26,28 +26,34 @@ options: default: present description: - Indicates desired state of resource. + type: str choices: [ absent, present ] api_key: required: true description: - The API key obtained from the Memset control panel. + type: str address: required: true description: - The address for this record (can be IP or text string depending on record type). + type: str aliases: [ ip, data ] priority: description: - C(SRV) and C(TXT) record priority, in the range 0 > 999 (inclusive). + type: int record: required: false description: - The subdomain to create. + type: str type: required: true description: - The type of DNS record to create. choices: [ A, AAAA, CNAME, MX, NS, SRV, TXT ] + type: str relative: type: bool description: @@ -58,10 +64,12 @@ options: - The record's TTL in seconds (will inherit zone's TTL if not explicitly set). This must be a valid int from U(https://www.memset.com/apidocs/methods_dns.html#dns.zone_record_create). choices: [ 0, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400 ] + type: int zone: required: true description: - The name of the zone to which to add the record to. + type: str ''' EXAMPLES = ''' diff --git a/plugins/modules/cloud/misc/proxmox_kvm.py b/plugins/modules/cloud/misc/proxmox_kvm.py index 75212c9c84..3c29fab442 100644 --- a/plugins/modules/cloud/misc/proxmox_kvm.py +++ b/plugins/modules/cloud/misc/proxmox_kvm.py @@ -274,6 +274,10 @@ options: - C(memory) Amount of memory this NUMA node provides. - C(policy) NUMA allocation policy. type: dict + numa_enabled: + description: + - Enables NUMA. + type: bool onboot: description: - Specifies whether a VM will be started during system bootup. diff --git a/plugins/modules/cloud/misc/proxmox_template.py b/plugins/modules/cloud/misc/proxmox_template.py index c93c549025..541dc28efa 100644 --- a/plugins/modules/cloud/misc/proxmox_template.py +++ b/plugins/modules/cloud/misc/proxmox_template.py @@ -49,7 +49,6 @@ options: description: - Proxmox VE node, when you will operate with template type: str - required: true src: description: - path to uploaded file diff --git a/plugins/modules/cloud/misc/terraform.py b/plugins/modules/cloud/misc/terraform.py index 79f6ceb198..e7e3ae898f 100644 --- a/plugins/modules/cloud/misc/terraform.py +++ b/plugins/modules/cloud/misc/terraform.py @@ -159,6 +159,7 @@ outputs: returned: always description: The type of the value (string, int, etc) value: + type: str returned: always description: The value of the output as interpolated by Terraform stdout: @@ -176,7 +177,6 @@ command: import os import json import tempfile -import traceback from ansible.module_utils.six.moves import shlex_quote from ansible.module_utils.basic import AnsibleModule diff --git a/plugins/modules/cloud/oracle/oci_vcn.py b/plugins/modules/cloud/oracle/oci_vcn.py index 223c9bd72e..06dc4af04e 100644 --- a/plugins/modules/cloud/oracle/oci_vcn.py +++ b/plugins/modules/cloud/oracle/oci_vcn.py @@ -17,6 +17,7 @@ description: options: cidr_block: description: The CIDR IP address block of the VCN. Required when creating a VCN with I(state=present). + type: str required: false compartment_id: description: The OCID of the compartment to contain the VCN. Required when creating a VCN with I(state=present). diff --git a/plugins/modules/cloud/ovh/ovh_ip_failover.py b/plugins/modules/cloud/ovh/ovh_ip_failover.py index 3eb4911e2e..7ed3a5ee16 100644 --- a/plugins/modules/cloud/ovh/ovh_ip_failover.py +++ b/plugins/modules/cloud/ovh/ovh_ip_failover.py @@ -27,14 +27,17 @@ options: description: - The IP address to manage (can be a single IP like 1.1.1.1 or a block like 1.1.1.1/28 ) + type: str service: required: true description: - The name of the OVH service this IP address should be routed + type: str endpoint: required: true description: - The endpoint to use ( for instance ovh-eu) + type: str wait_completion: required: false default: true @@ -52,24 +55,29 @@ options: completion of a previously executed task with wait_completion=false. You can execute this module repeatedly on a list of failover IPs using wait_completion=false (see examples) + type: int application_key: required: true description: - The applicationKey to use + type: str application_secret: required: true description: - The application secret to use + type: str consumer_key: required: true description: - The consumer key to use + type: str timeout: required: false default: 120 description: - The timeout in seconds used to wait for a task to be completed. Default is 120 seconds. + type: int ''' diff --git a/plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py b/plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py index 271f15fcf9..965a499c6e 100644 --- a/plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py +++ b/plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py @@ -25,46 +25,56 @@ options: required: true description: - Name of the LoadBalancing internal name (ip-X.X.X.X) + type: str backend: required: true description: - The IP address of the backend to update / modify / delete + type: str state: default: present choices: ['present', 'absent'] description: - Determines whether the backend is to be created/modified or deleted + type: str probe: default: 'none' choices: ['none', 'http', 'icmp' , 'oco'] description: - Determines the type of probe to use for this backend + type: str weight: default: 8 description: - Determines the weight for this backend + type: int endpoint: required: true description: - The endpoint to use ( for instance ovh-eu) + type: str application_key: required: true description: - The applicationKey to use + type: str application_secret: required: true description: - The application secret to use + type: str consumer_key: required: true description: - The consumer key to use + type: str timeout: default: 120 description: - The timeout in seconds used to wait for a task to be completed. + type: int ''' diff --git a/plugins/modules/cloud/pubnub/pubnub_blocks.py b/plugins/modules/cloud/pubnub/pubnub_blocks.py index 5f1872262c..8d9374a862 100644 --- a/plugins/modules/cloud/pubnub/pubnub_blocks.py +++ b/plugins/modules/cloud/pubnub/pubnub_blocks.py @@ -34,52 +34,60 @@ options: - "Not required if C(cache) contains result of previous module call (in same play)." required: false + type: str password: description: - Password which match to account to which specified C(email) belong. - "Not required if C(cache) contains result of previous module call (in same play)." required: false + type: str cache: description: > In case if single play use blocks management module few times it is preferred to enabled 'caching' by making previous module to share gathered artifacts and pass them to this parameter. required: false + type: dict default: {} account: description: - "Name of PubNub account for from which C(application) will be used to manage blocks." - "User's account will be used if value not set or empty." + type: str required: false application: description: - "Name of target PubNub application for which blocks configuration on specific C(keyset) will be done." + type: str required: true keyset: description: - Name of application's keys set which is bound to managed blocks. + type: str required: true state: description: - "Intended block state after event handlers creation / update process will be completed." required: false - default: 'started' + default: 'present' choices: ['started', 'stopped', 'present', 'absent'] + type: str name: description: - Name of managed block which will be later visible on admin.pubnub.com. required: true + type: str description: description: - Short block description which will be later visible on admin.pubnub.com. Used only if block doesn't exists and won't change description for existing block. required: false - default: 'New block' + type: str event_handlers: description: - "List of event handlers which should be updated for specified block @@ -102,6 +110,7 @@ options: it to C(absent) and it will be removed." required: false default: [] + type: list changes: description: - "List of fields which should be changed by block itself (doesn't @@ -109,6 +118,7 @@ options: - "Possible options for change is: C(name)." required: false default: {} + type: dict validate_certs: description: - "This key allow to try skip certificates check when performing REST API diff --git a/plugins/modules/cloud/softlayer/sl_vm.py b/plugins/modules/cloud/softlayer/sl_vm.py index d41a21fd25..22556d9156 100644 --- a/plugins/modules/cloud/softlayer/sl_vm.py +++ b/plugins/modules/cloud/softlayer/sl_vm.py @@ -18,18 +18,63 @@ options: instance_id: description: - Instance Id of the virtual instance to perform action option. + type: str hostname: description: - Hostname to be provided to a virtual instance. + type: str domain: description: - Domain name to be provided to a virtual instance. + type: str datacenter: description: - Datacenter for the virtual instance to be deployed. + type: str + choices: + - ams01 + - ams03 + - che01 + - dal01 + - dal05 + - dal06 + - dal09 + - dal10 + - dal12 + - dal13 + - fra02 + - fra04 + - fra05 + - hkg02 + - hou02 + - lon02 + - lon04 + - lon06 + - mel01 + - mex01 + - mil01 + - mon01 + - osl01 + - par01 + - sao01 + - sea01 + - seo01 + - sjc01 + - sjc03 + - sjc04 + - sng01 + - syd01 + - syd04 + - tok02 + - tor01 + - wdc01 + - wdc04 + - wdc06 + - wdc07 tags: description: - Tag or list of tags to be provided to a virtual instance. + type: str hourly: description: - Flag to determine if the instance should be hourly billed. @@ -53,48 +98,59 @@ options: cpus: description: - Count of cpus to be assigned to new virtual instance. - required: true + type: int + choices: [1, 2, 4, 8, 16, 32, 56] memory: description: - Amount of memory to be assigned to new virtual instance. - required: true + type: int + choices: [1024, 2048, 4096, 6144, 8192, 12288, 16384, 32768, 49152, 65536, 131072, 247808] flavor: description: - Specify which SoftLayer flavor template to use instead of cpus and memory. version_added: '0.2.0' + type: str disks: description: - List of disk sizes to be assigned to new virtual instance. - required: true default: [ 25 ] + type: list os_code: description: - OS Code to be used for new virtual instance. + type: str image_id: description: - Image Template to be used for new virtual instance. + type: str nic_speed: description: - NIC Speed to be assigned to new virtual instance. - default: 10 + choices: [10, 100, 1000] + type: int public_vlan: description: - VLAN by its Id to be assigned to the public NIC. + type: str private_vlan: description: - VLAN by its Id to be assigned to the private NIC. + type: str ssh_keys: description: - List of ssh keys by their Id to be assigned to a virtual instance. + type: list post_uri: description: - URL of a post provisioning script to be loaded and executed on virtual instance. + type: str state: description: - Create, or cancel a virtual instance. - Specify C(present) for create, C(absent) to cancel. choices: [ absent, present ] default: present + type: str wait: description: - Flag used to wait for active status before returning. @@ -104,6 +160,7 @@ options: description: - Time in seconds before wait returns. default: 600 + type: int requirements: - python >= 2.6 - softlayer >= 4.1.1 diff --git a/plugins/modules/cloud/xenserver/xenserver_guest_info.py b/plugins/modules/cloud/xenserver/xenserver_guest_info.py index 65c6363b75..d3260b6e73 100644 --- a/plugins/modules/cloud/xenserver/xenserver_guest_info.py +++ b/plugins/modules/cloud/xenserver/xenserver_guest_info.py @@ -38,7 +38,6 @@ options: - In case of multiple VMs with same name, use C(uuid) to uniquely specify VM to manage. - This parameter is case sensitive. type: str - required: yes aliases: [ name_label ] uuid: description: diff --git a/plugins/modules/cloud/xenserver/xenserver_guest_powerstate.py b/plugins/modules/cloud/xenserver/xenserver_guest_powerstate.py index 677b423170..4a195ff50a 100644 --- a/plugins/modules/cloud/xenserver/xenserver_guest_powerstate.py +++ b/plugins/modules/cloud/xenserver/xenserver_guest_powerstate.py @@ -45,7 +45,6 @@ options: - In case of multiple VMs with same name, use C(uuid) to uniquely specify VM to manage. - This parameter is case sensitive. type: str - required: yes aliases: [ name_label ] uuid: description: diff --git a/tests/sanity/ignore-2.10.txt b/tests/sanity/ignore-2.10.txt index cc0c0f8a15..1dafd4b4b7 100644 --- a/tests/sanity/ignore-2.10.txt +++ b/tests/sanity/ignore-2.10.txt @@ -4,7 +4,6 @@ plugins/module_utils/compat/ipaddress.py no-assert plugins/module_utils/compat/ipaddress.py no-unicode-literals plugins/module_utils/_mount.py future-import-boilerplate plugins/module_utils/_mount.py metaclass-boilerplate -plugins/modules/cloud/atomic/atomic_container.py validate-modules:doc-required-mismatch plugins/modules/cloud/centurylink/clc_aa_policy.py validate-modules:doc-missing-type plugins/modules/cloud/centurylink/clc_aa_policy.py yamllint:unparsable-with-libyaml plugins/modules/cloud/centurylink/clc_alert_policy.py validate-modules:doc-missing-type @@ -42,15 +41,7 @@ plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:doc-mi plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:implied-parameter-type-mismatch plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:parameter-list-no-elements plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/dimensiondata/dimensiondata_network.py validate-modules:doc-choices-do-not-match-spec -plugins/modules/cloud/dimensiondata/dimensiondata_network.py validate-modules:doc-missing-type -plugins/modules/cloud/dimensiondata/dimensiondata_network.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-choices-do-not-match-spec -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-missing-type -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-required-mismatch -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/docker/docker_container.py use-argspec-type-path # uses colon-separated paths, can't use type=path -plugins/modules/cloud/docker/docker_stack.py validate-modules:doc-elements-mismatch plugins/modules/cloud/google/gcdns_record.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce.py pylint:blacklisted-name plugins/modules/cloud/google/gce.py validate-modules:parameter-list-no-elements @@ -84,10 +75,6 @@ plugins/modules/cloud/google/gcp_url_map.py validate-modules:parameter-list-no-e plugins/modules/cloud/google/gcpubsub.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcpubsub_info.py validate-modules:parameter-state-invalid-choice plugins/modules/cloud/heroku/heroku_collaborator.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/heroku/heroku_collaborator.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/huawei/hwc_ecs_instance.py validate-modules:doc-elements-mismatch -plugins/modules/cloud/huawei/hwc_vpc_port.py validate-modules:doc-elements-mismatch -plugins/modules/cloud/huawei/hwc_vpc_subnet.py validate-modules:doc-elements-mismatch plugins/modules/cloud/kubevirt/kubevirt_cdi_upload.py validate-modules:doc-missing-type plugins/modules/cloud/kubevirt/kubevirt_cdi_upload.py validate-modules:doc-required-mismatch plugins/modules/cloud/kubevirt/kubevirt_cdi_upload.py validate-modules:mutually_exclusive-unknown @@ -108,12 +95,10 @@ plugins/modules/cloud/kubevirt/kubevirt_template.py validate-modules:parameter-l plugins/modules/cloud/kubevirt/kubevirt_vm.py validate-modules:mutually_exclusive-unknown plugins/modules/cloud/kubevirt/kubevirt_vm.py validate-modules:parameter-list-no-elements plugins/modules/cloud/kubevirt/kubevirt_vm.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/linode/linode.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/linode/linode.py validate-modules:parameter-list-no-elements plugins/modules/cloud/linode/linode.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/linode/linode.py validate-modules:undocumented-parameter plugins/modules/cloud/linode/linode_v4.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/linode/linode_v4.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/lxc/lxc_container.py pylint:blacklisted-name plugins/modules/cloud/lxc/lxc_container.py use-argspec-type-path plugins/modules/cloud/lxc/lxc_container.py validate-modules:doc-choices-do-not-match-spec @@ -131,17 +116,7 @@ plugins/modules/cloud/lxd/lxd_container.py validate-modules:undocumented-paramet plugins/modules/cloud/lxd/lxd_profile.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/lxd/lxd_profile.py validate-modules:doc-missing-type plugins/modules/cloud/lxd/lxd_profile.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_dns_reload.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_memstore_info.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_server_info.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_zone.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_zone_domain.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_zone_record.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/misc/proxmox_kvm.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/misc/proxmox_kvm.py validate-modules:undocumented-parameter -plugins/modules/cloud/misc/proxmox_template.py validate-modules:doc-required-mismatch plugins/modules/cloud/misc/rhevm.py validate-modules:parameter-state-invalid-choice -plugins/modules/cloud/misc/terraform.py validate-modules:return-syntax-error plugins/modules/cloud/oneandone/oneandone_firewall_policy.py validate-modules:doc-required-mismatch plugins/modules/cloud/oneandone/oneandone_firewall_policy.py validate-modules:parameter-list-no-elements plugins/modules/cloud/oneandone/oneandone_firewall_policy.py validate-modules:parameter-type-not-in-doc @@ -186,11 +161,6 @@ plugins/modules/cloud/opennebula/one_service.py validate-modules:parameter-type- plugins/modules/cloud/opennebula/one_vm.py validate-modules:parameter-list-no-elements plugins/modules/cloud/opennebula/one_vm.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/oracle/oci_vcn.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/oracle/oci_vcn.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/ovh/ovh_ip_failover.py validate-modules:doc-missing-type -plugins/modules/cloud/ovh/ovh_ip_failover.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py validate-modules:doc-missing-type -plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/ovirt/ovirt_affinity_label_facts.py validate-modules:doc-missing-type plugins/modules/cloud/ovirt/ovirt_affinity_label_facts.py validate-modules:parameter-list-no-elements plugins/modules/cloud/ovirt/ovirt_api_facts.py validate-modules:parameter-list-no-elements @@ -279,9 +249,7 @@ plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-m plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-modules:doc-missing-type plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-modules:doc-required-mismatch plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/pubnub/pubnub_blocks.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/pubnub/pubnub_blocks.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/pubnub/pubnub_blocks.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/rackspace/rax.py use-argspec-type-path # fix needed plugins/modules/cloud/rackspace/rax.py validate-modules:doc-missing-type plugins/modules/cloud/rackspace/rax.py validate-modules:parameter-list-no-elements @@ -317,11 +285,7 @@ plugins/modules/cloud/smartos/vmadm.py validate-modules:doc-required-mismatch plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-list-no-elements plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:doc-choices-do-not-match-spec -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:doc-default-does-not-match-spec -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:doc-required-mismatch plugins/modules/cloud/softlayer/sl_vm.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-choices-do-not-match-spec plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-missing-type @@ -363,8 +327,6 @@ plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-required plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:missing-suboption-docs plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:undocumented-parameter -plugins/modules/cloud/xenserver/xenserver_guest_info.py validate-modules:doc-required-mismatch -plugins/modules/cloud/xenserver/xenserver_guest_powerstate.py validate-modules:doc-required-mismatch plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type plugins/modules/clustering/consul/consul.py validate-modules:parameter-list-no-elements plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter diff --git a/tests/sanity/ignore-2.11.txt b/tests/sanity/ignore-2.11.txt index cc0c0f8a15..1dafd4b4b7 100644 --- a/tests/sanity/ignore-2.11.txt +++ b/tests/sanity/ignore-2.11.txt @@ -4,7 +4,6 @@ plugins/module_utils/compat/ipaddress.py no-assert plugins/module_utils/compat/ipaddress.py no-unicode-literals plugins/module_utils/_mount.py future-import-boilerplate plugins/module_utils/_mount.py metaclass-boilerplate -plugins/modules/cloud/atomic/atomic_container.py validate-modules:doc-required-mismatch plugins/modules/cloud/centurylink/clc_aa_policy.py validate-modules:doc-missing-type plugins/modules/cloud/centurylink/clc_aa_policy.py yamllint:unparsable-with-libyaml plugins/modules/cloud/centurylink/clc_alert_policy.py validate-modules:doc-missing-type @@ -42,15 +41,7 @@ plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:doc-mi plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:implied-parameter-type-mismatch plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:parameter-list-no-elements plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/dimensiondata/dimensiondata_network.py validate-modules:doc-choices-do-not-match-spec -plugins/modules/cloud/dimensiondata/dimensiondata_network.py validate-modules:doc-missing-type -plugins/modules/cloud/dimensiondata/dimensiondata_network.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-choices-do-not-match-spec -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-missing-type -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-required-mismatch -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/docker/docker_container.py use-argspec-type-path # uses colon-separated paths, can't use type=path -plugins/modules/cloud/docker/docker_stack.py validate-modules:doc-elements-mismatch plugins/modules/cloud/google/gcdns_record.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce.py pylint:blacklisted-name plugins/modules/cloud/google/gce.py validate-modules:parameter-list-no-elements @@ -84,10 +75,6 @@ plugins/modules/cloud/google/gcp_url_map.py validate-modules:parameter-list-no-e plugins/modules/cloud/google/gcpubsub.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcpubsub_info.py validate-modules:parameter-state-invalid-choice plugins/modules/cloud/heroku/heroku_collaborator.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/heroku/heroku_collaborator.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/huawei/hwc_ecs_instance.py validate-modules:doc-elements-mismatch -plugins/modules/cloud/huawei/hwc_vpc_port.py validate-modules:doc-elements-mismatch -plugins/modules/cloud/huawei/hwc_vpc_subnet.py validate-modules:doc-elements-mismatch plugins/modules/cloud/kubevirt/kubevirt_cdi_upload.py validate-modules:doc-missing-type plugins/modules/cloud/kubevirt/kubevirt_cdi_upload.py validate-modules:doc-required-mismatch plugins/modules/cloud/kubevirt/kubevirt_cdi_upload.py validate-modules:mutually_exclusive-unknown @@ -108,12 +95,10 @@ plugins/modules/cloud/kubevirt/kubevirt_template.py validate-modules:parameter-l plugins/modules/cloud/kubevirt/kubevirt_vm.py validate-modules:mutually_exclusive-unknown plugins/modules/cloud/kubevirt/kubevirt_vm.py validate-modules:parameter-list-no-elements plugins/modules/cloud/kubevirt/kubevirt_vm.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/linode/linode.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/linode/linode.py validate-modules:parameter-list-no-elements plugins/modules/cloud/linode/linode.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/linode/linode.py validate-modules:undocumented-parameter plugins/modules/cloud/linode/linode_v4.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/linode/linode_v4.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/lxc/lxc_container.py pylint:blacklisted-name plugins/modules/cloud/lxc/lxc_container.py use-argspec-type-path plugins/modules/cloud/lxc/lxc_container.py validate-modules:doc-choices-do-not-match-spec @@ -131,17 +116,7 @@ plugins/modules/cloud/lxd/lxd_container.py validate-modules:undocumented-paramet plugins/modules/cloud/lxd/lxd_profile.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/lxd/lxd_profile.py validate-modules:doc-missing-type plugins/modules/cloud/lxd/lxd_profile.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_dns_reload.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_memstore_info.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_server_info.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_zone.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_zone_domain.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_zone_record.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/misc/proxmox_kvm.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/misc/proxmox_kvm.py validate-modules:undocumented-parameter -plugins/modules/cloud/misc/proxmox_template.py validate-modules:doc-required-mismatch plugins/modules/cloud/misc/rhevm.py validate-modules:parameter-state-invalid-choice -plugins/modules/cloud/misc/terraform.py validate-modules:return-syntax-error plugins/modules/cloud/oneandone/oneandone_firewall_policy.py validate-modules:doc-required-mismatch plugins/modules/cloud/oneandone/oneandone_firewall_policy.py validate-modules:parameter-list-no-elements plugins/modules/cloud/oneandone/oneandone_firewall_policy.py validate-modules:parameter-type-not-in-doc @@ -186,11 +161,6 @@ plugins/modules/cloud/opennebula/one_service.py validate-modules:parameter-type- plugins/modules/cloud/opennebula/one_vm.py validate-modules:parameter-list-no-elements plugins/modules/cloud/opennebula/one_vm.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/oracle/oci_vcn.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/oracle/oci_vcn.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/ovh/ovh_ip_failover.py validate-modules:doc-missing-type -plugins/modules/cloud/ovh/ovh_ip_failover.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py validate-modules:doc-missing-type -plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/ovirt/ovirt_affinity_label_facts.py validate-modules:doc-missing-type plugins/modules/cloud/ovirt/ovirt_affinity_label_facts.py validate-modules:parameter-list-no-elements plugins/modules/cloud/ovirt/ovirt_api_facts.py validate-modules:parameter-list-no-elements @@ -279,9 +249,7 @@ plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-m plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-modules:doc-missing-type plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-modules:doc-required-mismatch plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/pubnub/pubnub_blocks.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/pubnub/pubnub_blocks.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/pubnub/pubnub_blocks.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/rackspace/rax.py use-argspec-type-path # fix needed plugins/modules/cloud/rackspace/rax.py validate-modules:doc-missing-type plugins/modules/cloud/rackspace/rax.py validate-modules:parameter-list-no-elements @@ -317,11 +285,7 @@ plugins/modules/cloud/smartos/vmadm.py validate-modules:doc-required-mismatch plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-list-no-elements plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:doc-choices-do-not-match-spec -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:doc-default-does-not-match-spec -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:doc-required-mismatch plugins/modules/cloud/softlayer/sl_vm.py validate-modules:parameter-list-no-elements -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-choices-do-not-match-spec plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-missing-type @@ -363,8 +327,6 @@ plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-required plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:missing-suboption-docs plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:undocumented-parameter -plugins/modules/cloud/xenserver/xenserver_guest_info.py validate-modules:doc-required-mismatch -plugins/modules/cloud/xenserver/xenserver_guest_powerstate.py validate-modules:doc-required-mismatch plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type plugins/modules/clustering/consul/consul.py validate-modules:parameter-list-no-elements plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter diff --git a/tests/sanity/ignore-2.9.txt b/tests/sanity/ignore-2.9.txt index 4380482892..7970b99ece 100644 --- a/tests/sanity/ignore-2.9.txt +++ b/tests/sanity/ignore-2.9.txt @@ -29,12 +29,6 @@ plugins/modules/cloud/centurylink/clc_server.py validate-modules:parameter-type- plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:doc-missing-type plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:implied-parameter-type-mismatch plugins/modules/cloud/centurylink/clc_server_snapshot.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/dimensiondata/dimensiondata_network.py validate-modules:doc-choices-do-not-match-spec -plugins/modules/cloud/dimensiondata/dimensiondata_network.py validate-modules:doc-missing-type -plugins/modules/cloud/dimensiondata/dimensiondata_network.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-choices-do-not-match-spec -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-missing-type -plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/docker/docker_container.py use-argspec-type-path # uses colon-separated paths, can't use type=path plugins/modules/cloud/google/gcdns_record.py validate-modules:deprecation-mismatch plugins/modules/cloud/google/gcdns_record.py validate-modules:invalid-documentation @@ -76,16 +70,13 @@ plugins/modules/cloud/google/gcp_url_map.py validate-modules:missing-main-call plugins/modules/cloud/google/gcspanner.py validate-modules:deprecation-mismatch plugins/modules/cloud/google/gcspanner.py validate-modules:invalid-documentation plugins/modules/cloud/google/gcspanner.py validate-modules:missing-main-call -plugins/modules/cloud/heroku/heroku_collaborator.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/kubevirt/kubevirt_cdi_upload.py validate-modules:doc-missing-type plugins/modules/cloud/kubevirt/kubevirt_preset.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/kubevirt/kubevirt_pvc.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/kubevirt/kubevirt_rs.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/kubevirt/kubevirt_vm.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/linode/linode.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/linode/linode.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/linode/linode.py validate-modules:undocumented-parameter -plugins/modules/cloud/linode/linode_v4.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/lxc/lxc_container.py pylint:blacklisted-name plugins/modules/cloud/lxc/lxc_container.py use-argspec-type-path plugins/modules/cloud/lxc/lxc_container.py validate-modules:doc-choices-do-not-match-spec @@ -100,18 +91,10 @@ plugins/modules/cloud/lxd/lxd_container.py validate-modules:undocumented-paramet plugins/modules/cloud/lxd/lxd_profile.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/lxd/lxd_profile.py validate-modules:doc-missing-type plugins/modules/cloud/lxd/lxd_profile.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_dns_reload.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_memstore_info.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_server_info.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_zone.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_zone_domain.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/memset/memset_zone_record.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/misc/helm.py validate-modules:deprecation-mismatch plugins/modules/cloud/misc/helm.py validate-modules:invalid-documentation plugins/modules/cloud/misc/ovirt.py validate-modules:deprecation-mismatch plugins/modules/cloud/misc/ovirt.py validate-modules:invalid-documentation -plugins/modules/cloud/misc/proxmox_kvm.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/misc/proxmox_kvm.py validate-modules:undocumented-parameter plugins/modules/cloud/oneandone/oneandone_firewall_policy.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/oneandone/oneandone_load_balancer.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/oneandone/oneandone_load_balancer.py validate-modules:doc-missing-type @@ -141,11 +124,6 @@ plugins/modules/cloud/opennebula/one_image.py validate-modules:parameter-type-no plugins/modules/cloud/opennebula/one_image_info.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/opennebula/one_service.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/opennebula/one_vm.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/oracle/oci_vcn.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/ovh/ovh_ip_failover.py validate-modules:doc-missing-type -plugins/modules/cloud/ovh/ovh_ip_failover.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py validate-modules:doc-missing-type -plugins/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/ovirt/ovirt_affinity_label_facts.py validate-modules:deprecation-mismatch plugins/modules/cloud/ovirt/ovirt_affinity_label_facts.py validate-modules:doc-missing-type plugins/modules/cloud/ovirt/ovirt_affinity_label_facts.py validate-modules:invalid-documentation @@ -246,8 +224,6 @@ plugins/modules/cloud/profitbricks/profitbricks_volume.py validate-modules:undoc plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-modules:doc-choices-do-not-match-spec plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-modules:doc-missing-type plugins/modules/cloud/profitbricks/profitbricks_volume_attachments.py validate-modules:parameter-type-not-in-doc -plugins/modules/cloud/pubnub/pubnub_blocks.py validate-modules:doc-default-does-not-match-spec -plugins/modules/cloud/pubnub/pubnub_blocks.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/rackspace/rax.py use-argspec-type-path plugins/modules/cloud/rackspace/rax.py validate-modules:doc-missing-type plugins/modules/cloud/rackspace/rax.py validate-modules:undocumented-parameter @@ -288,9 +264,6 @@ plugins/modules/cloud/smartos/vmadm.py validate-modules:doc-choices-do-not-match plugins/modules/cloud/smartos/vmadm.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/smartos/vmadm.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/smartos/vmadm.py validate-modules:undocumented-parameter -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:doc-choices-do-not-match-spec -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:doc-default-does-not-match-spec -plugins/modules/cloud/softlayer/sl_vm.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-choices-do-not-match-spec plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-default-does-not-match-spec plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:doc-missing-type