From 98d559b3401a301760876cb9cbba9382b358e5ec Mon Sep 17 00:00:00 2001 From: Zach Malone Date: Wed, 10 Jul 2019 17:54:06 +0000 Subject: [PATCH] Fix example names Signed-off-by: Modular Magician --- .../modules/cloud/google/gcp_appengine_firewall_rule.py | 2 +- .../cloud/google/gcp_appengine_firewall_rule_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_bigquery_dataset.py | 2 +- .../modules/cloud/google/gcp_bigquery_dataset_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_bigquery_table.py | 4 ++-- .../modules/cloud/google/gcp_bigquery_table_facts.py | 2 +- .../modules/cloud/google/gcp_cloudbuild_trigger.py | 6 +++--- .../modules/cloud/google/gcp_cloudbuild_trigger_facts.py | 2 +- .../modules/cloud/google/gcp_cloudscheduler_job.py | 2 +- .../modules/cloud/google/gcp_cloudscheduler_job_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_compute_address.py | 2 +- .../modules/cloud/google/gcp_compute_address_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_backend_bucket.py | 4 ++-- .../cloud/google/gcp_compute_backend_bucket_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_backend_service.py | 4 ++-- .../cloud/google/gcp_compute_backend_service_facts.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_compute_disk.py | 4 ++-- .../modules/cloud/google/gcp_compute_disk_facts.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_compute_firewall.py | 4 ++-- .../modules/cloud/google/gcp_compute_firewall_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_forwarding_rule.py | 4 ++-- .../cloud/google/gcp_compute_forwarding_rule_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_global_address.py | 4 ++-- .../cloud/google/gcp_compute_global_address_facts.py | 4 ++-- .../cloud/google/gcp_compute_global_forwarding_rule.py | 4 ++-- .../google/gcp_compute_global_forwarding_rule_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_health_check.py | 4 ++-- .../cloud/google/gcp_compute_health_check_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_http_health_check.py | 4 ++-- .../cloud/google/gcp_compute_http_health_check_facts.py | 4 ++-- .../cloud/google/gcp_compute_https_health_check.py | 4 ++-- .../cloud/google/gcp_compute_https_health_check_facts.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_compute_image.py | 4 ++-- .../modules/cloud/google/gcp_compute_image_facts.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_compute_instance.py | 4 ++-- .../modules/cloud/google/gcp_compute_instance_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_instance_group.py | 4 ++-- .../cloud/google/gcp_compute_instance_group_facts.py | 4 ++-- .../cloud/google/gcp_compute_instance_group_manager.py | 4 ++-- .../google/gcp_compute_instance_group_manager_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_instance_template.py | 4 ++-- .../cloud/google/gcp_compute_instance_template_facts.py | 4 ++-- .../cloud/google/gcp_compute_interconnect_attachment.py | 8 ++++---- .../google/gcp_compute_interconnect_attachment_facts.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_compute_network.py | 4 ++-- .../modules/cloud/google/gcp_compute_network_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_region_disk.py | 4 ++-- .../modules/cloud/google/gcp_compute_region_disk_facts.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_compute_route.py | 4 ++-- .../modules/cloud/google/gcp_compute_route_facts.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_compute_router.py | 4 ++-- .../modules/cloud/google/gcp_compute_router_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_ssl_certificate.py | 4 ++-- .../cloud/google/gcp_compute_ssl_certificate_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_ssl_policy.py | 4 ++-- .../modules/cloud/google/gcp_compute_ssl_policy_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_subnetwork.py | 2 +- .../modules/cloud/google/gcp_compute_subnetwork_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_target_http_proxy.py | 4 ++-- .../cloud/google/gcp_compute_target_http_proxy_facts.py | 4 ++-- .../cloud/google/gcp_compute_target_https_proxy.py | 4 ++-- .../cloud/google/gcp_compute_target_https_proxy_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_target_pool.py | 4 ++-- .../modules/cloud/google/gcp_compute_target_pool_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_target_ssl_proxy.py | 4 ++-- .../cloud/google/gcp_compute_target_ssl_proxy_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_target_tcp_proxy.py | 4 ++-- .../cloud/google/gcp_compute_target_tcp_proxy_facts.py | 4 ++-- .../cloud/google/gcp_compute_target_vpn_gateway.py | 4 ++-- .../cloud/google/gcp_compute_target_vpn_gateway_facts.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_compute_url_map.py | 4 ++-- .../modules/cloud/google/gcp_compute_url_map_facts.py | 4 ++-- .../modules/cloud/google/gcp_compute_vpn_tunnel.py | 4 ++-- .../modules/cloud/google/gcp_compute_vpn_tunnel_facts.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_container_cluster.py | 2 +- .../modules/cloud/google/gcp_container_cluster_facts.py | 2 +- .../modules/cloud/google/gcp_container_node_pool.py | 2 +- .../modules/cloud/google/gcp_container_node_pool_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py | 4 ++-- .../modules/cloud/google/gcp_dns_managed_zone_facts.py | 2 +- .../modules/cloud/google/gcp_dns_resource_record_set.py | 2 +- .../cloud/google/gcp_dns_resource_record_set_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_iam_role.py | 2 +- lib/ansible/modules/cloud/google/gcp_iam_role_facts.py | 2 +- .../modules/cloud/google/gcp_iam_service_account.py | 2 +- .../modules/cloud/google/gcp_iam_service_account_facts.py | 2 +- .../modules/cloud/google/gcp_iam_service_account_key.py | 2 +- .../modules/cloud/google/gcp_pubsub_subscription.py | 4 ++-- .../modules/cloud/google/gcp_pubsub_subscription_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_pubsub_topic.py | 2 +- .../modules/cloud/google/gcp_pubsub_topic_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_redis_instance.py | 2 +- .../modules/cloud/google/gcp_redis_instance_facts.py | 2 +- .../cloud/google/gcp_resourcemanager_project_facts.py | 2 +- .../modules/cloud/google/gcp_sourcerepo_repository.py | 4 ++-- .../cloud/google/gcp_sourcerepo_repository_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_spanner_database.py | 2 +- .../modules/cloud/google/gcp_spanner_database_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_spanner_instance.py | 2 +- .../modules/cloud/google/gcp_spanner_instance_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_sql_database.py | 4 ++-- .../modules/cloud/google/gcp_sql_database_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_sql_instance.py | 2 +- .../modules/cloud/google/gcp_sql_instance_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_sql_user.py | 2 +- lib/ansible/modules/cloud/google/gcp_sql_user_facts.py | 2 +- lib/ansible/modules/cloud/google/gcp_storage_bucket.py | 2 +- .../cloud/google/gcp_storage_bucket_access_control.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_storage_object.py | 2 +- lib/ansible/modules/cloud/google/gcp_tpu_node.py | 4 ++-- lib/ansible/modules/cloud/google/gcp_tpu_node_facts.py | 2 +- 111 files changed, 184 insertions(+), 184 deletions(-) diff --git a/lib/ansible/modules/cloud/google/gcp_appengine_firewall_rule.py b/lib/ansible/modules/cloud/google/gcp_appengine_firewall_rule.py index 286ab554e1f175..3472a796c7ac6a 100644 --- a/lib/ansible/modules/cloud/google/gcp_appengine_firewall_rule.py +++ b/lib/ansible/modules/cloud/google/gcp_appengine_firewall_rule.py @@ -82,7 +82,7 @@ priority: 1000 source_range: 10.0.0.0 action: ALLOW - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_appengine_firewall_rule_facts.py b/lib/ansible/modules/cloud/google/gcp_appengine_firewall_rule_facts.py index c1e187c36cb249..48e3afd52c87d8 100644 --- a/lib/ansible/modules/cloud/google/gcp_appengine_firewall_rule_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_appengine_firewall_rule_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a firewall rule facts" gcp_appengine_firewall_rule_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_bigquery_dataset.py b/lib/ansible/modules/cloud/google/gcp_bigquery_dataset.py index 82105bde1f0a40..6842794c0831c5 100644 --- a/lib/ansible/modules/cloud/google/gcp_bigquery_dataset.py +++ b/lib/ansible/modules/cloud/google/gcp_bigquery_dataset.py @@ -148,7 +148,7 @@ name: my_example_dataset dataset_reference: dataset_id: my_example_dataset - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_bigquery_dataset_facts.py b/lib/ansible/modules/cloud/google/gcp_bigquery_dataset_facts.py index c2890120dde24f..4e92a0041c63ab 100644 --- a/lib/ansible/modules/cloud/google/gcp_bigquery_dataset_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_bigquery_dataset_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a dataset facts" gcp_bigquery_dataset_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_bigquery_table.py b/lib/ansible/modules/cloud/google/gcp_bigquery_table.py index fcd6d2fa61d7b6..91eff432ffd817 100644 --- a/lib/ansible/modules/cloud/google/gcp_bigquery_table.py +++ b/lib/ansible/modules/cloud/google/gcp_bigquery_table.py @@ -399,9 +399,9 @@ dataset: example_dataset table_reference: dataset_id: example_dataset - project_id: test_project + project_id: test-project table_id: example_table - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_bigquery_table_facts.py b/lib/ansible/modules/cloud/google/gcp_bigquery_table_facts.py index 08a8d20c3eb310..75aefdb95a652d 100644 --- a/lib/ansible/modules/cloud/google/gcp_bigquery_table_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_bigquery_table_facts.py @@ -51,7 +51,7 @@ - name: " a table facts" gcp_bigquery_table_facts: dataset: example_dataset - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_cloudbuild_trigger.py b/lib/ansible/modules/cloud/google/gcp_cloudbuild_trigger.py index 2b3d821e8f164a..103f04ffffaced 100644 --- a/lib/ansible/modules/cloud/google/gcp_cloudbuild_trigger.py +++ b/lib/ansible/modules/cloud/google/gcp_cloudbuild_trigger.py @@ -276,10 +276,10 @@ gcp_cloudbuild_trigger: trigger_template: branch_name: master - project_id: test_project - repo_name: test_object + project_id: test-project + repo_name: test-object filename: cloudbuild.yaml - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_cloudbuild_trigger_facts.py b/lib/ansible/modules/cloud/google/gcp_cloudbuild_trigger_facts.py index 283c943027e752..1ec7e3cf861f8e 100644 --- a/lib/ansible/modules/cloud/google/gcp_cloudbuild_trigger_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_cloudbuild_trigger_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a trigger facts" gcp_cloudbuild_trigger_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_cloudscheduler_job.py b/lib/ansible/modules/cloud/google/gcp_cloudscheduler_job.py index 5720b7d527646d..d2cc65400cb82e 100644 --- a/lib/ansible/modules/cloud/google/gcp_cloudscheduler_job.py +++ b/lib/ansible/modules/cloud/google/gcp_cloudscheduler_job.py @@ -230,7 +230,7 @@ version: prod instance: my-instance-001 relative_uri: "/ping" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_cloudscheduler_job_facts.py b/lib/ansible/modules/cloud/google/gcp_cloudscheduler_job_facts.py index b536dabee6680a..e285144e50a744 100644 --- a/lib/ansible/modules/cloud/google/gcp_cloudscheduler_job_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_cloudscheduler_job_facts.py @@ -51,7 +51,7 @@ - name: " a job facts" gcp_cloudscheduler_job_facts: region: us-central1 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_address.py b/lib/ansible/modules/cloud/google/gcp_compute_address.py index 5c0af5ec4bba7e..fad1473acc0cdb 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_address.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_address.py @@ -120,7 +120,7 @@ gcp_compute_address: name: test-address1 region: us-west1 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_address_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_address_facts.py index 94567c3c066951..608eb9d1f143b4 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_address_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_address_facts.py @@ -58,8 +58,8 @@ gcp_compute_address_facts: region: us-west1 filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_backend_bucket.py b/lib/ansible/modules/cloud/google/gcp_compute_backend_bucket.py index 2658387d8c7ed0..5d77acfdfe2589 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_backend_bucket.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_backend_bucket.py @@ -109,11 +109,11 @@ - name: create a backend bucket gcp_compute_backend_bucket: - name: test_object + name: test-object bucket_name: "{{ bucket.name }}" description: A BackendBucket to connect LNB w/ Storage Bucket enable_cdn: 'true' - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_backend_bucket_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_backend_bucket_facts.py index d65f67b21e4c7f..6df336b3386bcd 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_backend_bucket_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_backend_bucket_facts.py @@ -52,8 +52,8 @@ - name: " a backend bucket facts" gcp_compute_backend_bucket_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_backend_service.py b/lib/ansible/modules/cloud/google/gcp_compute_backend_service.py index 135fafd32db9f6..2640d6bd4fb044 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_backend_service.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_backend_service.py @@ -337,13 +337,13 @@ - name: create a backend service gcp_compute_backend_service: - name: test_object + name: test-object backends: - group: "{{ instancegroup.selfLink }}" health_checks: - "{{ healthcheck.selfLink }}" enable_cdn: 'true' - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_backend_service_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_backend_service_facts.py index 1730d98ea698a6..faec086d806939 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_backend_service_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_backend_service_facts.py @@ -52,8 +52,8 @@ - name: " a backend service facts" gcp_compute_backend_service_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_disk.py b/lib/ansible/modules/cloud/google/gcp_compute_disk.py index dce85cf8864869..ba779a13f61fbf 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_disk.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_disk.py @@ -192,12 +192,12 @@ EXAMPLES = ''' - name: create a disk gcp_compute_disk: - name: test_object + name: test-object size_gb: 50 disk_encryption_key: raw_key: SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0= zone: us-central1-a - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_disk_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_disk_facts.py index 41e7338a88ed94..90f90913d8a961 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_disk_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_disk_facts.py @@ -57,8 +57,8 @@ gcp_compute_disk_facts: zone: us-central1-a filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_firewall.py b/lib/ansible/modules/cloud/google/gcp_compute_firewall.py index 24317d03d24d50..aa4aaafa029bc9 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_firewall.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_firewall.py @@ -220,7 +220,7 @@ EXAMPLES = ''' - name: create a firewall gcp_compute_firewall: - name: test_object + name: test-object allowed: - ip_protocol: tcp ports: @@ -230,7 +230,7 @@ - staging-ssh-server source_tags: - test-ssh-clients - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_firewall_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_firewall_facts.py index 31a4d8fd8226ec..eb7d13ad614912 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_firewall_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_firewall_facts.py @@ -52,8 +52,8 @@ - name: " a firewall facts" gcp_compute_firewall_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule.py b/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule.py index d0eb51d642c351..35680c30e92c4d 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule.py @@ -238,13 +238,13 @@ - name: create a forwarding rule gcp_compute_forwarding_rule: - name: test_object + name: test-object region: us-west1 target: "{{ targetpool }}" ip_protocol: TCP port_range: 80-80 ip_address: "{{ address.address }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule_facts.py index bb5d4fc7462cd7..d8d8759cf53363 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_forwarding_rule_facts.py @@ -58,8 +58,8 @@ gcp_compute_forwarding_rule_facts: region: us-west1 filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_global_address.py b/lib/ansible/modules/cloud/google/gcp_compute_global_address.py index c95a264a66128b..e656d41052a1ef 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_global_address.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_global_address.py @@ -117,8 +117,8 @@ EXAMPLES = ''' - name: create a global address gcp_compute_global_address: - name: test_object - project: test_project + name: test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_global_address_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_global_address_facts.py index b03e23a4edfb73..32a215d4284872 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_global_address_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_global_address_facts.py @@ -52,8 +52,8 @@ - name: " a global address facts" gcp_compute_global_address_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule.py b/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule.py index cb93e150296e8b..daf98ad8509d94 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule.py @@ -213,12 +213,12 @@ - name: create a global forwarding rule gcp_compute_global_forwarding_rule: - name: test_object + name: test-object ip_address: "{{ globaladdress.address }}" ip_protocol: TCP port_range: 80-80 target: "{{ httpproxy.selfLink }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule_facts.py index 3cb35bb1f87ae5..3b665d37bcf9b1 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_global_forwarding_rule_facts.py @@ -52,8 +52,8 @@ - name: " a global forwarding rule facts" gcp_compute_global_forwarding_rule_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_health_check.py b/lib/ansible/modules/cloud/google/gcp_compute_health_check.py index 7c129861965d4d..2ec9b0de9076a0 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_health_check.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_health_check.py @@ -259,7 +259,7 @@ EXAMPLES = ''' - name: create a health check gcp_compute_health_check: - name: test_object + name: test-object type: TCP tcp_health_check: port_name: service-health @@ -268,7 +268,7 @@ healthy_threshold: 10 timeout_sec: 2 unhealthy_threshold: 5 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_health_check_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_health_check_facts.py index 03e54747a0628c..90a319be1853ff 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_health_check_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_health_check_facts.py @@ -52,8 +52,8 @@ - name: " a health check facts" gcp_compute_health_check_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_http_health_check.py b/lib/ansible/modules/cloud/google/gcp_compute_http_health_check.py index 5379eebec06718..501885d4cb7590 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_http_health_check.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_http_health_check.py @@ -112,12 +112,12 @@ EXAMPLES = ''' - name: create a http health check gcp_compute_http_health_check: - name: test_object + name: test-object healthy_threshold: 10 port: 8080 timeout_sec: 2 unhealthy_threshold: 5 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_http_health_check_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_http_health_check_facts.py index 9aa682258759eb..0a9ac02d27cc38 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_http_health_check_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_http_health_check_facts.py @@ -52,8 +52,8 @@ - name: " a http health check facts" gcp_compute_http_health_check_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_https_health_check.py b/lib/ansible/modules/cloud/google/gcp_compute_https_health_check.py index 41b496a4c44a79..05143b4e74d3c3 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_https_health_check.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_https_health_check.py @@ -109,12 +109,12 @@ EXAMPLES = ''' - name: create a https health check gcp_compute_https_health_check: - name: test_object + name: test-object healthy_threshold: 10 port: 8080 timeout_sec: 2 unhealthy_threshold: 5 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_https_health_check_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_https_health_check_facts.py index db0728897caf37..8c0f8b7a31b2e7 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_https_health_check_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_https_health_check_facts.py @@ -52,8 +52,8 @@ - name: " a https health check facts" gcp_compute_https_health_check_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_image.py b/lib/ansible/modules/cloud/google/gcp_compute_image.py index 6c012c5c3ed101..bd3464e9530e2e 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_image.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_image.py @@ -198,9 +198,9 @@ - name: create a image gcp_compute_image: - name: test_object + name: test-object source_disk: "{{ disk }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_image_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_image_facts.py index 98b47cb6bc8bdb..1e8e155238eb52 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_image_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_image_facts.py @@ -52,8 +52,8 @@ - name: " a image facts" gcp_compute_image_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_instance.py b/lib/ansible/modules/cloud/google/gcp_compute_instance.py index c8b4f611cc21e9..4a878f323b5338 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_instance.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_instance.py @@ -426,7 +426,7 @@ - name: create a instance gcp_compute_instance: - name: test_object + name: test-object machine_type: n1-standard-1 disks: - auto_delete: 'true' @@ -444,7 +444,7 @@ nat_ip: "{{ address }}" type: ONE_TO_ONE_NAT zone: us-central1-a - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_instance_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_instance_facts.py index eef0b70ada6353..0970273d62cae1 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_instance_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_instance_facts.py @@ -57,8 +57,8 @@ gcp_compute_instance_facts: zone: us-central1-a filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_instance_group.py b/lib/ansible/modules/cloud/google/gcp_compute_instance_group.py index aa482abcd3c860..660ce8c1362a50 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_instance_group.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_instance_group.py @@ -129,13 +129,13 @@ - name: create a instance group gcp_compute_instance_group: - name: test_object + name: test-object named_ports: - name: ansible port: 1234 network: "{{ network }}" zone: us-central1-a - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_instance_group_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_instance_group_facts.py index 5074e622020633..8726dd071fa74b 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_instance_group_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_instance_group_facts.py @@ -57,8 +57,8 @@ gcp_compute_instance_group_facts: zone: us-central1-a filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_instance_group_manager.py b/lib/ansible/modules/cloud/google/gcp_compute_instance_group_manager.py index e5c1cafe34d79f..c018e87c2bb409 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_instance_group_manager.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_instance_group_manager.py @@ -158,12 +158,12 @@ - name: create a instance group manager gcp_compute_instance_group_manager: - name: test_object + name: test-object base_instance_name: test1-child instance_template: "{{ instancetemplate }}" target_size: 3 zone: us-west1-a - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_instance_group_manager_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_instance_group_manager_facts.py index 45036962a2a7a3..7e63b89fb99a45 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_instance_group_manager_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_instance_group_manager_facts.py @@ -57,8 +57,8 @@ gcp_compute_instance_group_manager_facts: zone: us-west1-a filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_instance_template.py b/lib/ansible/modules/cloud/google/gcp_compute_instance_template.py index 24fb4b1d8d3897..61875a17579c6a 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_instance_template.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_instance_template.py @@ -415,7 +415,7 @@ - name: create a instance template gcp_compute_instance_template: - name: test_object + name: test-object properties: disks: - auto_delete: 'true' @@ -429,7 +429,7 @@ - name: test-config type: ONE_TO_ONE_NAT nat_ip: "{{ address }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_instance_template_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_instance_template_facts.py index df70ee49fa8fb7..0149f894d00e31 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_instance_template_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_instance_template_facts.py @@ -52,8 +52,8 @@ - name: " a instance template facts" gcp_compute_instance_template_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment.py b/lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment.py index d917d70d13d5aa..678635df6275a2 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment.py @@ -118,12 +118,12 @@ EXAMPLES = ''' - name: create a interconnect attachment gcp_compute_interconnect_attachment: - name: test_object + name: test-object region: us-central1 - project: test_project + project: test-project auth_kind: serviceaccount - interconnect: https://googleapis.com/compute/v1/projects/test_project/global/interconnects/... - router: https://googleapis.com/compute/v1/projects/test_project/regions/us-central1/routers/... + interconnect: https://googleapis.com/compute/v1/projects/test-project/global/interconnects/... + router: https://googleapis.com/compute/v1/projects/test-project/regions/us-central1/routers/... service_account_file: "/tmp/auth.pem" state: present register: disk diff --git a/lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py index a67aff53f31e76..53ae1fae3fa099 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_interconnect_attachment_facts.py @@ -57,8 +57,8 @@ gcp_compute_interconnect_attachment_facts: region: us-central1 filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_network.py b/lib/ansible/modules/cloud/google/gcp_compute_network.py index 3393f1d58cf10f..350f30347d2be3 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_network.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_network.py @@ -105,9 +105,9 @@ EXAMPLES = ''' - name: create a network gcp_compute_network: - name: test_object + name: test-object auto_create_subnetworks: 'true' - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_network_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_network_facts.py index 5b910d51d5f117..65ec59e02550dd 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_network_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_network_facts.py @@ -52,8 +52,8 @@ - name: " a network facts" gcp_compute_network_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_region_disk.py b/lib/ansible/modules/cloud/google/gcp_compute_region_disk.py index 43a804eb44681b..3340b5c54747f0 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_region_disk.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_region_disk.py @@ -156,7 +156,7 @@ EXAMPLES = ''' - name: create a region disk gcp_compute_region_disk: - name: test_object + name: test-object size_gb: 50 disk_encryption_key: raw_key: SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0= @@ -164,7 +164,7 @@ replica_zones: - https://www.googleapis.com/compute/v1/projects/google.com:graphite-playground/zones/us-central1-a - https://www.googleapis.com/compute/v1/projects/google.com:graphite-playground/zones/us-central1-b - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_region_disk_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_region_disk_facts.py index 600904dacf04ec..e630212cf7a7e0 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_region_disk_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_region_disk_facts.py @@ -57,8 +57,8 @@ gcp_compute_region_disk_facts: region: us-central1 filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_route.py b/lib/ansible/modules/cloud/google/gcp_compute_route.py index cd80b35335d67c..40854ce0456ea1 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_route.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_route.py @@ -154,14 +154,14 @@ - name: create a route gcp_compute_route: - name: test_object + name: test-object dest_range: 192.168.6.0/24 next_hop_gateway: global/gateways/default-internet-gateway network: "{{ network }}" tags: - backends - databases - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_route_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_route_facts.py index 2816957d1f1503..ea20af2ffe09fb 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_route_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_route_facts.py @@ -52,8 +52,8 @@ - name: " a route facts" gcp_compute_route_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_router.py b/lib/ansible/modules/cloud/google/gcp_compute_router.py index 2c5315f4cc9d52..9b48416aaed6af 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_router.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_router.py @@ -134,7 +134,7 @@ - name: create a router gcp_compute_router: - name: test_object + name: test-object network: "{{ network }}" bgp: asn: 64514 @@ -145,7 +145,7 @@ - range: 1.2.3.4 - range: 6.7.0.0/16 region: us-central1 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_router_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_router_facts.py index 581ba1946f61af..2754341ad75c49 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_router_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_router_facts.py @@ -57,8 +57,8 @@ gcp_compute_router_facts: region: us-central1 filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_ssl_certificate.py b/lib/ansible/modules/cloud/google/gcp_compute_ssl_certificate.py index 3bb5f0abeb6787..412db024cf1566 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_ssl_certificate.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_ssl_certificate.py @@ -81,7 +81,7 @@ EXAMPLES = ''' - name: create a ssl certificate gcp_compute_ssl_certificate: - name: test_object + name: test-object description: A certificate for testing. Do not use this certificate in production certificate: "-----BEGIN CERTIFICATE----- MIICqjCCAk+gAwIBAgIJAIuJ+0352Kq4MAoGCCqGSM49BAMCMIGwMQswCQYDVQQG EwJVUzETMBEGA1UECAwKV2FzaGluZ3RvbjERMA8GA1UEBwwIS2lya2xhbmQxFTAT BgNVBAoMDEdvb2dsZSwgSW5jLjEeMBwGA1UECwwVR29vZ2xlIENsb3VkIFBsYXRm @@ -95,7 +95,7 @@ private_key: "-----BEGIN EC PRIVATE KEY----- MHcCAQEEIObtRo8tkUqoMjeHhsOh2ouPpXCgBcP+EDxZCB/tws15oAoGCCqGSM49 AwEHoUQDQgAEHGzpcRJ4XzfBJCCPMQeXQpTXwlblimODQCuQ4mzkzTv0dXyB750f OGN02HtkpBOZzzvUARTR10JQoSe2/5PIwQ== -----END EC PRIVATE KEY-----" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_ssl_certificate_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_ssl_certificate_facts.py index 840d266629a858..7c3c0a515797fe 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_ssl_certificate_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_ssl_certificate_facts.py @@ -52,8 +52,8 @@ - name: " a ssl certificate facts" gcp_compute_ssl_certificate_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_ssl_policy.py b/lib/ansible/modules/cloud/google/gcp_compute_ssl_policy.py index 0a4573a0f9e902..ce80e9755eeae7 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_ssl_policy.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_ssl_policy.py @@ -91,13 +91,13 @@ EXAMPLES = ''' - name: create a ssl policy gcp_compute_ssl_policy: - name: test_object + name: test-object profile: CUSTOM min_tls_version: TLS_1_2 custom_features: - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_ssl_policy_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_ssl_policy_facts.py index 8ebbd8e1366356..5ec2e9c370a974 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_ssl_policy_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_ssl_policy_facts.py @@ -52,8 +52,8 @@ - name: " a ssl policy facts" gcp_compute_ssl_policy_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_subnetwork.py b/lib/ansible/modules/cloud/google/gcp_compute_subnetwork.py index 22a045b4cf809c..74ed698a8592fb 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_subnetwork.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_subnetwork.py @@ -155,7 +155,7 @@ region: us-west1 network: "{{ network }}" ip_cidr_range: 172.16.0.0/16 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_subnetwork_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_subnetwork_facts.py index c977ac6be25fa2..8e4d82baa80dbc 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_subnetwork_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_subnetwork_facts.py @@ -57,8 +57,8 @@ gcp_compute_subnetwork_facts: region: us-west1 filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_http_proxy.py b/lib/ansible/modules/cloud/google/gcp_compute_target_http_proxy.py index c7e73c14ea2d2d..3771dc4621f626 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_http_proxy.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_http_proxy.py @@ -127,9 +127,9 @@ - name: create a target http proxy gcp_compute_target_http_proxy: - name: test_object + name: test-object url_map: "{{ urlmap }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_http_proxy_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_target_http_proxy_facts.py index 810d8290e73b9b..6ff8fbc690798e 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_http_proxy_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_http_proxy_facts.py @@ -52,8 +52,8 @@ - name: " a target http proxy facts" gcp_compute_target_http_proxy_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_https_proxy.py b/lib/ansible/modules/cloud/google/gcp_compute_target_https_proxy.py index d9634e81cc2ccf..080fd72957b390 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_https_proxy.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_https_proxy.py @@ -177,11 +177,11 @@ - name: create a target https proxy gcp_compute_target_https_proxy: - name: test_object + name: test-object ssl_certificates: - "{{ sslcert }}" url_map: "{{ urlmap }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_https_proxy_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_target_https_proxy_facts.py index e409708e8eadc4..69ace0601ddb01 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_https_proxy_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_https_proxy_facts.py @@ -52,8 +52,8 @@ - name: " a target https proxy facts" gcp_compute_target_https_proxy_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_pool.py b/lib/ansible/modules/cloud/google/gcp_compute_target_pool.py index 32a77c9534ce79..321af77a4d8326 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_pool.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_pool.py @@ -133,9 +133,9 @@ EXAMPLES = ''' - name: create a target pool gcp_compute_target_pool: - name: test_object + name: test-object region: us-west1 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_pool_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_target_pool_facts.py index d03166108b02c0..3889fa7c9337e4 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_pool_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_pool_facts.py @@ -57,8 +57,8 @@ gcp_compute_target_pool_facts: region: us-west1 filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_ssl_proxy.py b/lib/ansible/modules/cloud/google/gcp_compute_target_ssl_proxy.py index 2128a76466a71a..6283e75efd3e53 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_ssl_proxy.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_ssl_proxy.py @@ -166,11 +166,11 @@ - name: create a target ssl proxy gcp_compute_target_ssl_proxy: - name: test_object + name: test-object ssl_certificates: - "{{ sslcert }}" service: "{{ backendservice }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_ssl_proxy_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_target_ssl_proxy_facts.py index 202d763806a1cb..5c6cc9ea36531a 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_ssl_proxy_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_ssl_proxy_facts.py @@ -52,8 +52,8 @@ - name: " a target ssl proxy facts" gcp_compute_target_ssl_proxy_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_tcp_proxy.py b/lib/ansible/modules/cloud/google/gcp_compute_target_tcp_proxy.py index 0632dffe7793ef..0be36b821ba1c7 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_tcp_proxy.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_tcp_proxy.py @@ -126,10 +126,10 @@ - name: create a target tcp proxy gcp_compute_target_tcp_proxy: - name: test_object + name: test-object proxy_header: PROXY_V1 service: "{{ backendservice }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_tcp_proxy_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_target_tcp_proxy_facts.py index a2f91c6bff233a..b2eb74e62927b4 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_tcp_proxy_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_tcp_proxy_facts.py @@ -52,8 +52,8 @@ - name: " a target tcp proxy facts" gcp_compute_target_tcp_proxy_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_vpn_gateway.py b/lib/ansible/modules/cloud/google/gcp_compute_target_vpn_gateway.py index 9b7a9805444ba0..d0da62f28abd7b 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_vpn_gateway.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_vpn_gateway.py @@ -101,10 +101,10 @@ - name: create a target vpn gateway gcp_compute_target_vpn_gateway: - name: test_object + name: test-object region: us-west1 network: "{{ network }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_target_vpn_gateway_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_target_vpn_gateway_facts.py index f504147693da0c..ccf62a002b2065 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_target_vpn_gateway_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_target_vpn_gateway_facts.py @@ -57,8 +57,8 @@ gcp_compute_target_vpn_gateway_facts: region: us-west1 filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_url_map.py b/lib/ansible/modules/cloud/google/gcp_compute_url_map.py index 74a68f29dd78dd..2365b42b54ac46 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_url_map.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_url_map.py @@ -207,9 +207,9 @@ - name: create a url map gcp_compute_url_map: - name: test_object + name: test-object default_service: "{{ backendservice }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_url_map_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_url_map_facts.py index 435a5112543d2e..3d8058ffff4c7d 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_url_map_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_url_map_facts.py @@ -52,8 +52,8 @@ - name: " a url map facts" gcp_compute_url_map_facts: filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_compute_vpn_tunnel.py b/lib/ansible/modules/cloud/google/gcp_compute_vpn_tunnel.py index 0e5f74561c0e55..717f80f32b3431 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_vpn_tunnel.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_vpn_tunnel.py @@ -159,12 +159,12 @@ - name: create a vpn tunnel gcp_compute_vpn_tunnel: - name: test_object + name: test-object region: us-west1 target_vpn_gateway: "{{ gateway }}" router: "{{ router }}" shared_secret: super secret - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_compute_vpn_tunnel_facts.py b/lib/ansible/modules/cloud/google/gcp_compute_vpn_tunnel_facts.py index 62cfe4a357f09d..d66903f37f1595 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_vpn_tunnel_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_vpn_tunnel_facts.py @@ -57,8 +57,8 @@ gcp_compute_vpn_tunnel_facts: region: us-west1 filters: - - name = test_object - project: test_project + - name = test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_container_cluster.py b/lib/ansible/modules/cloud/google/gcp_container_cluster.py index 70a140db71963a..1141f6efef25d9 100644 --- a/lib/ansible/modules/cloud/google/gcp_container_cluster.py +++ b/lib/ansible/modules/cloud/google/gcp_container_cluster.py @@ -438,7 +438,7 @@ machine_type: n1-standard-4 disk_size_gb: 500 location: us-central1-a - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_container_cluster_facts.py b/lib/ansible/modules/cloud/google/gcp_container_cluster_facts.py index 0e9aab5df6b297..a2347e98bca7fe 100644 --- a/lib/ansible/modules/cloud/google/gcp_container_cluster_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_container_cluster_facts.py @@ -55,7 +55,7 @@ - name: " a cluster facts" gcp_container_cluster_facts: location: us-central1-a - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_container_node_pool.py b/lib/ansible/modules/cloud/google/gcp_container_node_pool.py index 4dee9654282229..9db89ac80a48aa 100644 --- a/lib/ansible/modules/cloud/google/gcp_container_node_pool.py +++ b/lib/ansible/modules/cloud/google/gcp_container_node_pool.py @@ -299,7 +299,7 @@ initial_node_count: 4 cluster: "{{ cluster }}" location: us-central1-a - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py b/lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py index c04aa3fd575c19..32d86a1f8f8ce5 100644 --- a/lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_container_node_pool_facts.py @@ -65,7 +65,7 @@ gcp_container_node_pool_facts: cluster: "{{ cluster }}" location: us-central1-a - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py b/lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py index 91b0d15544c37b..0d3f388c12fd39 100644 --- a/lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py +++ b/lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py @@ -162,10 +162,10 @@ EXAMPLES = ''' - name: create a managed zone gcp_dns_managed_zone: - name: test_object + name: test-object dns_name: test.somewild2.example.com. description: test zone - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_dns_managed_zone_facts.py b/lib/ansible/modules/cloud/google/gcp_dns_managed_zone_facts.py index 7d78a4e7d562ef..9b2addb367aaac 100644 --- a/lib/ansible/modules/cloud/google/gcp_dns_managed_zone_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_dns_managed_zone_facts.py @@ -50,7 +50,7 @@ - name: " a managed zone facts" gcp_dns_managed_zone_facts: dns_name: test.somewild2.example.com. - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_dns_resource_record_set.py b/lib/ansible/modules/cloud/google/gcp_dns_resource_record_set.py index e23f4273ed1bc8..c2f787891f5326 100644 --- a/lib/ansible/modules/cloud/google/gcp_dns_resource_record_set.py +++ b/lib/ansible/modules/cloud/google/gcp_dns_resource_record_set.py @@ -102,7 +102,7 @@ target: - 10.1.2.3 - 40.5.6.7 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_dns_resource_record_set_facts.py b/lib/ansible/modules/cloud/google/gcp_dns_resource_record_set_facts.py index 9c9ccb31febed8..3c46aa1ed10702 100644 --- a/lib/ansible/modules/cloud/google/gcp_dns_resource_record_set_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_dns_resource_record_set_facts.py @@ -56,7 +56,7 @@ - name: " a resource record set facts" gcp_dns_resource_record_set_facts: managed_zone: "{{ managed_zone }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_iam_role.py b/lib/ansible/modules/cloud/google/gcp_iam_role.py index 6a039654f7cb40..e5ab3b565bc137 100644 --- a/lib/ansible/modules/cloud/google/gcp_iam_role.py +++ b/lib/ansible/modules/cloud/google/gcp_iam_role.py @@ -83,7 +83,7 @@ - iam.roles.list - iam.roles.create - iam.roles.delete - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_iam_role_facts.py b/lib/ansible/modules/cloud/google/gcp_iam_role_facts.py index 4f675013995f0c..fdf44cde66acfc 100644 --- a/lib/ansible/modules/cloud/google/gcp_iam_role_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_iam_role_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a role facts" gcp_iam_role_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_iam_service_account.py b/lib/ansible/modules/cloud/google/gcp_iam_service_account.py index 46674cb7ba9498..ab767d4a18ddf2 100644 --- a/lib/ansible/modules/cloud/google/gcp_iam_service_account.py +++ b/lib/ansible/modules/cloud/google/gcp_iam_service_account.py @@ -63,7 +63,7 @@ gcp_iam_service_account: name: sa-{{ resource_name.split("-")[-1] }}@graphite-playground.google.com.iam.gserviceaccount.com display_name: My Ansible test key - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_iam_service_account_facts.py b/lib/ansible/modules/cloud/google/gcp_iam_service_account_facts.py index 09b417329cc661..60a67305b064f8 100644 --- a/lib/ansible/modules/cloud/google/gcp_iam_service_account_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_iam_service_account_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a service account facts" gcp_iam_service_account_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_iam_service_account_key.py b/lib/ansible/modules/cloud/google/gcp_iam_service_account_key.py index 4ad8cd4054f79b..b7078f2a3f57c0 100644 --- a/lib/ansible/modules/cloud/google/gcp_iam_service_account_key.py +++ b/lib/ansible/modules/cloud/google/gcp_iam_service_account_key.py @@ -91,7 +91,7 @@ service_account: "{{ serviceaccount }}" private_key_type: TYPE_GOOGLE_CREDENTIALS_FILE path: "~/test_account.json" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_pubsub_subscription.py b/lib/ansible/modules/cloud/google/gcp_pubsub_subscription.py index 5aaa6e35828c10..73130bfddeb803 100644 --- a/lib/ansible/modules/cloud/google/gcp_pubsub_subscription.py +++ b/lib/ansible/modules/cloud/google/gcp_pubsub_subscription.py @@ -172,10 +172,10 @@ - name: create a subscription gcp_pubsub_subscription: - name: test_object + name: test-object topic: "{{ topic }}" ack_deadline_seconds: 300 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_pubsub_subscription_facts.py b/lib/ansible/modules/cloud/google/gcp_pubsub_subscription_facts.py index 062a91e9cc549d..de74279de202c8 100644 --- a/lib/ansible/modules/cloud/google/gcp_pubsub_subscription_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_pubsub_subscription_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a subscription facts" gcp_pubsub_subscription_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_pubsub_topic.py b/lib/ansible/modules/cloud/google/gcp_pubsub_topic.py index 46038c6a229355..92f626f5e3882d 100644 --- a/lib/ansible/modules/cloud/google/gcp_pubsub_topic.py +++ b/lib/ansible/modules/cloud/google/gcp_pubsub_topic.py @@ -74,7 +74,7 @@ - name: create a topic gcp_pubsub_topic: name: test-topic1 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_pubsub_topic_facts.py b/lib/ansible/modules/cloud/google/gcp_pubsub_topic_facts.py index 7b794fc8ec821e..2b92dc764e88a4 100644 --- a/lib/ansible/modules/cloud/google/gcp_pubsub_topic_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_pubsub_topic_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a topic facts" gcp_pubsub_topic_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_redis_instance.py b/lib/ansible/modules/cloud/google/gcp_redis_instance.py index 7fa5e41ea82432..62b83aad1e36db 100644 --- a/lib/ansible/modules/cloud/google/gcp_redis_instance.py +++ b/lib/ansible/modules/cloud/google/gcp_redis_instance.py @@ -141,7 +141,7 @@ labels: my_key: my_val other_key: other_val - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_redis_instance_facts.py b/lib/ansible/modules/cloud/google/gcp_redis_instance_facts.py index 5d430423a39f81..7a1740ffdcbb5d 100644 --- a/lib/ansible/modules/cloud/google/gcp_redis_instance_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_redis_instance_facts.py @@ -51,7 +51,7 @@ - name: " a instance facts" gcp_redis_instance_facts: region: us-central1 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_resourcemanager_project_facts.py b/lib/ansible/modules/cloud/google/gcp_resourcemanager_project_facts.py index 512ccbf3e44771..e3dc8c09c0f7d9 100644 --- a/lib/ansible/modules/cloud/google/gcp_resourcemanager_project_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_resourcemanager_project_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a project facts" gcp_resourcemanager_project_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_sourcerepo_repository.py b/lib/ansible/modules/cloud/google/gcp_sourcerepo_repository.py index 4bcee8b3d50d92..8c7b1ff3b55410 100644 --- a/lib/ansible/modules/cloud/google/gcp_sourcerepo_repository.py +++ b/lib/ansible/modules/cloud/google/gcp_sourcerepo_repository.py @@ -62,8 +62,8 @@ EXAMPLES = ''' - name: create a repository gcp_sourcerepo_repository: - name: test_object - project: test_project + name: test-object + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_sourcerepo_repository_facts.py b/lib/ansible/modules/cloud/google/gcp_sourcerepo_repository_facts.py index 1104fc9dbd9ffe..bf4c0c6e9c9807 100644 --- a/lib/ansible/modules/cloud/google/gcp_sourcerepo_repository_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_sourcerepo_repository_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a repository facts" gcp_sourcerepo_repository_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_spanner_database.py b/lib/ansible/modules/cloud/google/gcp_spanner_database.py index fe585a05e82acd..b3b4ee3750062c 100644 --- a/lib/ansible/modules/cloud/google/gcp_spanner_database.py +++ b/lib/ansible/modules/cloud/google/gcp_spanner_database.py @@ -93,7 +93,7 @@ gcp_spanner_database: name: webstore instance: "{{ instance }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py b/lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py index d3e0c5795d1a40..867016e24d68cf 100644 --- a/lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_spanner_database_facts.py @@ -56,7 +56,7 @@ - name: " a database facts" gcp_spanner_database_facts: instance: "{{ instance }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_spanner_instance.py b/lib/ansible/modules/cloud/google/gcp_spanner_instance.py index 588a594a242500..091206957cfb7e 100644 --- a/lib/ansible/modules/cloud/google/gcp_spanner_instance.py +++ b/lib/ansible/modules/cloud/google/gcp_spanner_instance.py @@ -91,7 +91,7 @@ labels: cost_center: ti-1700004 config: regional-us-central1 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_spanner_instance_facts.py b/lib/ansible/modules/cloud/google/gcp_spanner_instance_facts.py index 6b1ecf487a6689..b95e5242e8a17c 100644 --- a/lib/ansible/modules/cloud/google/gcp_spanner_instance_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_spanner_instance_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a instance facts" gcp_spanner_instance_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_sql_database.py b/lib/ansible/modules/cloud/google/gcp_sql_database.py index 608cb2a6eb5e1e..992a6bfcfed717 100644 --- a/lib/ansible/modules/cloud/google/gcp_sql_database.py +++ b/lib/ansible/modules/cloud/google/gcp_sql_database.py @@ -86,10 +86,10 @@ - name: create a database gcp_sql_database: - name: test_object + name: test-object charset: utf8 instance: "{{ instance }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_sql_database_facts.py b/lib/ansible/modules/cloud/google/gcp_sql_database_facts.py index 41d96b1e0912ca..8202fbd474b990 100644 --- a/lib/ansible/modules/cloud/google/gcp_sql_database_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_sql_database_facts.py @@ -51,7 +51,7 @@ - name: " a database facts" gcp_sql_database_facts: instance: "{{ instance }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_sql_instance.py b/lib/ansible/modules/cloud/google/gcp_sql_instance.py index 536a7b643bfb88..5b7aa371fb2910 100644 --- a/lib/ansible/modules/cloud/google/gcp_sql_instance.py +++ b/lib/ansible/modules/cloud/google/gcp_sql_instance.py @@ -298,7 +298,7 @@ value: 8.8.8.8/32 tier: db-n1-standard-1 region: us-central1 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_sql_instance_facts.py b/lib/ansible/modules/cloud/google/gcp_sql_instance_facts.py index 1587eafec33447..313a60c341da0b 100644 --- a/lib/ansible/modules/cloud/google/gcp_sql_instance_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_sql_instance_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: " a instance facts" gcp_sql_instance_facts: - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_sql_user.py b/lib/ansible/modules/cloud/google/gcp_sql_user.py index 6428e7f3416e1c..9ad9a5d833f101 100644 --- a/lib/ansible/modules/cloud/google/gcp_sql_user.py +++ b/lib/ansible/modules/cloud/google/gcp_sql_user.py @@ -96,7 +96,7 @@ host: 10.1.2.3 password: secret-password instance: "{{ instance }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_sql_user_facts.py b/lib/ansible/modules/cloud/google/gcp_sql_user_facts.py index 5b151ef59e6be7..70d8fbab37374b 100644 --- a/lib/ansible/modules/cloud/google/gcp_sql_user_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_sql_user_facts.py @@ -56,7 +56,7 @@ - name: " a user facts" gcp_sql_user_facts: instance: "{{ instance }}" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts diff --git a/lib/ansible/modules/cloud/google/gcp_storage_bucket.py b/lib/ansible/modules/cloud/google/gcp_storage_bucket.py index 3c483eff4041ab..31ce62c90dc7ae 100644 --- a/lib/ansible/modules/cloud/google/gcp_storage_bucket.py +++ b/lib/ansible/modules/cloud/google/gcp_storage_bucket.py @@ -324,7 +324,7 @@ - name: create a bucket gcp_storage_bucket: name: ansible-storage-module - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_storage_bucket_access_control.py b/lib/ansible/modules/cloud/google/gcp_storage_bucket_access_control.py index a91068cb32b610..2792f8fb942b77 100644 --- a/lib/ansible/modules/cloud/google/gcp_storage_bucket_access_control.py +++ b/lib/ansible/modules/cloud/google/gcp_storage_bucket_access_control.py @@ -112,10 +112,10 @@ - name: create a bucket access control gcp_storage_bucket_access_control: - bucket: test_object + bucket: test-object entity: user-alexstephen@google.com role: WRITER - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_storage_object.py b/lib/ansible/modules/cloud/google/gcp_storage_object.py index f373c6b7af5504..b93526092f6f79 100644 --- a/lib/ansible/modules/cloud/google/gcp_storage_object.py +++ b/lib/ansible/modules/cloud/google/gcp_storage_object.py @@ -80,7 +80,7 @@ bucket: ansible-bucket src: modules.zip dest: "~/modules.zip" - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_tpu_node.py b/lib/ansible/modules/cloud/google/gcp_tpu_node.py index d0b815c27f56fb..0b21982fafa09d 100644 --- a/lib/ansible/modules/cloud/google/gcp_tpu_node.py +++ b/lib/ansible/modules/cloud/google/gcp_tpu_node.py @@ -108,12 +108,12 @@ EXAMPLES = ''' - name: create a node gcp_tpu_node: - name: test_object + name: test-object zone: us-central1-b accelerator_type: v3-8 tensorflow_version: '1.11' cidr_block: 10.2.0.0/29 - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: present diff --git a/lib/ansible/modules/cloud/google/gcp_tpu_node_facts.py b/lib/ansible/modules/cloud/google/gcp_tpu_node_facts.py index f11e6ae1db1fe6..d39a955bc23c82 100644 --- a/lib/ansible/modules/cloud/google/gcp_tpu_node_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_tpu_node_facts.py @@ -51,7 +51,7 @@ - name: " a node facts" gcp_tpu_node_facts: zone: us-central1-b - project: test_project + project: test-project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem" state: facts