mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-11 10:54:02 -07:00
Tidy up validate-modules ignores for cloud/google modules (#1265)
* 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
This commit is contained in:
parent
7db2ce5be3
commit
4b26990d8b
25 changed files with 477 additions and 264 deletions
|
@ -23,72 +23,90 @@ description:
|
|||
be found in the comments of ansible/test/gce_tests.py.
|
||||
options:
|
||||
httphealthcheck_name:
|
||||
type: str
|
||||
description:
|
||||
- the name identifier for the HTTP health check
|
||||
httphealthcheck_port:
|
||||
type: int
|
||||
description:
|
||||
- the TCP port to use for HTTP health checking
|
||||
default: 80
|
||||
httphealthcheck_path:
|
||||
type: str
|
||||
description:
|
||||
- the url path to use for HTTP health checking
|
||||
default: "/"
|
||||
httphealthcheck_interval:
|
||||
type: int
|
||||
description:
|
||||
- the duration in seconds between each health check request
|
||||
default: 5
|
||||
httphealthcheck_timeout:
|
||||
type: int
|
||||
description:
|
||||
- the timeout in seconds before a request is considered a failed check
|
||||
default: 5
|
||||
httphealthcheck_unhealthy_count:
|
||||
type: int
|
||||
description:
|
||||
- number of consecutive failed checks before marking a node unhealthy
|
||||
default: 2
|
||||
httphealthcheck_healthy_count:
|
||||
type: int
|
||||
description:
|
||||
- number of consecutive successful checks before marking a node healthy
|
||||
default: 2
|
||||
httphealthcheck_host:
|
||||
type: str
|
||||
description:
|
||||
- host header to pass through on HTTP check requests
|
||||
name:
|
||||
type: str
|
||||
description:
|
||||
- name of the load-balancer resource
|
||||
protocol:
|
||||
type: str
|
||||
description:
|
||||
- the protocol used for the load-balancer packet forwarding, tcp or udp
|
||||
- "the available choices are: C(tcp) or C(udp)."
|
||||
default: "tcp"
|
||||
choices: ['tcp', 'udp']
|
||||
region:
|
||||
type: str
|
||||
description:
|
||||
- the GCE region where the load-balancer is defined
|
||||
external_ip:
|
||||
type: str
|
||||
description:
|
||||
- the external static IPv4 (or auto-assigned) address for the LB
|
||||
port_range:
|
||||
type: str
|
||||
description:
|
||||
- the port (range) to forward, e.g. 80 or 8000-8888 defaults to all ports
|
||||
members:
|
||||
type: list
|
||||
description:
|
||||
- a list of zone/nodename pairs, e.g ['us-central1-a/www-a', ...]
|
||||
aliases: ['nodes']
|
||||
state:
|
||||
type: str
|
||||
description:
|
||||
- desired state of the LB
|
||||
- "the available choices are: C(active), C(present), C(absent), C(deleted)."
|
||||
default: "present"
|
||||
choices: ["active", "present", "absent", "deleted"]
|
||||
service_account_email:
|
||||
type: str
|
||||
description:
|
||||
- service account email
|
||||
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:
|
||||
type: path
|
||||
description:
|
||||
- path to the JSON file associated with the service account email
|
||||
project_id:
|
||||
type: str
|
||||
description:
|
||||
- your GCE project ID
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue