diff --git a/plugins/modules/gcp_compute_backend_bucket.py b/plugins/modules/gcp_compute_backend_bucket.py index 9f1c227..2d18e7c 100644 --- a/plugins/modules/gcp_compute_backend_bucket.py +++ b/plugins/modules/gcp_compute_backend_bucket.py @@ -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 diff --git a/plugins/modules/gcp_compute_backend_service.py b/plugins/modules/gcp_compute_backend_service.py index 40bb6a8..1011801 100644 --- a/plugins/modules/gcp_compute_backend_service.py +++ b/plugins/modules/gcp_compute_backend_service.py @@ -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 diff --git a/plugins/modules/gcp_compute_forwarding_rule.py b/plugins/modules/gcp_compute_forwarding_rule.py index 9faca26..ac63200 100644 --- a/plugins/modules/gcp_compute_forwarding_rule.py +++ b/plugins/modules/gcp_compute_forwarding_rule.py @@ -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 diff --git a/plugins/modules/gcp_compute_global_forwarding_rule.py b/plugins/modules/gcp_compute_global_forwarding_rule.py index 503e131..93c64e4 100644 --- a/plugins/modules/gcp_compute_global_forwarding_rule.py +++ b/plugins/modules/gcp_compute_global_forwarding_rule.py @@ -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 diff --git a/plugins/modules/gcp_compute_image.py b/plugins/modules/gcp_compute_image.py index c096ada..a35b2a3 100644 --- a/plugins/modules/gcp_compute_image.py +++ b/plugins/modules/gcp_compute_image.py @@ -191,6 +191,7 @@ EXAMPLES = ''' - https://www.googleapis.com/auth/compute state: present register: disk + - name: create a image gcp_compute_image: name: testObject diff --git a/plugins/modules/gcp_compute_instance.py b/plugins/modules/gcp_compute_instance.py index 67811eb..ac0d567 100644 --- a/plugins/modules/gcp_compute_instance.py +++ b/plugins/modules/gcp_compute_instance.py @@ -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 diff --git a/plugins/modules/gcp_compute_instance_group.py b/plugins/modules/gcp_compute_instance_group.py index e6f5bc3..ec2fcb9 100644 --- a/plugins/modules/gcp_compute_instance_group.py +++ b/plugins/modules/gcp_compute_instance_group.py @@ -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 diff --git a/plugins/modules/gcp_compute_instance_group_manager.py b/plugins/modules/gcp_compute_instance_group_manager.py index 6283afe..fefe7f3 100644 --- a/plugins/modules/gcp_compute_instance_group_manager.py +++ b/plugins/modules/gcp_compute_instance_group_manager.py @@ -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 diff --git a/plugins/modules/gcp_compute_instance_template.py b/plugins/modules/gcp_compute_instance_template.py index 52b9d54..f086c5f 100644 --- a/plugins/modules/gcp_compute_instance_template.py +++ b/plugins/modules/gcp_compute_instance_template.py @@ -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 diff --git a/plugins/modules/gcp_compute_route.py b/plugins/modules/gcp_compute_route.py index 793b6c6..1555935 100644 --- a/plugins/modules/gcp_compute_route.py +++ b/plugins/modules/gcp_compute_route.py @@ -130,6 +130,7 @@ EXAMPLES = ''' - https://www.googleapis.com/auth/compute state: present register: network + - name: create a route gcp_compute_route: name: testObject diff --git a/plugins/modules/gcp_compute_subnetwork.py b/plugins/modules/gcp_compute_subnetwork.py index 40bbfc4..3d3e2cf 100644 --- a/plugins/modules/gcp_compute_subnetwork.py +++ b/plugins/modules/gcp_compute_subnetwork.py @@ -117,6 +117,7 @@ EXAMPLES = ''' - https://www.googleapis.com/auth/compute state: present register: network + - name: create a subnetwork gcp_compute_subnetwork: name: 'ansiblenet' diff --git a/plugins/modules/gcp_compute_target_http_proxy.py b/plugins/modules/gcp_compute_target_http_proxy.py index 0434660..7b8fe53 100644 --- a/plugins/modules/gcp_compute_target_http_proxy.py +++ b/plugins/modules/gcp_compute_target_http_proxy.py @@ -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 diff --git a/plugins/modules/gcp_compute_target_https_proxy.py b/plugins/modules/gcp_compute_target_https_proxy.py index a5436c4..46deaf0 100644 --- a/plugins/modules/gcp_compute_target_https_proxy.py +++ b/plugins/modules/gcp_compute_target_https_proxy.py @@ -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 diff --git a/plugins/modules/gcp_compute_target_ssl_proxy.py b/plugins/modules/gcp_compute_target_ssl_proxy.py index 52dc5c3..6103751 100644 --- a/plugins/modules/gcp_compute_target_ssl_proxy.py +++ b/plugins/modules/gcp_compute_target_ssl_proxy.py @@ -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 diff --git a/plugins/modules/gcp_compute_target_tcp_proxy.py b/plugins/modules/gcp_compute_target_tcp_proxy.py index 71e929d..3fb6733 100644 --- a/plugins/modules/gcp_compute_target_tcp_proxy.py +++ b/plugins/modules/gcp_compute_target_tcp_proxy.py @@ -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 diff --git a/plugins/modules/gcp_compute_url_map.py b/plugins/modules/gcp_compute_url_map.py index bab7d28..874341a 100644 --- a/plugins/modules/gcp_compute_url_map.py +++ b/plugins/modules/gcp_compute_url_map.py @@ -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 diff --git a/plugins/modules/gcp_container_node_pool.py b/plugins/modules/gcp_container_node_pool.py index 039bf39..88e76de 100644 --- a/plugins/modules/gcp_container_node_pool.py +++ b/plugins/modules/gcp_container_node_pool.py @@ -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 diff --git a/plugins/modules/gcp_dns_resource_record_set.py b/plugins/modules/gcp_dns_resource_record_set.py index bb1a2c2..492a938 100644 --- a/plugins/modules/gcp_dns_resource_record_set.py +++ b/plugins/modules/gcp_dns_resource_record_set.py @@ -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.' diff --git a/plugins/modules/gcp_pubsub_subscription.py b/plugins/modules/gcp_pubsub_subscription.py index 53fbb2d..a043e08 100644 --- a/plugins/modules/gcp_pubsub_subscription.py +++ b/plugins/modules/gcp_pubsub_subscription.py @@ -98,6 +98,7 @@ EXAMPLES = ''' - https://www.googleapis.com/auth/pubsub state: present register: topic + - name: create a subscription gcp_pubsub_subscription: name: testObject diff --git a/plugins/modules/gcp_storage_bucket_access_control.py b/plugins/modules/gcp_storage_bucket_access_control.py index 5f12aa8..1e6df37 100644 --- a/plugins/modules/gcp_storage_bucket_access_control.py +++ b/plugins/modules/gcp_storage_bucket_access_control.py @@ -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 }}"