mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-21 16:39:08 -07:00
Fix examples formatting (#345)
This commit is contained in:
parent
31ba39cac4
commit
a7c830f49d
148 changed files with 330 additions and 334 deletions
|
@ -220,7 +220,7 @@ EXAMPLES = '''
|
|||
credentials_file: "/path/to/your-key.json"
|
||||
project_id: "your-project-name"
|
||||
tasks:
|
||||
- name: create multiple instances
|
||||
- name: Create multiple instances
|
||||
# Basic provisioning example. Create multiple Debian 8 instances in the
|
||||
# us-central1-a Zone of n1-standard-1 machine type.
|
||||
gce:
|
||||
|
@ -260,7 +260,7 @@ EXAMPLES = '''
|
|||
tags:
|
||||
- config
|
||||
|
||||
- name: delete test-instances
|
||||
- name: Delete test-instances
|
||||
# Basic termination of instance.
|
||||
gce:
|
||||
service_account_email: "{{ service_account_email }}"
|
||||
|
|
|
@ -147,7 +147,7 @@ author: "Gwenael Pellen (@GwenaelPellenArkeup) <gwenael.pellen@arkeup.com>"
|
|||
|
||||
EXAMPLES = '''
|
||||
# Usage
|
||||
- name: create instance template named foo
|
||||
- name: Create instance template named foo
|
||||
gce_instance_template:
|
||||
name: foo
|
||||
size: n1-standard-1
|
||||
|
@ -165,7 +165,7 @@ EXAMPLES = '''
|
|||
credentials_file: "/path/to/your-key.json"
|
||||
project_id: "your-project-name"
|
||||
tasks:
|
||||
- name: create instance template
|
||||
- name: Create instance template
|
||||
gce_instance_template:
|
||||
name: my-test-instance-template
|
||||
size: n1-standard-1
|
||||
|
@ -174,7 +174,7 @@ EXAMPLES = '''
|
|||
project_id: "{{ project_id }}"
|
||||
credentials_file: "{{ credentials_file }}"
|
||||
service_account_email: "{{ service_account_email }}"
|
||||
- name: delete instance template
|
||||
- name: Delete instance template
|
||||
gce_instance_template:
|
||||
name: my-test-instance-template
|
||||
size: n1-standard-1
|
||||
|
@ -192,7 +192,7 @@ EXAMPLES = '''
|
|||
credentials_file: "/path/to/your-key.json"
|
||||
project_id: "your-project-name"
|
||||
tasks:
|
||||
- name: create instance template
|
||||
- name: Create instance template
|
||||
gce_instance_template:
|
||||
name: foo
|
||||
size: n1-standard-1
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a dataset
|
||||
- name: Get info on a dataset
|
||||
gcp_bigquery_dataset_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -93,7 +93,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a table
|
||||
- name: Get info on a table
|
||||
gcp_bigquery_table_info:
|
||||
dataset: example_dataset
|
||||
project: test_project
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a trigger
|
||||
- name: Get info on a trigger
|
||||
gcp_cloudbuild_trigger_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -100,7 +100,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an address
|
||||
- name: Get info on an address
|
||||
gcp_compute_address_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a backend bucket
|
||||
- name: Get info on a backend bucket
|
||||
gcp_compute_backend_bucket_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a backend service
|
||||
- name: Get info on a backend service
|
||||
gcp_compute_backend_service_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a disk
|
||||
- name: Get info on a disk
|
||||
gcp_compute_disk_info:
|
||||
zone: us-central1-a
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a firewall
|
||||
- name: Get info on a firewall
|
||||
gcp_compute_firewall_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -100,7 +100,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a forwarding rule
|
||||
- name: Get info on a forwarding rule
|
||||
gcp_compute_forwarding_rule_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a global address
|
||||
- name: Get info on a global address
|
||||
gcp_compute_global_address_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a global forwarding rule
|
||||
- name: Get info on a global forwarding rule
|
||||
gcp_compute_global_forwarding_rule_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a health check
|
||||
- name: Get info on a health check
|
||||
gcp_compute_health_check_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a HTTP health check
|
||||
- name: Get info on a HTTP health check
|
||||
gcp_compute_http_health_check_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a HTTPS health check
|
||||
- name: Get info on a HTTPS health check
|
||||
gcp_compute_https_health_check_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an image
|
||||
- name: Get info on an image
|
||||
gcp_compute_image_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an instance group
|
||||
- name: Get info on an instance group
|
||||
gcp_compute_instance_group_info:
|
||||
zone: us-central1-a
|
||||
filters:
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an instance group manager
|
||||
- name: Get info on an instance group manager
|
||||
gcp_compute_instance_group_manager_info:
|
||||
zone: us-west1-a
|
||||
filters:
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an instance
|
||||
- name: Get info on an instance
|
||||
gcp_compute_instance_info:
|
||||
zone: us-central1-a
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an instance template
|
||||
- name: Get info on an instance template
|
||||
gcp_compute_instance_template_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an interconnect attachment
|
||||
- name: Get info on an interconnect attachment
|
||||
gcp_compute_interconnect_attachment_info:
|
||||
region: us-central1
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a network
|
||||
- name: Get info on a network
|
||||
gcp_compute_network_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a region disk
|
||||
- name: Get info on a region disk
|
||||
gcp_compute_region_disk_info:
|
||||
region: us-central1
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a route
|
||||
- name: Get info on a route
|
||||
gcp_compute_route_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a router
|
||||
- name: Get info on a router
|
||||
gcp_compute_router_info:
|
||||
region: us-central1
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a SSL certificate
|
||||
- name: Get info on a SSL certificate
|
||||
gcp_compute_ssl_certificate_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a SSL policy
|
||||
- name: Get info on a SSL policy
|
||||
gcp_compute_ssl_policy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a subnetwork
|
||||
- name: Get info on a subnetwork
|
||||
gcp_compute_subnetwork_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a target HTTP proxy
|
||||
- name: Get info on a target HTTP proxy
|
||||
gcp_compute_target_http_proxy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a target HTTPS proxy
|
||||
- name: Get info on a target HTTPS proxy
|
||||
gcp_compute_target_https_proxy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a target pool
|
||||
- name: Get info on a target pool
|
||||
gcp_compute_target_pool_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a target SSL proxy
|
||||
- name: Get info on a target SSL proxy
|
||||
gcp_compute_target_ssl_proxy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a target TCP proxy
|
||||
- name: Get info on a target TCP proxy
|
||||
gcp_compute_target_tcp_proxy_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a target vpn gateway
|
||||
- name: Get info on a target vpn gateway
|
||||
gcp_compute_target_vpn_gateway_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
|
|
|
@ -94,7 +94,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an URL map
|
||||
- name: Get info on an URL map
|
||||
gcp_compute_url_map_info:
|
||||
filters:
|
||||
- name = test_object
|
||||
|
|
|
@ -99,7 +99,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a vpn tunnel
|
||||
- name: Get info on a vpn tunnel
|
||||
gcp_compute_vpn_tunnel_info:
|
||||
region: us-west1
|
||||
filters:
|
||||
|
|
|
@ -96,7 +96,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a cluster
|
||||
- name: Get info on a cluster
|
||||
gcp_container_cluster_info:
|
||||
location: us-central1-a
|
||||
project: test_project
|
||||
|
|
|
@ -106,7 +106,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a node pool
|
||||
- name: Get info on a node pool
|
||||
gcp_container_node_pool_info:
|
||||
cluster: "{{ cluster }}"
|
||||
location: us-central1-a
|
||||
|
|
|
@ -92,7 +92,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a managed zone
|
||||
- name: Get info on a managed zone
|
||||
gcp_dns_managed_zone_info:
|
||||
dns_name: test.somewild2.example.com.
|
||||
project: test_project
|
||||
|
|
|
@ -95,7 +95,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a resource record set
|
||||
- name: Get info on a resource record set
|
||||
gcp_dns_resource_record_set_info:
|
||||
managed_zone: "{{ managed_zone }}"
|
||||
project: test_project
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a role
|
||||
- name: Get info on a role
|
||||
gcp_iam_role_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a service account
|
||||
- name: Get info on a service account
|
||||
gcp_iam_service_account_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a subscription
|
||||
- name: Get info on a subscription
|
||||
gcp_pubsub_subscription_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a topic
|
||||
- name: Get info on a topic
|
||||
gcp_pubsub_topic_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -93,7 +93,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an instance
|
||||
- name: Get info on an instance
|
||||
gcp_redis_instance_info:
|
||||
region: us-central1
|
||||
project: test_project
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a project
|
||||
- name: Get info on a project
|
||||
gcp_resourcemanager_project_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a repository
|
||||
- name: Get info on a repository
|
||||
gcp_sourcerepo_repository_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -98,7 +98,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a database
|
||||
- name: Get info on a database
|
||||
gcp_spanner_database_info:
|
||||
instance: "{{ instance }}"
|
||||
project: test_project
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an instance
|
||||
- name: Get info on an instance
|
||||
gcp_spanner_instance_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -93,7 +93,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a database
|
||||
- name: Get info on a database
|
||||
gcp_sql_database_info:
|
||||
instance: "{{ instance.name }}"
|
||||
project: test_project
|
||||
|
|
|
@ -88,7 +88,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on an instance
|
||||
- name: Get info on an instance
|
||||
gcp_sql_instance_info:
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
|
|
|
@ -98,7 +98,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a user
|
||||
- name: Get info on a user
|
||||
gcp_sql_user_info:
|
||||
instance: "{{ instance }}"
|
||||
project: test_project
|
||||
|
|
|
@ -93,7 +93,7 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: get info on a node
|
||||
- name: Get info on a node
|
||||
gcp_tpu_node_info:
|
||||
zone: us-central1-b
|
||||
project: test_project
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue