mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 10:50:28 -07:00
To improve readability, we added a line feed. (#43801)
* modified: google/gcp_compute_backend_bucket.py modified: google/gcp_compute_backend_service.py modified: google/gcp_compute_forwarding_rule.py modified: google/gcp_compute_global_forwarding_rule.py modified: google/gcp_compute_image.py modified: google/gcp_compute_instance.py modified: google/gcp_compute_instance_group.py modified: google/gcp_compute_instance_group_manager.py modified: google/gcp_compute_instance_template.py modified: google/gcp_compute_route.py modified: google/gcp_compute_subnetwork.py modified: google/gcp_compute_target_http_proxy.py modified: google/gcp_compute_target_https_proxy.py modified: google/gcp_compute_target_ssl_proxy.py modified: google/gcp_compute_target_tcp_proxy.py modified: google/gcp_compute_url_map.py modified: google/gcp_container_node_pool.py modified: google/gcp_dns_resource_record_set.py modified: google/gcp_pubsub_subscription.py modified: google/gcp_storage_bucket_access_control.py * modified: lib/ansible/modules/cloud/amazon/aws_ses_identity.py modified: lib/ansible/modules/cloud/amazon/route53_facts.py modified: lib/ansible/modules/cloud/cloudscale/cloudscale_server.py modified: lib/ansible/modules/network/aos/_aos_logical_device.py modified: lib/ansible/modules/network/aos/_aos_rack_type.py modified: lib/ansible/modules/network/aos/_aos_template.py modified: lib/ansible/modules/network/cumulus/nclu.py modified: lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_launch.py modified: lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_wait.py
This commit is contained in:
parent
0039df016f
commit
71ce60d943
20 changed files with 46 additions and 0 deletions
|
@ -87,6 +87,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/devstorage.full_control
|
||||
state: present
|
||||
register: bucket
|
||||
|
||||
- name: create a backend bucket
|
||||
gcp_compute_backend_bucket:
|
||||
name: testObject
|
||||
|
|
|
@ -247,6 +247,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: instancegroup
|
||||
|
||||
- name: create a http health check
|
||||
gcp_compute_http_health_check:
|
||||
name: 'httphealthcheck-backendservice'
|
||||
|
@ -261,6 +262,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: healthcheck
|
||||
|
||||
- name: create a backend service
|
||||
gcp_compute_backend_service:
|
||||
name: testObject
|
||||
|
|
|
@ -161,6 +161,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: address
|
||||
|
||||
- name: create a target pool
|
||||
gcp_compute_target_pool:
|
||||
name: 'targetpool-forwardingrule'
|
||||
|
@ -172,6 +173,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: targetpool
|
||||
|
||||
- name: create a forwarding rule
|
||||
gcp_compute_forwarding_rule:
|
||||
name: testObject
|
||||
|
|
|
@ -160,6 +160,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: globaladdress
|
||||
|
||||
- name: create a instance group
|
||||
gcp_compute_instance_group:
|
||||
name: 'instancegroup-globalforwardingrule'
|
||||
|
@ -171,6 +172,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: instancegroup
|
||||
|
||||
- name: create a http health check
|
||||
gcp_compute_http_health_check:
|
||||
name: 'httphealthcheck-globalforwardingrule'
|
||||
|
@ -185,6 +187,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: healthcheck
|
||||
|
||||
- name: create a backend service
|
||||
gcp_compute_backend_service:
|
||||
name: 'backendservice-globalforwardingrule'
|
||||
|
@ -200,6 +203,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: backendservice
|
||||
|
||||
- name: create a url map
|
||||
gcp_compute_url_map:
|
||||
name: 'urlmap-globalforwardingrule'
|
||||
|
@ -211,6 +215,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: urlmap
|
||||
|
||||
- name: create a target http proxy
|
||||
gcp_compute_target_http_proxy:
|
||||
name: 'targethttpproxy-globalforwardingrule'
|
||||
|
@ -222,6 +227,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: httpproxy
|
||||
|
||||
- name: create a global forwarding rule
|
||||
gcp_compute_global_forwarding_rule:
|
||||
name: testObject
|
||||
|
|
|
@ -191,6 +191,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: disk
|
||||
|
||||
- name: create a image
|
||||
gcp_compute_image:
|
||||
name: testObject
|
||||
|
|
|
@ -364,6 +364,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: disk
|
||||
|
||||
- name: create a network
|
||||
gcp_compute_network:
|
||||
name: 'network-instance'
|
||||
|
@ -374,6 +375,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: network
|
||||
|
||||
- name: create a address
|
||||
gcp_compute_address:
|
||||
name: 'address-instance'
|
||||
|
@ -385,6 +387,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: address
|
||||
|
||||
- name: create a instance
|
||||
gcp_compute_instance:
|
||||
name: testObject
|
||||
|
|
|
@ -108,6 +108,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: network
|
||||
|
||||
- name: create a instance group
|
||||
gcp_compute_instance_group:
|
||||
name: testObject
|
||||
|
|
|
@ -116,6 +116,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: network
|
||||
|
||||
- name: create a address
|
||||
gcp_compute_address:
|
||||
name: 'address-instancetemplate'
|
||||
|
@ -127,6 +128,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: address
|
||||
|
||||
- name: create a instance template
|
||||
gcp_compute_instance_template:
|
||||
name: "{{ resource_name }}"
|
||||
|
@ -150,6 +152,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: instancetemplate
|
||||
|
||||
- name: create a instance group manager
|
||||
gcp_compute_instance_group_manager:
|
||||
name: testObject
|
||||
|
|
|
@ -365,6 +365,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: network
|
||||
|
||||
- name: create a address
|
||||
gcp_compute_address:
|
||||
name: 'address-instancetemplate'
|
||||
|
@ -376,6 +377,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: address
|
||||
|
||||
- name: create a instance template
|
||||
gcp_compute_instance_template:
|
||||
name: testObject
|
||||
|
|
|
@ -130,6 +130,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: network
|
||||
|
||||
- name: create a route
|
||||
gcp_compute_route:
|
||||
name: testObject
|
||||
|
|
|
@ -117,6 +117,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: network
|
||||
|
||||
- name: create a subnetwork
|
||||
gcp_compute_subnetwork:
|
||||
name: 'ansiblenet'
|
||||
|
|
|
@ -79,6 +79,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: instancegroup
|
||||
|
||||
- name: create a http health check
|
||||
gcp_compute_http_health_check:
|
||||
name: 'httphealthcheck-targethttpproxy'
|
||||
|
@ -93,6 +94,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: healthcheck
|
||||
|
||||
- name: create a backend service
|
||||
gcp_compute_backend_service:
|
||||
name: 'backendservice-targethttpproxy'
|
||||
|
@ -108,6 +110,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: backendservice
|
||||
|
||||
- name: create a url map
|
||||
gcp_compute_url_map:
|
||||
name: 'urlmap-targethttpproxy'
|
||||
|
@ -119,6 +122,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: urlmap
|
||||
|
||||
- name: create a target http proxy
|
||||
gcp_compute_target_http_proxy:
|
||||
name: testObject
|
||||
|
|
|
@ -84,6 +84,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: instancegroup
|
||||
|
||||
- name: create a http health check
|
||||
gcp_compute_http_health_check:
|
||||
name: 'httphealthcheck-targethttpsproxy'
|
||||
|
@ -98,6 +99,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: healthcheck
|
||||
|
||||
- name: create a backend service
|
||||
gcp_compute_backend_service:
|
||||
name: 'backendservice-targethttpsproxy'
|
||||
|
@ -113,6 +115,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: backendservice
|
||||
|
||||
- name: create a url map
|
||||
gcp_compute_url_map:
|
||||
name: 'urlmap-targethttpsproxy'
|
||||
|
@ -124,6 +127,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: urlmap
|
||||
|
||||
- name: create a ssl certificate
|
||||
gcp_compute_ssl_certificate:
|
||||
name: 'sslcert-targethttpsproxy'
|
||||
|
@ -160,6 +164,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: sslcert
|
||||
|
||||
- name: create a target https proxy
|
||||
gcp_compute_target_https_proxy:
|
||||
name: testObject
|
||||
|
|
|
@ -90,6 +90,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: instancegroup
|
||||
|
||||
- name: create a health check
|
||||
gcp_compute_health_check:
|
||||
name: 'healthcheck-targetsslproxy'
|
||||
|
@ -108,6 +109,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: healthcheck
|
||||
|
||||
- name: create a backend service
|
||||
gcp_compute_backend_service:
|
||||
name: 'backendservice-targetsslproxy'
|
||||
|
@ -123,6 +125,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: backendservice
|
||||
|
||||
- name: create a ssl certificate
|
||||
gcp_compute_ssl_certificate:
|
||||
name: 'sslcert-targetsslproxy'
|
||||
|
@ -159,6 +162,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: sslcert
|
||||
|
||||
- name: create a target ssl proxy
|
||||
gcp_compute_target_ssl_proxy:
|
||||
name: testObject
|
||||
|
|
|
@ -85,6 +85,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: instancegroup
|
||||
|
||||
- name: create a health check
|
||||
gcp_compute_health_check:
|
||||
name: 'healthcheck-targettcpproxy'
|
||||
|
@ -103,6 +104,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: healthcheck
|
||||
|
||||
- name: create a backend service
|
||||
gcp_compute_backend_service:
|
||||
name: 'backendservice-targettcpproxy'
|
||||
|
@ -118,6 +120,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: backendservice
|
||||
|
||||
- name: create a target tcp proxy
|
||||
gcp_compute_target_tcp_proxy:
|
||||
name: testObject
|
||||
|
|
|
@ -155,6 +155,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: instancegroup
|
||||
|
||||
- name: create a http health check
|
||||
gcp_compute_http_health_check:
|
||||
name: 'httphealthcheck-urlmap'
|
||||
|
@ -169,6 +170,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: healthcheck
|
||||
|
||||
- name: create a backend service
|
||||
gcp_compute_backend_service:
|
||||
name: 'backendservice-urlmap'
|
||||
|
@ -184,6 +186,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/compute
|
||||
state: present
|
||||
register: backendservice
|
||||
|
||||
- name: create a url map
|
||||
gcp_compute_url_map:
|
||||
name: testObject
|
||||
|
|
|
@ -221,6 +221,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/cloud-platform
|
||||
state: present
|
||||
register: cluster
|
||||
|
||||
- name: create a node pool
|
||||
gcp_container_node_pool:
|
||||
name: testObject
|
||||
|
|
|
@ -89,6 +89,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/ndev.clouddns.readwrite
|
||||
state: present
|
||||
register: managed_zone
|
||||
|
||||
- name: create a resource record set
|
||||
gcp_dns_resource_record_set:
|
||||
name: 'www.testzone-4.com.'
|
||||
|
|
|
@ -98,6 +98,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/pubsub
|
||||
state: present
|
||||
register: topic
|
||||
|
||||
- name: create a subscription
|
||||
gcp_pubsub_subscription:
|
||||
name: testObject
|
||||
|
|
|
@ -108,6 +108,7 @@ EXAMPLES = '''
|
|||
- https://www.googleapis.com/auth/devstorage.full_control
|
||||
state: present
|
||||
register: bucket
|
||||
|
||||
- name: create a bucket access control
|
||||
gcp_storage_bucket_access_control:
|
||||
bucket: "{{ bucket }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue