1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Tidy up validate-modules ignores for cloud/google modules (#1265) (#1273)

* fixed validation-modules for plugins/modules/cloud/google/gcdns_record.py

* fixed validation-modules for plugins/modules/cloud/google/gcdns_zone.py

* fixed validation-modules for plugins/modules/cloud/google/gce_eip.py

* fixed validation-modules for plugins/modules/cloud/google/gce_img.py

* fixed validation-modules for plugins/modules/cloud/google/gce_instance_template.py

* fixed validation-modules for plugins/modules/cloud/google/gce_labels.py

* fixed validation-modules for plugins/modules/cloud/google/gce_lb.py

* fixed validation-modules for plugins/modules/cloud/google/gce_mig.py

* fixed validation-modules for plugins/modules/cloud/google/gce_net.py

* fixed validation-modules for plugins/modules/cloud/google/gce_pd.py

* fixed validation-modules for plugins/modules/cloud/google/gce_snapshot.py

* fixed validation-modules for plugins/modules/cloud/google/gce_tag.py

* fixed validation-modules for plugins/modules/cloud/google/gcp_backend_service.py

* fixed validation-modules for plugins/modules/cloud/google/gcp_forwarding_rule.py

* fixed validation-modules for plugins/modules/cloud/google/gcp_healthcheck.py

* fixed validation-modules for plugins/modules/cloud/google/gcp_target_proxy.py

* fixed validation-modules for plugins/modules/cloud/google/gcpubsub_info.py

* fixed validation-modules for plugins/modules/cloud/google/gcpubsub.py

* fixed validation-modules for plugins/modules/cloud/google/gcp_url_map.py

* fixed validation-modules for plugins/modules/cloud/google/gcspanner.py

* fixed validation-modules for plugins/modules/cloud/google/gc_storage.py

* adjust parameter description in gce_eip.py

* fixed validation-modules for plugins/modules/cloud/google/gce.py

* removed extra type definition

* reformatted long lines

* Tidy up validate-modules ignores for cloud/google modules

* gc_storage.py: fixed parameter to be overwrite and alias force, instead of the other way around

* rolled back a number of ignore lines that ansible 2.9 believes to defy sanity

* gce_instance_template.py: the metadata parameter brings no definition whatsoever in argument_spec, causing a number of problems. Rolling back for now.

* Fixes on docs from the PR

(cherry picked from commit 4b26990d8b)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2020-11-12 08:48:20 +01:00 committed by GitHub
parent ee04231964
commit f6fe843a57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 477 additions and 264 deletions

View file

@ -19,52 +19,66 @@ description:
options: options:
bucket: bucket:
type: str
description: description:
- Bucket name. - Bucket name.
required: true required: true
object: object:
type: path
description: description:
- Keyname of the object inside the bucket. Can be also be used to create "virtual directories" (see examples). - Keyname of the object inside the bucket. Can be also be used to create "virtual directories" (see examples).
src: src:
type: str
description: description:
- The source file path when performing a PUT operation. - The source file path when performing a PUT operation.
dest: dest:
type: path
description: description:
- The destination file path when downloading an object/key with a GET operation. - The destination file path when downloading an object/key with a GET operation.
force: overwrite:
description: description:
- Forces an overwrite either locally on the filesystem or remotely with the object/key. Used with PUT and GET operations. - Forces an overwrite either locally on the filesystem or remotely with the object/key. Used with PUT and GET operations.
type: bool type: bool
default: 'yes' default: 'yes'
aliases: [ 'overwrite' ] aliases: [ 'force' ]
permission: permission:
type: str
description: description:
- This option let's the user set the canned permissions on the object/bucket that are created. The permissions that can be set are 'private', - This option let's the user set the canned permissions on the object/bucket that are created. The permissions that can be set are 'private',
'public-read', 'authenticated-read'. 'public-read', 'authenticated-read'.
default: private default: private
choices: ['private', 'public-read', 'authenticated-read']
headers: headers:
type: dict
description: description:
- Headers to attach to object. - Headers to attach to object.
default: {} default: {}
expiration: expiration:
type: int
default: 600
description: description:
- Time limit (in seconds) for the URL generated and returned by GCA when performing a mode=put or mode=get_url operation. This url is only - Time limit (in seconds) for the URL generated and returned by GCA when performing a mode=put or mode=get_url operation. This url is only
available when public-read is the acl for the object. available when public-read is the acl for the object.
aliases: [expiry]
mode: mode:
type: str
description: description:
- Switches the module behaviour between upload, download, get_url (return download url) , get_str (download object as string), create (bucket) and - Switches the module behaviour between upload, download, get_url (return download url) , get_str (download object as string), create (bucket) and
delete (bucket). delete (bucket).
required: true required: true
choices: [ 'get', 'put', 'get_url', 'get_str', 'delete', 'create' ] choices: [ 'get', 'put', 'get_url', 'get_str', 'delete', 'create' ]
gs_secret_key: gs_secret_key:
type: str
description: description:
- GS secret key. If not set then the value of the GS_SECRET_ACCESS_KEY environment variable is used. - GS secret key. If not set then the value of the GS_SECRET_ACCESS_KEY environment variable is used.
required: true required: true
gs_access_key: gs_access_key:
type: str
description: description:
- GS access key. If not set then the value of the GS_ACCESS_KEY_ID environment variable is used. - GS access key. If not set then the value of the GS_ACCESS_KEY_ID environment variable is used.
required: true required: true
region: region:
type: str
description: description:
- The gs region to use. If not defined then the value 'US' will be used. See U(https://cloud.google.com/storage/docs/bucket-locations) - The gs region to use. If not defined then the value 'US' will be used. See U(https://cloud.google.com/storage/docs/bucket-locations)
default: 'US' default: 'US'

View file

@ -28,16 +28,19 @@ deprecated:
alternative: Use M(google.cloud.gcp_dns_resource_record_set) instead. alternative: Use M(google.cloud.gcp_dns_resource_record_set) instead.
options: options:
state: state:
type: str
description: description:
- Whether the given resource record should or should not be present. - Whether the given resource record should or should not be present.
choices: ["present", "absent"] choices: ["present", "absent"]
default: "present" default: "present"
record: record:
type: str
description: description:
- The fully-qualified domain name of the resource record. - The fully-qualified domain name of the resource record.
required: true required: true
aliases: ['name'] aliases: ['name']
zone: zone:
type: str
description: description:
- The DNS domain name of the zone (e.g., example.com). - The DNS domain name of the zone (e.g., example.com).
- One of either I(zone) or I(zone_id) must be specified as an - One of either I(zone) or I(zone_id) must be specified as an
@ -45,6 +48,7 @@ options:
- If both I(zone) and I(zone_id) are specified, I(zone_id) will be - If both I(zone) and I(zone_id) are specified, I(zone_id) will be
used. used.
zone_id: zone_id:
type: str
description: description:
- The Google Cloud ID of the zone (e.g., example-com). - The Google Cloud ID of the zone (e.g., example-com).
- One of either I(zone) or I(zone_id) must be specified as an - One of either I(zone) or I(zone_id) must be specified as an
@ -56,11 +60,13 @@ options:
- If both I(zone) and I(zone_id) are specified, I(zone_id) will be - If both I(zone) and I(zone_id) are specified, I(zone_id) will be
used. used.
type: type:
type: str
description: description:
- The type of resource record to add. - The type of resource record to add.
required: true required: true
choices: [ 'A', 'AAAA', 'CNAME', 'SRV', 'TXT', 'SOA', 'NS', 'MX', 'SPF', 'PTR' ] choices: [ 'A', 'AAAA', 'CNAME', 'SRV', 'TXT', 'SOA', 'NS', 'MX', 'SPF', 'PTR' ]
record_data: record_data:
type: list
description: description:
- The record_data to use for the resource record. - The record_data to use for the resource record.
- I(record_data) must be specified if I(state) is C(present) or - I(record_data) must be specified if I(state) is C(present) or
@ -77,6 +83,7 @@ options:
required: false required: false
aliases: ['value'] aliases: ['value']
ttl: ttl:
type: int
description: description:
- The amount of time in seconds that a resource record will remain - The amount of time in seconds that a resource record will remain
cached by a caching resolver. cached by a caching resolver.
@ -99,20 +106,24 @@ options:
type: bool type: bool
default: 'no' default: 'no'
service_account_email: service_account_email:
type: str
description: description:
- The e-mail address for a service account with access to Google - The e-mail address for a service account with access to Google
Cloud DNS. Cloud DNS.
pem_file: pem_file:
type: path
description: description:
- The path to the PEM file associated with the service account - The path to the PEM file associated with the service account
email. email.
- This option is deprecated and may be removed in a future release. - This option is deprecated and may be removed in a future release.
Use I(credentials_file) instead. Use I(credentials_file) instead.
credentials_file: credentials_file:
type: path
description: description:
- The path to the JSON file associated with the service account - The path to the JSON file associated with the service account
email. email.
project_id: project_id:
type: str
description: description:
- The Google Cloud Platform project ID to use. - The Google Cloud Platform project ID to use.
notes: notes:

View file

@ -27,11 +27,13 @@ deprecated:
alternative: Use M(google.cloud.gcp_dns_managed_zone) instead. alternative: Use M(google.cloud.gcp_dns_managed_zone) instead.
options: options:
state: state:
type: str
description: description:
- Whether the given zone should or should not be present. - Whether the given zone should or should not be present.
choices: ["present", "absent"] choices: ["present", "absent"]
default: "present" default: "present"
zone: zone:
type: str
description: description:
- The DNS domain name of the zone. - The DNS domain name of the zone.
- This is NOT the Google Cloud DNS zone ID (e.g., example-com). If - This is NOT the Google Cloud DNS zone ID (e.g., example-com). If
@ -40,24 +42,29 @@ options:
required: true required: true
aliases: ['name'] aliases: ['name']
description: description:
type: str
description: description:
- An arbitrary text string to use for the zone description. - An arbitrary text string to use for the zone description.
default: "" default: ""
service_account_email: service_account_email:
type: str
description: description:
- The e-mail address for a service account with access to Google - The e-mail address for a service account with access to Google
Cloud DNS. Cloud DNS.
pem_file: pem_file:
type: path
description: description:
- The path to the PEM file associated with the service account - The path to the PEM file associated with the service account
email. email.
- This option is deprecated and may be removed in a future release. - This option is deprecated and may be removed in a future release.
Use I(credentials_file) instead. Use I(credentials_file) instead.
credentials_file: credentials_file:
type: path
description: description:
- The path to the JSON file associated with the service account - The path to the JSON file associated with the service account
email. email.
project_id: project_id:
type: str
description: description:
- The Google Cloud Platform project ID to use. - The Google Cloud Platform project ID to use.
notes: notes:

View file

@ -21,68 +21,83 @@ deprecated:
alternative: Use M(google.cloud.gcp_compute_instance) instead. alternative: Use M(google.cloud.gcp_compute_instance) instead.
options: options:
image: image:
type: str
description: description:
- image string to use for the instance (default will follow latest - image string to use for the instance (default will follow latest
stable debian image) stable debian image)
default: "debian-8" default: "debian-8"
image_family: image_family:
type: str
description: description:
- image family from which to select the image. The most recent - image family from which to select the image. The most recent
non-deprecated image in the family will be used. non-deprecated image in the family will be used.
external_projects: external_projects:
type: list
description: description:
- A list of other projects (accessible with the provisioning credentials) - A list of other projects (accessible with the provisioning credentials)
to be searched for the image. to be searched for the image.
instance_names: instance_names:
type: str
description: description:
- a comma-separated list of instance names to create or destroy - a comma-separated list of instance names to create or destroy
machine_type: machine_type:
type: str
description: description:
- machine type to use for the instance, use 'n1-standard-1' by default - machine type to use for the instance, use 'n1-standard-1' by default
default: "n1-standard-1" default: "n1-standard-1"
metadata: metadata:
type: str
description: description:
- a hash/dictionary of custom data for the instance; - a hash/dictionary of custom data for the instance;
'{"key":"value", ...}' '{"key":"value", ...}'
service_account_email: service_account_email:
type: str
description: description:
- service account email - service account email
service_account_permissions: service_account_permissions:
type: list
description: description:
- service account permissions (see - service account permissions (see
U(https://cloud.google.com/sdk/gcloud/reference/compute/instances/create), U(https://cloud.google.com/sdk/gcloud/reference/compute/instances/create),
--scopes section for detailed information) --scopes section for detailed information)
choices: [ - >
"bigquery", "cloud-platform", "compute-ro", "compute-rw", Available choices are:
"useraccounts-ro", "useraccounts-rw", "datastore", "logging-write", C(bigquery), C(cloud-platform), C(compute-ro), C(compute-rw),
"monitoring", "sql-admin", "storage-full", "storage-ro", C(useraccounts-ro), C(useraccounts-rw), C(datastore), C(logging-write),
"storage-rw", "taskqueue", "userinfo-email" C(monitoring), C(sql-admin), C(storage-full), C(storage-ro),
] C(storage-rw), C(taskqueue), C(userinfo-email).
pem_file: pem_file:
type: path
description: description:
- path to the pem file associated with the service account email - path to the pem file associated with the service account email
This option is deprecated. Use 'credentials_file'. This option is deprecated. Use 'credentials_file'.
credentials_file: credentials_file:
type: path
description: description:
- path to the JSON file associated with the service account email - path to the JSON file associated with the service account email
project_id: project_id:
type: str
description: description:
- your GCE project ID - your GCE project ID
name: name:
type: str
description: description:
- either a name of a single instance or when used with 'num_instances', - either a name of a single instance or when used with 'num_instances',
the base name of a cluster of nodes the base name of a cluster of nodes
aliases: ['base_name'] aliases: ['base_name']
num_instances: num_instances:
type: int
description: description:
- can be used with 'name', specifies - can be used with 'name', specifies
the number of nodes to provision using 'name' the number of nodes to provision using 'name'
as a base name as a base name
network: network:
type: str
description: description:
- name of the network, 'default' will be used if not specified - name of the network, 'default' will be used if not specified
default: "default" default: "default"
subnetwork: subnetwork:
type: str
description: description:
- name of the subnetwork in which the instance should be created - name of the subnetwork in which the instance should be created
persistent_boot_disk: persistent_boot_disk:
@ -91,23 +106,26 @@ options:
type: bool type: bool
default: 'no' default: 'no'
disks: disks:
type: list
description: description:
- a list of persistent disks to attach to the instance; a string value - a list of persistent disks to attach to the instance; a string value
gives the name of the disk; alternatively, a dictionary value can gives the name of the disk; alternatively, a dictionary value can
define 'name' and 'mode' ('READ_ONLY' or 'READ_WRITE'). The first entry define 'name' and 'mode' ('READ_ONLY' or 'READ_WRITE'). The first entry
will be the boot disk (which must be READ_WRITE). will be the boot disk (which must be READ_WRITE).
state: state:
type: str
description: description:
- desired state of the resource - desired state of the resource
default: "present" default: "present"
choices: ["active", "present", "absent", "deleted", "started", "stopped", "terminated"] choices: ["active", "present", "absent", "deleted", "started", "stopped", "terminated"]
tags: tags:
type: list
description: description:
- a comma-separated list of tags to associate with the instance - a comma-separated list of tags to associate with the instance
zone: zone:
type: str
description: description:
- the GCE zone to use. The list of available zones is at U(https://cloud.google.com/compute/docs/regions-zones/regions-zones#available). - the GCE zone to use. The list of available zones is at U(https://cloud.google.com/compute/docs/regions-zones/regions-zones#available).
required: true
default: "us-central1-a" default: "us-central1-a"
ip_forward: ip_forward:
description: description:
@ -116,6 +134,7 @@ options:
type: bool type: bool
default: 'no' default: 'no'
external_ip: external_ip:
type: str
description: description:
- type of external ip, ephemeral by default; alternatively, a fixed gce ip or ip name can be given. Specify 'none' if no external ip is desired. - type of external ip, ephemeral by default; alternatively, a fixed gce ip or ip name can be given. Specify 'none' if no external ip is desired.
default: "ephemeral" default: "ephemeral"
@ -131,6 +150,7 @@ options:
type: bool type: bool
default: 'no' default: 'no'
disk_size: disk_size:
type: int
description: description:
- The size of the boot disk created for this instance (in GB) - The size of the boot disk created for this instance (in GB)
default: 10 default: 10

View file

@ -21,18 +21,42 @@ author:
- "Tom Melendez (@supertom) <tom@supertom.com>" - "Tom Melendez (@supertom) <tom@supertom.com>"
options: options:
name: name:
type: str
description: description:
- Name of Address. - Name of Address.
required: true required: true
region: region:
type: str
description: description:
- Region to create the address in. Set to 'global' to create a global address. - Region to create the address in. Set to 'global' to create a global address.
required: true required: true
state: state:
type: str
description: The state the address should be in. C(present) or C(absent) are the only valid options. description: The state the address should be in. C(present) or C(absent) are the only valid options.
default: present default: present
required: false required: false
choices: [present, absent] choices: [present, absent]
project_id:
type: str
description:
- The Google Cloud Platform project ID to use.
pem_file:
type: path
description:
- The path to the PEM file associated with the service account email.
- This option is deprecated and may be removed in a future release. Use I(credentials_file) instead.
credentials_file:
type: path
description:
- The path to the JSON file associated with the service account email.
service_account_email:
type: str
description:
- service account email
service_account_permissions:
type: list
description:
- service account permissions
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -18,38 +18,48 @@ description:
disks in any zone. U(https://cloud.google.com/compute/docs/images) disks in any zone. U(https://cloud.google.com/compute/docs/images)
options: options:
name: name:
type: str
description: description:
- the name of the image to create or delete - the name of the image to create or delete
required: true required: true
description: description:
type: str
description: description:
- an optional description - an optional description
family: family:
type: str
description: description:
- an optional family name - an optional family name
source: source:
type: str
description: description:
- the source disk or the Google Cloud Storage URI to create the image from - the source disk or the Google Cloud Storage URI to create the image from
state: state:
type: str
description: description:
- desired state of the image - desired state of the image
default: "present" default: "present"
choices: ["present", "absent"] choices: ["present", "absent"]
zone: zone:
type: str
description: description:
- the zone of the disk specified by source - the zone of the disk specified by source
default: "us-central1-a" default: "us-central1-a"
timeout: timeout:
type: int
description: description:
- timeout for the operation - timeout for the operation
default: 180 default: 180
service_account_email: service_account_email:
type: str
description: description:
- service account email - service account email
pem_file: pem_file:
type: path
description: description:
- path to the pem file associated with the service account email - path to the pem file associated with the service account email
project_id: project_id:
type: str
description: description:
- your GCE project ID - your GCE project ID
requirements: requirements:

View file

@ -17,35 +17,46 @@ description:
of Compute Engine of Google Cloud Platform. of Compute Engine of Google Cloud Platform.
options: options:
state: state:
type: str
description: description:
- The desired state for the instance template. - The desired state for the instance template.
default: "present" default: "present"
choices: ["present", "absent"] choices: ["present", "absent"]
name: name:
type: str
description: description:
- The name of the GCE instance template. - The name of the GCE instance template.
required: True required: True
aliases: [base_name]
size: size:
type: str
description: description:
- The desired machine type for the instance template. - The desired machine type for the instance template.
default: "f1-micro" default: "f1-micro"
source: source:
type: str
description: description:
- A source disk to attach to the instance. - A source disk to attach to the instance.
Cannot specify both I(image) and I(source). Cannot specify both I(image) and I(source).
image: image:
type: str
description: description:
- The image to use to create the instance. - The image to use to create the instance.
Cannot specify both both I(image) and I(source). Cannot specify both both I(image) and I(source).
image_family: image_family:
type: str
description: description:
- The image family to use to create the instance. - The image family to use to create the instance.
If I(image) has been used I(image_family) is ignored. If I(image) has been used I(image_family) is ignored.
Cannot specify both I(image) and I(source). Cannot specify both I(image) and I(source).
default: debian-8
disk_type: disk_type:
type: str
description: description:
- Specify a C(pd-standard) disk or C(pd-ssd) - Specify a C(pd-standard) disk or C(pd-ssd) for an SSD disk.
for an SSD disk. choices:
- pd-standard
- pd-ssd
default: pd-standard default: pd-standard
disk_auto_delete: disk_auto_delete:
description: description:
@ -54,10 +65,12 @@ options:
default: true default: true
type: bool type: bool
network: network:
type: str
description: description:
- The network to associate with the instance. - The network to associate with the instance.
default: "default" default: "default"
subnetwork: subnetwork:
type: str
description: description:
- The Subnetwork resource name for this instance. - The Subnetwork resource name for this instance.
can_ip_forward: can_ip_forward:
@ -67,6 +80,7 @@ options:
type: bool type: bool
default: 'no' default: 'no'
external_ip: external_ip:
type: str
description: description:
- The external IP address to use. - The external IP address to use.
If C(ephemeral), a new non-static address will be If C(ephemeral), a new non-static address will be
@ -75,19 +89,21 @@ options:
specify address name. specify address name.
default: "ephemeral" default: "ephemeral"
service_account_email: service_account_email:
type: str
description: description:
- service account email - service account email
service_account_permissions: service_account_permissions:
type: list
description: description:
- service account permissions (see - service account permissions (see
U(https://cloud.google.com/sdk/gcloud/reference/compute/instances/create), U(https://cloud.google.com/sdk/gcloud/reference/compute/instances/create),
--scopes section for detailed information) --scopes section for detailed information)
choices: [ - >
"bigquery", "cloud-platform", "compute-ro", "compute-rw", Available choices are:
"useraccounts-ro", "useraccounts-rw", "datastore", "logging-write", C(bigquery), C(cloud-platform), C(compute-ro), C(compute-rw),
"monitoring", "sql-admin", "storage-full", "storage-ro", C(useraccounts-ro), C(useraccounts-rw), C(datastore), C(logging-write),
"storage-rw", "taskqueue", "userinfo-email" C(monitoring), C(sql-admin), C(storage-full), C(storage-ro),
] C(storage-rw), C(taskqueue), C(userinfo-email).
automatic_restart: automatic_restart:
description: description:
- Defines whether the instance should be - Defines whether the instance should be
@ -99,6 +115,7 @@ options:
- Defines whether the instance is preemptible. - Defines whether the instance is preemptible.
type: bool type: bool
tags: tags:
type: list
description: description:
- a comma-separated list of tags to associate with the instance - a comma-separated list of tags to associate with the instance
metadata: metadata:
@ -106,34 +123,42 @@ options:
- a hash/dictionary of custom data for the instance; - a hash/dictionary of custom data for the instance;
'{"key":"value", ...}' '{"key":"value", ...}'
description: description:
type: str
description: description:
- description of instance template - description of instance template
disks: disks:
type: list
description: description:
- a list of persistent disks to attach to the instance; a string value - a list of persistent disks to attach to the instance; a string value
gives the name of the disk; alternatively, a dictionary value can gives the name of the disk; alternatively, a dictionary value can
define 'name' and 'mode' ('READ_ONLY' or 'READ_WRITE'). The first entry define 'name' and 'mode' ('READ_ONLY' or 'READ_WRITE'). The first entry
will be the boot disk (which must be READ_WRITE). will be the boot disk (which must be READ_WRITE).
nic_gce_struct: nic_gce_struct:
type: list
description: description:
- Support passing in the GCE-specific - Support passing in the GCE-specific
formatted networkInterfaces[] structure. formatted networkInterfaces[] structure.
disks_gce_struct: disks_gce_struct:
type: list
description: description:
- Support passing in the GCE-specific - Support passing in the GCE-specific
formatted formatted disks[] structure. Case sensitive. formatted formatted disks[] structure. Case sensitive.
see U(https://cloud.google.com/compute/docs/reference/latest/instanceTemplates#resource) for detailed information see U(https://cloud.google.com/compute/docs/reference/latest/instanceTemplates#resource) for detailed information
project_id: project_id:
type: str
description: description:
- your GCE project ID - your GCE project ID
pem_file: pem_file:
type: path
description: description:
- path to the pem file associated with the service account email - path to the pem file associated with the service account email
This option is deprecated. Use 'credentials_file'. This option is deprecated. Use 'credentials_file'.
credentials_file: credentials_file:
type: path
description: description:
- path to the JSON file associated with the service account email - path to the JSON file associated with the service account email
subnetwork_region: subnetwork_region:
type: str
description: description:
- Region that subnetwork resides in. (Required for subnetwork to successfully complete) - Region that subnetwork resides in. (Required for subnetwork to successfully complete)
requirements: requirements:

View file

@ -33,25 +33,57 @@ author:
- 'Eric Johnson (@erjohnso) <erjohnso@google.com>' - 'Eric Johnson (@erjohnso) <erjohnso@google.com>'
options: options:
labels: labels:
type: dict
description: description:
- A list of labels (key/value pairs) to add or remove for the resource. - A list of labels (key/value pairs) to add or remove for the resource.
required: false required: false
resource_url: resource_url:
type: str
description: description:
- The 'self_link' for the resource (instance, disk, snapshot, etc) - The 'self_link' for the resource (instance, disk, snapshot, etc)
required: false required: false
resource_type: resource_type:
type: str
description: description:
- The type of resource (instances, disks, snapshots, images) - The type of resource (instances, disks, snapshots, images)
required: false required: false
resource_location: resource_location:
type: str
description: description:
- The location of resource (global, us-central1-f, etc.) - The location of resource (global, us-central1-f, etc.)
required: false required: false
resource_name: resource_name:
type: str
description: description:
- The name of resource. - The name of resource.
required: false required: false
state:
type: str
description: The state the labels should be in. C(present) or C(absent) are the only valid options.
default: present
required: false
choices: [present, absent]
project_id:
type: str
description:
- The Google Cloud Platform project ID to use.
pem_file:
type: str
description:
- The path to the PEM file associated with the service account email.
- This option is deprecated and may be removed in a future release. Use I(credentials_file) instead.
credentials_file:
type: str
description:
- The path to the JSON file associated with the service account email.
service_account_email:
type: str
description:
- service account email
service_account_permissions:
type: list
description:
- service account email
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -23,72 +23,90 @@ description:
be found in the comments of ansible/test/gce_tests.py. be found in the comments of ansible/test/gce_tests.py.
options: options:
httphealthcheck_name: httphealthcheck_name:
type: str
description: description:
- the name identifier for the HTTP health check - the name identifier for the HTTP health check
httphealthcheck_port: httphealthcheck_port:
type: int
description: description:
- the TCP port to use for HTTP health checking - the TCP port to use for HTTP health checking
default: 80 default: 80
httphealthcheck_path: httphealthcheck_path:
type: str
description: description:
- the url path to use for HTTP health checking - the url path to use for HTTP health checking
default: "/" default: "/"
httphealthcheck_interval: httphealthcheck_interval:
type: int
description: description:
- the duration in seconds between each health check request - the duration in seconds between each health check request
default: 5 default: 5
httphealthcheck_timeout: httphealthcheck_timeout:
type: int
description: description:
- the timeout in seconds before a request is considered a failed check - the timeout in seconds before a request is considered a failed check
default: 5 default: 5
httphealthcheck_unhealthy_count: httphealthcheck_unhealthy_count:
type: int
description: description:
- number of consecutive failed checks before marking a node unhealthy - number of consecutive failed checks before marking a node unhealthy
default: 2 default: 2
httphealthcheck_healthy_count: httphealthcheck_healthy_count:
type: int
description: description:
- number of consecutive successful checks before marking a node healthy - number of consecutive successful checks before marking a node healthy
default: 2 default: 2
httphealthcheck_host: httphealthcheck_host:
type: str
description: description:
- host header to pass through on HTTP check requests - host header to pass through on HTTP check requests
name: name:
type: str
description: description:
- name of the load-balancer resource - name of the load-balancer resource
protocol: protocol:
type: str
description: description:
- the protocol used for the load-balancer packet forwarding, tcp or udp - the protocol used for the load-balancer packet forwarding, tcp or udp
- "the available choices are: C(tcp) or C(udp)."
default: "tcp" default: "tcp"
choices: ['tcp', 'udp']
region: region:
type: str
description: description:
- the GCE region where the load-balancer is defined - the GCE region where the load-balancer is defined
external_ip: external_ip:
type: str
description: description:
- the external static IPv4 (or auto-assigned) address for the LB - the external static IPv4 (or auto-assigned) address for the LB
port_range: port_range:
type: str
description: description:
- the port (range) to forward, e.g. 80 or 8000-8888 defaults to all ports - the port (range) to forward, e.g. 80 or 8000-8888 defaults to all ports
members: members:
type: list
description: description:
- a list of zone/nodename pairs, e.g ['us-central1-a/www-a', ...] - a list of zone/nodename pairs, e.g ['us-central1-a/www-a', ...]
aliases: ['nodes']
state: state:
type: str
description: description:
- desired state of the LB - desired state of the LB
- "the available choices are: C(active), C(present), C(absent), C(deleted)."
default: "present" default: "present"
choices: ["active", "present", "absent", "deleted"]
service_account_email: service_account_email:
type: str
description: description:
- service account email - service account email
pem_file: pem_file:
type: path
description: description:
- path to the pem file associated with the service account email - path to the pem file associated with the service account email
This option is deprecated. Use 'credentials_file'. This option is deprecated. Use 'credentials_file'.
credentials_file: credentials_file:
type: path
description: description:
- path to the JSON file associated with the service account email - path to the JSON file associated with the service account email
project_id: project_id:
type: str
description: description:
- your GCE project ID - your GCE project ID

View file

@ -26,46 +26,70 @@ author:
- "Tom Melendez (@supertom) <tom@supertom.com>" - "Tom Melendez (@supertom) <tom@supertom.com>"
options: options:
name: name:
type: str
description: description:
- Name of the Managed Instance Group. - Name of the Managed Instance Group.
required: true required: true
template: template:
type: str
description: description:
- Instance Template to be used in creating the VMs. See - Instance Template to be used in creating the VMs. See
U(https://cloud.google.com/compute/docs/instance-templates) to learn more U(https://cloud.google.com/compute/docs/instance-templates) to learn more
about Instance Templates. Required for creating MIGs. about Instance Templates. Required for creating MIGs.
size: size:
type: int
description: description:
- Size of Managed Instance Group. If MIG already exists, it will be - Size of Managed Instance Group. If MIG already exists, it will be
resized to the number provided here. Required for creating MIGs. resized to the number provided here. Required for creating MIGs.
service_account_email: service_account_email:
type: str
description: description:
- service account email - service account email
service_account_permissions:
type: list
description:
- service account permissions
pem_file:
type: path
description:
- path to the pem file associated with the service account email
This option is deprecated. Use 'credentials_file'.
credentials_file: credentials_file:
type: path
description: description:
- Path to the JSON file associated with the service account email - Path to the JSON file associated with the service account email
project_id: project_id:
type: str
description: description:
- GCE project ID - GCE project ID
state: state:
type: str
description: description:
- desired state of the resource - desired state of the resource
default: "present" default: "present"
choices: ["absent", "present"] choices: ["absent", "present"]
zone: zone:
type: str
description: description:
- The GCE zone to use for this Managed Instance Group. - The GCE zone to use for this Managed Instance Group.
required: true required: true
autoscaling: autoscaling:
type: dict
description: description:
- A dictionary of configuration for the autoscaler. 'enabled (bool)', 'name (str)' - A dictionary of configuration for the autoscaler. 'enabled (bool)', 'name (str)'
and policy.max_instances (int) are required fields if autoscaling is used. See and policy.max_instances (int) are required fields if autoscaling is used. See
U(https://cloud.google.com/compute/docs/reference/beta/autoscalers) for more information U(https://cloud.google.com/compute/docs/reference/beta/autoscalers) for more information
on Autoscaling. on Autoscaling.
named_ports: named_ports:
type: list
description: description:
- Define named ports that backend services can forward data to. Format is a a list of - Define named ports that backend services can forward data to. Format is a a list of
name:port dictionaries. name:port dictionaries.
recreate_instances:
type: bool
default: no
description:
- Recreate MIG instances.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -21,54 +21,64 @@ description:
be found in the comments of ansible/test/gce_tests.py. be found in the comments of ansible/test/gce_tests.py.
options: options:
allowed: allowed:
type: str
description: description:
- the protocol:ports to allow (I(tcp:80) or I(tcp:80,443) or I(tcp:80-800;udp:1-25)) - the protocol:ports to allow (I(tcp:80) or I(tcp:80,443) or I(tcp:80-800;udp:1-25))
this parameter is mandatory when creating or updating a firewall rule this parameter is mandatory when creating or updating a firewall rule
ipv4_range: ipv4_range:
type: str
description: description:
- the IPv4 address range in CIDR notation for the network - the IPv4 address range in CIDR notation for the network
this parameter is not mandatory when you specified existing network in name parameter, this parameter is not mandatory when you specified existing network in name parameter,
but when you create new network, this parameter is mandatory but when you create new network, this parameter is mandatory
aliases: ['cidr']
fwname: fwname:
type: str
description: description:
- name of the firewall rule - name of the firewall rule
aliases: ['fwrule']
name: name:
type: str
description: description:
- name of the network - name of the network
src_range: src_range:
type: list
description: description:
- the source IPv4 address range in CIDR notation - the source IPv4 address range in CIDR notation
default: [] default: []
aliases: ['src_cidr']
src_tags: src_tags:
type: list
description: description:
- the source instance tags for creating a firewall rule - the source instance tags for creating a firewall rule
default: [] default: []
target_tags: target_tags:
type: list
description: description:
- the target instance tags for creating a firewall rule - the target instance tags for creating a firewall rule
default: [] default: []
state: state:
type: str
description: description:
- desired state of the network or firewall - desired state of the network or firewall
- "Available choices are: C(active), C(present), C(absent), C(deleted)."
default: "present" default: "present"
choices: ["active", "present", "absent", "deleted"]
service_account_email: service_account_email:
type: str
description: description:
- service account email - service account email
pem_file: pem_file:
type: path
description: description:
- path to the pem file associated with the service account email - path to the pem file associated with the service account email
This option is deprecated. Use C(credentials_file). This option is deprecated. Use C(credentials_file).
credentials_file: credentials_file:
type: path
description: description:
- path to the JSON file associated with the service account email - path to the JSON file associated with the service account email
project_id: project_id:
type: str
description: description:
- your GCE project ID - your GCE project ID
mode: mode:
type: str
description: description:
- network mode for Google Cloud - network mode for Google Cloud
C(legacy) indicates a network with an IP address range; C(legacy) indicates a network with an IP address range;
@ -78,12 +88,15 @@ options:
default: "legacy" default: "legacy"
choices: ["legacy", "auto", "custom"] choices: ["legacy", "auto", "custom"]
subnet_name: subnet_name:
type: str
description: description:
- name of subnet to create - name of subnet to create
subnet_region: subnet_region:
type: str
description: description:
- region of subnet to create - region of subnet to create
subnet_desc: subnet_desc:
type: str
description: description:
- description of subnet to create - description of subnet to create

View file

@ -23,59 +23,82 @@ options:
type: bool type: bool
default: 'no' default: 'no'
instance_name: instance_name:
type: str
description: description:
- instance name if you wish to attach or detach the disk - instance name if you wish to attach or detach the disk
mode: mode:
type: str
description: description:
- GCE mount mode of disk, READ_ONLY (default) or READ_WRITE - GCE mount mode of disk, READ_ONLY (default) or READ_WRITE
default: "READ_ONLY" default: "READ_ONLY"
choices: ["READ_WRITE", "READ_ONLY"] choices: ["READ_WRITE", "READ_ONLY"]
name: name:
type: str
description: description:
- name of the disk - name of the disk
required: true required: true
size_gb: size_gb:
type: str
description: description:
- whole integer size of disk (in GB) to create, default is 10 GB - whole integer size of disk (in GB) to create, default is 10 GB
default: 10 default: "10"
image: image:
type: str
description: description:
- the source image to use for the disk - the source image to use for the disk
snapshot: snapshot:
type: str
description: description:
- the source snapshot to use for the disk - the source snapshot to use for the disk
state: state:
type: str
description: description:
- desired state of the persistent disk - desired state of the persistent disk
- "Available choices are: C(active), C(present), C(absent), C(deleted)."
default: "present" default: "present"
choices: ["active", "present", "absent", "deleted"]
zone: zone:
type: str
description: description:
- zone in which to create the disk - zone in which to create the disk
default: "us-central1-b" default: "us-central1-b"
service_account_email: service_account_email:
type: str
description: description:
- service account email - service account email
pem_file: pem_file:
type: path
description: description:
- path to the pem file associated with the service account email - path to the pem file associated with the service account email
This option is deprecated. Use 'credentials_file'. This option is deprecated. Use 'credentials_file'.
credentials_file: credentials_file:
type: path
description: description:
- path to the JSON file associated with the service account email - path to the JSON file associated with the service account email
project_id: project_id:
type: str
description: description:
- your GCE project ID - your GCE project ID
disk_type: disk_type:
type: str
description: description:
- type of disk provisioned - Specify a C(pd-standard) disk or C(pd-ssd) for an SSD disk.
default: "pd-standard" default: "pd-standard"
choices: ["pd-standard", "pd-ssd"]
delete_on_termination: delete_on_termination:
description: description:
- If C(yes), deletes the volume when instance is terminated - If C(yes), deletes the volume when instance is terminated
type: bool type: bool
default: 'no' default: 'no'
image_family:
type: str
description:
- The image family to use to create the instance.
If I(image) has been used I(image_family) is ignored.
Cannot specify both I(image) and I(source).
external_projects:
type: list
description:
- A list of other projects (accessible with the provisioning credentials)
to be searched for the image.
requirements: requirements:
- "python >= 2.6" - "python >= 2.6"

View file

@ -18,36 +18,40 @@ description:
volumes, each snapshot will be prepended with the disk name volumes, each snapshot will be prepended with the disk name
options: options:
instance_name: instance_name:
type: str
description: description:
- The GCE instance to snapshot - The GCE instance to snapshot
required: True required: True
snapshot_name: snapshot_name:
type: str
description: description:
- The name of the snapshot to manage - The name of the snapshot to manage
required: True
disks: disks:
type: list
description: description:
- A list of disks to create snapshots for. If none is provided, - A list of disks to create snapshots for. If none is provided,
all of the volumes will be snapshotted all of the volumes will have snapshots created.
default: all
required: False required: False
state: state:
type: str
description: description:
- Whether a snapshot should be C(present) or C(absent) - Whether a snapshot should be C(present) or C(absent)
required: false required: false
default: present default: present
choices: [present, absent] choices: [present, absent]
service_account_email: service_account_email:
type: str
description: description:
- GCP service account email for the project where the instance resides - GCP service account email for the project where the instance resides
required: true
credentials_file: credentials_file:
type: path
description: description:
- The path to the credentials file associated with the service account - The path to the credentials file associated with the service account
required: true
project_id: project_id:
type: str
description: description:
- The GCP project ID to use - The GCP project ID to use
required: true
requirements: requirements:
- "python >= 2.6" - "python >= 2.6"
- "apache-libcloud >= 0.19.0" - "apache-libcloud >= 0.19.0"

View file

@ -16,34 +16,42 @@ description:
to/from GCE instances. Use 'instance_pattern' to update multiple instances in a specify zone. to/from GCE instances. Use 'instance_pattern' to update multiple instances in a specify zone.
options: options:
instance_name: instance_name:
type: str
description: description:
- The name of the GCE instance to add/remove tags. - The name of the GCE instance to add/remove tags.
- Required if C(instance_pattern) is not specified. - Required if C(instance_pattern) is not specified.
instance_pattern: instance_pattern:
type: str
description: description:
- The pattern of GCE instance names to match for adding/removing tags. Full-Python regex is supported. - The pattern of GCE instance names to match for adding/removing tags. Full-Python regex is supported.
See U(https://docs.python.org/2/library/re.html) for details. See U(https://docs.python.org/2/library/re.html) for details.
- If C(instance_name) is not specified, this field is required. - If C(instance_name) is not specified, this field is required.
tags: tags:
type: list
description: description:
- Comma-separated list of tags to add or remove. - Comma-separated list of tags to add or remove.
required: yes required: yes
state: state:
type: str
description: description:
- Desired state of the tags. - Desired state of the tags.
choices: [ absent, present ] choices: [ absent, present ]
default: present default: present
zone: zone:
type: str
description: description:
- The zone of the disk specified by source. - The zone of the disk specified by source.
default: us-central1-a default: us-central1-a
service_account_email: service_account_email:
type: str
description: description:
- Service account email. - Service account email.
pem_file: pem_file:
type: path
description: description:
- Path to the PEM file associated with the service account email. - Path to the PEM file associated with the service account email.
project_id: project_id:
type: str
description: description:
- Your GCE project ID. - Your GCE project ID.
requirements: requirements:

View file

@ -29,10 +29,12 @@ author:
- "Tom Melendez (@supertom) <tom@supertom.com>" - "Tom Melendez (@supertom) <tom@supertom.com>"
options: options:
backend_service_name: backend_service_name:
type: str
description: description:
- Name of the Backend Service. - Name of the Backend Service.
required: true required: true
backends: backends:
type: list
description: description:
- List of backends that make up the backend service. A backend is made up of - List of backends that make up the backend service. A backend is made up of
an instance group and optionally several other parameters. See an instance group and optionally several other parameters. See
@ -40,6 +42,7 @@ options:
for details. for details.
required: true required: true
healthchecks: healthchecks:
type: list
description: description:
- List of healthchecks. Only one healthcheck is supported. - List of healthchecks. Only one healthcheck is supported.
required: true required: true
@ -48,29 +51,46 @@ options:
- If true, enable Cloud CDN for this Backend Service. - If true, enable Cloud CDN for this Backend Service.
type: bool type: bool
port_name: port_name:
type: str
description: description:
- Name of the port on the managed instance group (MIG) that backend - Name of the port on the managed instance group (MIG) that backend
services can forward data to. Required for external load balancing. services can forward data to. Required for external load balancing.
protocol: protocol:
type: str
description: description:
- The protocol this Backend Service uses to communicate with backends. - The protocol this Backend Service uses to communicate with backends.
Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. Possible values are HTTP, HTTPS, TCP, and SSL. The default is TCP.
choices: [HTTP, HTTPS, TCP, SSL]
default: TCP
required: false required: false
timeout: timeout:
type: int
description: description:
- How many seconds to wait for the backend before considering it a failed - How many seconds to wait for the backend before considering it a failed
request. Default is 30 seconds. Valid range is 1-86400. request. Default is 30 seconds. Valid range is 1-86400.
required: false required: false
service_account_email: service_account_email:
type: str
description: description:
- Service account email - Service account email
service_account_permissions:
type: list
description:
- service account permissions
credentials_file: credentials_file:
type: str
description: description:
- Path to the JSON file associated with the service account email. - Path to the JSON file associated with the service account email.
pem_file:
type: str
description:
- Path to the PEM file associated with the service account email.
project_id: project_id:
type: str
description: description:
- GCE project ID. - GCE project ID.
state: state:
type: str
description: description:
- Desired state of the resource - Desired state of the resource
default: "present" default: "present"

View file

@ -33,6 +33,7 @@ author:
- "Tom Melendez (@supertom) <tom@supertom.com>" - "Tom Melendez (@supertom) <tom@supertom.com>"
options: options:
address: address:
type: str
description: description:
- IPv4 or named IP address. Must be of the same scope (regional, global). - IPv4 or named IP address. Must be of the same scope (regional, global).
Reserved addresses can (and probably should) be used for global Reserved addresses can (and probably should) be used for global
@ -40,32 +41,67 @@ options:
via the gce_eip module. via the gce_eip module.
required: false required: false
forwarding_rule_name: forwarding_rule_name:
type: str
description: description:
- Name of the Forwarding_Rule. - Name of the Forwarding_Rule.
required: true required: true
port_range: port_range:
type: str
description: description:
- For global forwarding rules, must be set to 80 or 8080 for TargetHttpProxy, and - For global forwarding rules, must be set to 80 or 8080 for TargetHttpProxy, and
443 for TargetHttpsProxy or TargetSslProxy. 443 for TargetHttpsProxy or TargetSslProxy.
required: false required: false
protocol: protocol:
type: str
description: description:
- For global forwarding rules, TCP, UDP, ESP, AH, SCTP or ICMP. Default is TCP. - For global forwarding rules, TCP, UDP, ESP, AH, SCTP or ICMP. Default is TCP.
required: false required: false
choices: [TCP]
default: TCP
region: region:
type: str
description: description:
- The region for this forwarding rule. Currently, only 'global' is supported. - The region for this forwarding rule. Currently, only 'global' is supported.
required: false required: true
state: state:
type: str
description: description:
- The state of the Forwarding Rule. 'present' or 'absent' - The state of the Forwarding Rule. 'present' or 'absent'
required: true required: true
choices: ["present", "absent"] choices: ["present", "absent"]
target: target:
type: str
description: description:
- Target resource for forwarding rule. For global proxy, this is a Global - Target resource for forwarding rule. For global proxy, this is a Global
TargetProxy resource. Required for external load balancing (including Global load balancing) TargetProxy resource. Required for external load balancing (including Global load balancing)
required: false required: false
project_id:
type: str
description:
- The Google Cloud Platform project ID to use.
pem_file:
type: str
description:
- The path to the PEM file associated with the service account email.
- This option is deprecated and may be removed in a future release. Use I(credentials_file) instead.
credentials_file:
type: str
description:
- The path to the JSON file associated with the service account email.
service_account_email:
type: str
description:
- service account email
service_account_permissions:
type: list
description:
- service account permissions
load_balancing_scheme:
type: str
choices: [EXTERNAL]
default: EXTERNAL
description:
- Load balancing scheme. At the moment the only choice is EXTERNAL.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -41,72 +41,85 @@ author:
- "Tom Melendez (@supertom) <tom@supertom.com>" - "Tom Melendez (@supertom) <tom@supertom.com>"
options: options:
check_interval: check_interval:
type: int
description: description:
- How often (in seconds) to send a health check. - How often (in seconds) to send a health check.
default: 5 default: 5
healthcheck_name: healthcheck_name:
type: str
description: description:
- Name of the Healthcheck. - Name of the Healthcheck.
required: true required: true
healthcheck_type: healthcheck_type:
type: str
description: description:
- Type of Healthcheck. - Type of Healthcheck.
required: true required: true
choices: ["HTTP", "HTTPS"] choices: ["HTTP", "HTTPS"]
host_header: host_header:
type: str
description: description:
- The value of the host header in the health check request. If left - The value of the host header in the health check request. If left
empty, the public IP on behalf of which this health empty, the public IP on behalf of which this health
check is performed will be used. check is performed will be used.
required: true
default: "" default: ""
port: port:
type: int
description: description:
- The TCP port number for the health check request. The default value is - The TCP port number for the health check request. The default value is
443 for HTTPS and 80 for HTTP. 443 for HTTPS and 80 for HTTP.
request_path: request_path:
type: str
description: description:
- The request path of the HTTPS health check request. - The request path of the HTTPS health check request.
required: false required: false
default: "/" default: "/"
state: state:
type: str
description: State of the Healthcheck. description: State of the Healthcheck.
required: true
choices: ["present", "absent"] choices: ["present", "absent"]
default: present
timeout: timeout:
type: int
description: description:
- How long (in seconds) to wait for a response before claiming - How long (in seconds) to wait for a response before claiming
failure. It is invalid for timeout failure. It is invalid for timeout
to have a greater value than check_interval. to have a greater value than check_interval.
default: 5 default: 5
unhealthy_threshold: unhealthy_threshold:
type: int
description: description:
- A so-far healthy instance will be marked unhealthy after this - A so-far healthy instance will be marked unhealthy after this
many consecutive failures. many consecutive failures.
default: 2 default: 2
healthy_threshold: healthy_threshold:
type: int
description: description:
- A so-far unhealthy instance will be marked healthy after this - A so-far unhealthy instance will be marked healthy after this
many consecutive successes. many consecutive successes.
default: 2 default: 2
service_account_email: service_account_email:
type: str
description: description:
- service account email - service account email
service_account_permissions: service_account_permissions:
type: list
description: description:
- service account permissions (see - service account permissions (see
U(https://cloud.google.com/sdk/gcloud/reference/compute/instances/create), U(https://cloud.google.com/sdk/gcloud/reference/compute/instances/create),
--scopes section for detailed information) --scopes section for detailed information)
choices: [ - >
"bigquery", "cloud-platform", "compute-ro", "compute-rw", Available choices are:
"useraccounts-ro", "useraccounts-rw", "datastore", "logging-write", C(bigquery), C(cloud-platform), C(compute-ro), C(compute-rw),
"monitoring", "sql-admin", "storage-full", "storage-ro", C(useraccounts-ro), C(useraccounts-rw), C(datastore), C(logging-write),
"storage-rw", "taskqueue", "userinfo-email" C(monitoring), C(sql-admin), C(storage-full), C(storage-ro),
] C(storage-rw), C(taskqueue), C(userinfo-email).
credentials_file: credentials_file:
type: str
description: description:
- Path to the JSON file associated with the service account email - Path to the JSON file associated with the service account email
project_id: project_id:
type: str
description: description:
- Your GCP project ID - Your GCP project ID
''' '''

View file

@ -30,17 +30,47 @@ author:
- "Tom Melendez (@supertom) <tom@supertom.com>" - "Tom Melendez (@supertom) <tom@supertom.com>"
options: options:
target_proxy_name: target_proxy_name:
type: str
description: description:
- Name of the Target_Proxy. - Name of the Target_Proxy.
required: true required: true
target_proxy_type: target_proxy_type:
type: str
description: description:
- Type of Target_Proxy. HTTP, HTTPS or SSL. Only HTTP is currently supported. - Type of Target_Proxy. HTTP, HTTPS or SSL. Only HTTP is currently supported.
required: true required: true
choices: [HTTP]
url_map_name: url_map_name:
type: str
description: description:
- Name of the Url Map. Required if type is HTTP or HTTPS proxy. - Name of the Url Map. Required if type is HTTP or HTTPS proxy.
required: false required: false
project_id:
type: str
description:
- your GCE project ID
pem_file:
type: str
description:
- path to the pem file associated with the service account email
This option is deprecated. Use 'credentials_file'.
credentials_file:
type: str
description:
- path to the JSON file associated with the service account email
service_account_email:
type: str
description:
- service account email
service_account_permissions:
type: list
description:
- service account permissions
state:
type: str
description: The state the target proxy should be in. C(present) or C(absent) are the only valid options.
required: true
choices: [present, absent]
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -31,14 +31,17 @@ deprecated:
alternative: Use M(google.cloud.gcp_compute_url_map) instead. alternative: Use M(google.cloud.gcp_compute_url_map) instead.
options: options:
url_map_name: url_map_name:
type: str
description: description:
- Name of the Url_Map. - Name of the Url_Map.
required: true required: true
default_service: default_service:
type: str
description: description:
- Default Backend Service if no host rules match. - Default Backend Service if no host rules match.
required: true required: true
host_rules: host_rules:
type: list
description: description:
- The list of HostRules to use against the URL. Contains - The list of HostRules to use against the URL. Contains
a list of hosts and an associated path_matcher. a list of hosts and an associated path_matcher.
@ -51,6 +54,7 @@ options:
host portion. host portion.
required: false required: false
path_matchers: path_matchers:
type: list
description: description:
- The list of named PathMatchers to use against the URL. Contains - The list of named PathMatchers to use against the URL. Contains
path_rules, which is a list of paths and an associated service. A path_rules, which is a list of paths and an associated service. A
@ -66,6 +70,33 @@ options:
a /. The string fed to the path matcher does not include any text after a /. The string fed to the path matcher does not include any text after
the first ? or #, and those chars are not allowed here. the first ? or #, and those chars are not allowed here.
required: false required: false
project_id:
type: str
description:
- The Google Cloud Platform project ID to use.
pem_file:
type: str
description:
- The path to the PEM file associated with the service account email.
- This option is deprecated and may be removed in a future release. Use I(credentials_file) instead.
credentials_file:
type: str
description:
- The path to the JSON file associated with the service account email.
service_account_email:
type: str
description:
- service account email
service_account_permissions:
type: list
description:
- service account permissions
state:
type: str
description: The state the URL map should be in. C(present) or C(absent) are the only valid options.
default: present
required: false
choices: [present, absent]
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -23,33 +23,42 @@ author:
- Tom Melendez (@supertom) <tom@supertom.com> - Tom Melendez (@supertom) <tom@supertom.com>
options: options:
topic: topic:
type: str
description: description:
- GCP pubsub topic name. - GCP pubsub topic name.
- Only the name, not the full path, is required. - Only the name, not the full path, is required.
required: yes required: yes
subscription: subscription:
type: dict
description: description:
- Dictionary containing a subscription name associated with a topic (required), along with optional ack_deadline, push_endpoint and pull. - Dictionary containing a subscription name associated with a topic (required), along with optional ack_deadline, push_endpoint and pull.
For pulling from a subscription, message_ack (bool), max_messages (int) and return_immediate are available as subfields. For pulling from a subscription, message_ack (bool), max_messages (int) and return_immediate are available as subfields.
See subfields name, push_endpoint and ack_deadline for more information. See subfields name, push_endpoint and ack_deadline for more information.
name: suboptions:
description: Subfield of subscription. Required if subscription is specified. See examples. name:
ack_deadline: description:
description: Subfield of subscription. Not required. Default deadline for subscriptions to ACK the message before it is resent. See examples. - Subfield of subscription. Required if subscription is specified. See examples.
pull: ack_deadline:
description: description:
- Subfield of subscription. Not required. If specified, messages will be retrieved from topic via the provided subscription name. - Subfield of subscription. Not required. Default deadline for subscriptions to ACK the message before it is resent. See examples.
max_messages (int; default None; max number of messages to pull), message_ack (bool; default False; acknowledge the message) and return_immediately pull:
(bool; default True, don't wait for messages to appear). If the messages are acknowledged, changed is set to True, otherwise, changed is False. description:
push_endpoint: - Subfield of subscription. Not required. If specified, messages will be retrieved from topic via the
description: provided subscription name. max_messages (int; default None; max number of messages to pull),
- Subfield of subscription. Not required. If specified, message will be sent to an endpoint. message_ack (bool; default False; acknowledge the message) and return_immediately
See U(https://cloud.google.com/pubsub/docs/advanced#push_endpoints) for more information. (bool; default True, don't wait for messages to appear). If the messages are acknowledged,
changed is set to True, otherwise, changed is False.
push_endpoint:
description:
- Subfield of subscription. Not required. If specified, message will be sent to an endpoint.
See U(https://cloud.google.com/pubsub/docs/advanced#push_endpoints) for more information.
publish: publish:
type: list
description: description:
- List of dictionaries describing messages and attributes to be published. Dictionary is in message(str):attributes(dict) format. - List of dictionaries describing messages and attributes to be published. Dictionary is in message(str):attributes(dict) format.
Only message is required. Only message is required.
state: state:
type: str
description: description:
- State of the topic or queue. - State of the topic or queue.
- Applies to the most granular resource. - Applies to the most granular resource.
@ -58,6 +67,18 @@ options:
- NOTE - A topic can be removed without first removing the subscription. - NOTE - A topic can be removed without first removing the subscription.
choices: [ absent, present ] choices: [ absent, present ]
default: present default: present
project_id:
type: str
description:
- your GCE project ID
credentials_file:
type: str
description:
- path to the JSON file associated with the service account email
service_account_email:
type: str
description:
- service account email
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -25,17 +25,35 @@ author:
- "Tom Melendez (@supertom) <tom@supertom.com>" - "Tom Melendez (@supertom) <tom@supertom.com>"
options: options:
topic: topic:
type: str
description: description:
- GCP pubsub topic name. Only the name, not the full path, is required. - GCP pubsub topic name. Only the name, not the full path, is required.
required: False required: False
view: view:
type: str
description: description:
- Choices are 'topics' or 'subscriptions' - Choices are 'topics' or 'subscriptions'
required: True choices: [topics, subscriptions]
default: topics
state: state:
type: str
description: description:
- list is the only valid option. - list is the only valid option.
required: False required: False
choices: [list]
default: list
project_id:
type: str
description:
- your GCE project ID
credentials_file:
type: str
description:
- path to the JSON file associated with the service account email
service_account_email:
type: str
description:
- service account email
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -28,15 +28,18 @@ author:
- Tom Melendez (@supertom) <tom@supertom.com> - Tom Melendez (@supertom) <tom@supertom.com>
options: options:
configuration: configuration:
type: str
description: description:
- Configuration the instance should use. - Configuration the instance should use.
- Examples are us-central1, asia-east1 and europe-west1. - Examples are us-central1, asia-east1 and europe-west1.
required: yes required: yes
instance_id: instance_id:
type: str
description: description:
- GCP spanner instance name. - GCP spanner instance name.
required: yes required: yes
database_name: database_name:
type: str
description: description:
- Name of database contained on the instance. - Name of database contained on the instance.
force_instance_delete: force_instance_delete:
@ -45,20 +48,35 @@ options:
type: bool type: bool
default: 'no' default: 'no'
instance_display_name: instance_display_name:
type: str
description: description:
- Name of Instance to display. - Name of Instance to display.
- If not specified, instance_id will be used instead. - If not specified, instance_id will be used instead.
node_count: node_count:
type: int
description: description:
- Number of nodes in the instance. - Number of nodes in the instance.
default: 1 default: 1
state: state:
type: str
description: description:
- State of the instance or database. Applies to the most granular resource. - State of the instance or database. Applies to the most granular resource.
- If a C(database_name) is specified we remove it. - If a C(database_name) is specified we remove it.
- If only C(instance_id) is specified, that is what is removed. - If only C(instance_id) is specified, that is what is removed.
choices: [ absent, present ] choices: [ absent, present ]
default: present default: present
project_id:
type: str
description:
- your GCE project ID
credentials_file:
type: str
description:
- path to the JSON file associated with the service account email
service_account_email:
type: str
description:
- service account email
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -51,119 +51,38 @@ plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-r
plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:parameter-type-not-in-doc 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_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/docker/docker_stack.py validate-modules:doc-elements-mismatch
plugins/modules/cloud/google/gc_storage.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gc_storage.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gc_storage.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gc_storage.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gc_storage.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcdns_record.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcdns_record.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcdns_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcdns_zone.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce.py pylint:blacklisted-name plugins/modules/cloud/google/gce.py pylint:blacklisted-name
plugins/modules/cloud/google/gce.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gce.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce.py yamllint:unparsable-with-libyaml plugins/modules/cloud/google/gce.py yamllint:unparsable-with-libyaml
plugins/modules/cloud/google/gce_eip.py pylint:blacklisted-name plugins/modules/cloud/google/gce_eip.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_eip.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_eip.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_eip.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_eip.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_eip.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_img.py pylint:blacklisted-name plugins/modules/cloud/google/gce_img.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_img.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_img.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_instance_template.py pylint:blacklisted-name plugins/modules/cloud/google/gce_instance_template.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-missing-type plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_instance_template.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_instance_template.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_instance_template.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_instance_template.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_labels.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_labels.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gce_labels.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_labels.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_labels.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_labels.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_labels.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_lb.py pylint:blacklisted-name plugins/modules/cloud/google/gce_lb.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_lb.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_lb.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_lb.py validate-modules:nonexistent-parameter-documented
plugins/modules/cloud/google/gce_lb.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_lb.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_lb.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_mig.py pylint:blacklisted-name plugins/modules/cloud/google/gce_mig.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_mig.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_mig.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_mig.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_mig.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_mig.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_net.py pylint:blacklisted-name plugins/modules/cloud/google/gce_net.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_net.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_net.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_net.py validate-modules:nonexistent-parameter-documented
plugins/modules/cloud/google/gce_net.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_net.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_net.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_pd.py pylint:blacklisted-name plugins/modules/cloud/google/gce_pd.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_pd.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_pd.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_pd.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_pd.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_pd.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_pd.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_snapshot.py pylint:blacklisted-name plugins/modules/cloud/google/gce_snapshot.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_snapshot.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gce_snapshot.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_snapshot.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gce_snapshot.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_snapshot.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_snapshot.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_tag.py pylint:blacklisted-name plugins/modules/cloud/google/gce_tag.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_tag.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_tag.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_tag.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_backend_service.py pylint:blacklisted-name plugins/modules/cloud/google/gcp_backend_service.py pylint:blacklisted-name
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_backend_service.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcp_healthcheck.py pylint:blacklisted-name plugins/modules/cloud/google/gcp_healthcheck.py pylint:blacklisted-name
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcp_url_map.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_url_map.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcp_url_map.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_url_map.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_url_map.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_url_map.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_url_map.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcpubsub.py validate-modules:nonexistent-parameter-documented
plugins/modules/cloud/google/gcpubsub.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcpubsub.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcpubsub.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcpubsub.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:parameter-state-invalid-choice plugins/modules/cloud/google/gcpubsub_info.py validate-modules:parameter-state-invalid-choice
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcspanner.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcspanner.py validate-modules:undocumented-parameter
plugins/modules/cloud/heroku/heroku_collaborator.py validate-modules:parameter-list-no-elements 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/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_ecs_instance.py validate-modules:doc-elements-mismatch

View file

@ -51,119 +51,38 @@ plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-r
plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:parameter-type-not-in-doc 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_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/docker/docker_stack.py validate-modules:doc-elements-mismatch
plugins/modules/cloud/google/gc_storage.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gc_storage.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gc_storage.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gc_storage.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gc_storage.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcdns_record.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcdns_record.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcdns_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcdns_zone.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce.py pylint:blacklisted-name plugins/modules/cloud/google/gce.py pylint:blacklisted-name
plugins/modules/cloud/google/gce.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gce.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce.py yamllint:unparsable-with-libyaml plugins/modules/cloud/google/gce.py yamllint:unparsable-with-libyaml
plugins/modules/cloud/google/gce_eip.py pylint:blacklisted-name plugins/modules/cloud/google/gce_eip.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_eip.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_eip.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_eip.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_eip.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_eip.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_img.py pylint:blacklisted-name plugins/modules/cloud/google/gce_img.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_img.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_img.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_instance_template.py pylint:blacklisted-name plugins/modules/cloud/google/gce_instance_template.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-missing-type plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_instance_template.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_instance_template.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_instance_template.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_instance_template.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_labels.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_labels.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gce_labels.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_labels.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_labels.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_labels.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_labels.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_lb.py pylint:blacklisted-name plugins/modules/cloud/google/gce_lb.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_lb.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_lb.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_lb.py validate-modules:nonexistent-parameter-documented
plugins/modules/cloud/google/gce_lb.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_lb.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_lb.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_mig.py pylint:blacklisted-name plugins/modules/cloud/google/gce_mig.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_mig.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_mig.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_mig.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_mig.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_mig.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_net.py pylint:blacklisted-name plugins/modules/cloud/google/gce_net.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_net.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_net.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_net.py validate-modules:nonexistent-parameter-documented
plugins/modules/cloud/google/gce_net.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_net.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_net.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_pd.py pylint:blacklisted-name plugins/modules/cloud/google/gce_pd.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_pd.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_pd.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_pd.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_pd.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_pd.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_pd.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_snapshot.py pylint:blacklisted-name plugins/modules/cloud/google/gce_snapshot.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_snapshot.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gce_snapshot.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_snapshot.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gce_snapshot.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_snapshot.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_snapshot.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_tag.py pylint:blacklisted-name plugins/modules/cloud/google/gce_tag.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_tag.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gce_tag.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gce_tag.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_backend_service.py pylint:blacklisted-name plugins/modules/cloud/google/gcp_backend_service.py pylint:blacklisted-name
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_backend_service.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_forwarding_rule.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcp_healthcheck.py pylint:blacklisted-name plugins/modules/cloud/google/gcp_healthcheck.py pylint:blacklisted-name
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_healthcheck.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcp_url_map.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcp_url_map.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcp_url_map.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcp_url_map.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcp_url_map.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcp_url_map.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_url_map.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcpubsub.py validate-modules:nonexistent-parameter-documented
plugins/modules/cloud/google/gcpubsub.py validate-modules:parameter-list-no-elements plugins/modules/cloud/google/gcpubsub.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/google/gcpubsub.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcpubsub.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-required-mismatch
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:parameter-state-invalid-choice plugins/modules/cloud/google/gcpubsub_info.py validate-modules:parameter-state-invalid-choice
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcspanner.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcspanner.py validate-modules:undocumented-parameter
plugins/modules/cloud/heroku/heroku_collaborator.py validate-modules:parameter-list-no-elements 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/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_ecs_instance.py validate-modules:doc-elements-mismatch

View file

@ -36,11 +36,6 @@ plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-c
plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py validate-modules:doc-missing-type 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/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_container.py use-argspec-type-path # uses colon-separated paths, can't use type=path
plugins/modules/cloud/google/gc_storage.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gc_storage.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gc_storage.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gc_storage.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gc_storage.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcdns_record.py validate-modules:deprecation-mismatch plugins/modules/cloud/google/gcdns_record.py validate-modules:deprecation-mismatch
plugins/modules/cloud/google/gcdns_record.py validate-modules:invalid-documentation plugins/modules/cloud/google/gcdns_record.py validate-modules:invalid-documentation
plugins/modules/cloud/google/gcdns_record.py validate-modules:missing-main-call plugins/modules/cloud/google/gcdns_record.py validate-modules:missing-main-call
@ -52,48 +47,15 @@ plugins/modules/cloud/google/gce.py validate-modules:deprecation-mismatch
plugins/modules/cloud/google/gce.py validate-modules:invalid-documentation plugins/modules/cloud/google/gce.py validate-modules:invalid-documentation
plugins/modules/cloud/google/gce.py validate-modules:missing-main-call plugins/modules/cloud/google/gce.py validate-modules:missing-main-call
plugins/modules/cloud/google/gce_eip.py pylint:blacklisted-name plugins/modules/cloud/google/gce_eip.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_eip.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_eip.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_eip.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_img.py pylint:blacklisted-name plugins/modules/cloud/google/gce_img.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_img.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_img.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_instance_template.py pylint:blacklisted-name plugins/modules/cloud/google/gce_instance_template.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-missing-type plugins/modules/cloud/google/gce_instance_template.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_instance_template.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_instance_template.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_labels.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_labels.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gce_labels.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_labels.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_labels.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_lb.py pylint:blacklisted-name plugins/modules/cloud/google/gce_lb.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_lb.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_lb.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_lb.py validate-modules:nonexistent-parameter-documented
plugins/modules/cloud/google/gce_lb.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_mig.py pylint:blacklisted-name plugins/modules/cloud/google/gce_mig.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_mig.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_mig.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_mig.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_net.py pylint:blacklisted-name plugins/modules/cloud/google/gce_net.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_net.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_net.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_net.py validate-modules:nonexistent-parameter-documented
plugins/modules/cloud/google/gce_net.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_pd.py pylint:blacklisted-name plugins/modules/cloud/google/gce_pd.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_pd.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gce_pd.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_pd.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_pd.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gce_snapshot.py pylint:blacklisted-name plugins/modules/cloud/google/gce_snapshot.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_snapshot.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gce_snapshot.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gce_snapshot.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gce_tag.py pylint:blacklisted-name plugins/modules/cloud/google/gce_tag.py pylint:blacklisted-name
plugins/modules/cloud/google/gce_tag.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcp_backend_service.py pylint:blacklisted-name plugins/modules/cloud/google/gcp_backend_service.py pylint:blacklisted-name
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:deprecation-mismatch plugins/modules/cloud/google/gcp_backend_service.py validate-modules:deprecation-mismatch
plugins/modules/cloud/google/gcp_backend_service.py validate-modules:invalid-documentation plugins/modules/cloud/google/gcp_backend_service.py validate-modules:invalid-documentation
@ -111,13 +73,6 @@ plugins/modules/cloud/google/gcp_target_proxy.py validate-modules:missing-main-c
plugins/modules/cloud/google/gcp_url_map.py validate-modules:deprecation-mismatch plugins/modules/cloud/google/gcp_url_map.py validate-modules:deprecation-mismatch
plugins/modules/cloud/google/gcp_url_map.py validate-modules:invalid-documentation plugins/modules/cloud/google/gcp_url_map.py validate-modules:invalid-documentation
plugins/modules/cloud/google/gcp_url_map.py validate-modules:missing-main-call plugins/modules/cloud/google/gcp_url_map.py validate-modules:missing-main-call
plugins/modules/cloud/google/gcpubsub.py validate-modules:nonexistent-parameter-documented
plugins/modules/cloud/google/gcpubsub.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/google/gcpubsub.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-default-does-not-match-spec
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:doc-missing-type
plugins/modules/cloud/google/gcpubsub_info.py validate-modules:undocumented-parameter
plugins/modules/cloud/google/gcspanner.py validate-modules:deprecation-mismatch 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:invalid-documentation
plugins/modules/cloud/google/gcspanner.py validate-modules:missing-main-call plugins/modules/cloud/google/gcspanner.py validate-modules:missing-main-call