diff --git a/plugins/modules/cloud/alicloud/ali_instance.py b/plugins/modules/cloud/alicloud/ali_instance.py index 51eb8a80a1..0702671d19 100644 --- a/plugins/modules/cloud/alicloud/ali_instance.py +++ b/plugins/modules/cloud/alicloud/ali_instance.py @@ -246,7 +246,7 @@ extends_documentation_fragment: EXAMPLES = ''' # basic provisioning example vpc network -- name: basic provisioning example +- name: Basic provisioning example hosts: localhost vars: alicloud_access_key: @@ -268,7 +268,7 @@ EXAMPLES = ''' force: True tasks: - - name: launch ECS instance in VPC network + - name: Launch ECS instance in VPC network ali_instance: alicloud_access_key: '{{ alicloud_access_key }}' alicloud_secret_key: '{{ alicloud_secret_key }}' @@ -286,7 +286,7 @@ EXAMPLES = ''' host_name: '{{ host_name }}' password: '{{ password }}' - - name: with count and count_tag to create a number of instances + - name: With count and count_tag to create a number of instances ali_instance: alicloud_access_key: '{{ alicloud_access_key }}' alicloud_secret_key: '{{ alicloud_secret_key }}' @@ -308,7 +308,7 @@ EXAMPLES = ''' host_name: '{{ host_name }}' password: '{{ password }}' - - name: start instance + - name: Start instance ali_instance: alicloud_access_key: '{{ alicloud_access_key }}' alicloud_secret_key: '{{ alicloud_secret_key }}' @@ -316,7 +316,7 @@ EXAMPLES = ''' instance_ids: '{{ instance_ids }}' state: 'running' - - name: reboot instance forcibly + - name: Reboot instance forcibly ecs: alicloud_access_key: '{{ alicloud_access_key }}' alicloud_secret_key: '{{ alicloud_secret_key }}' diff --git a/plugins/modules/cloud/centurylink/clc_aa_policy.py b/plugins/modules/cloud/centurylink/clc_aa_policy.py index 8367f903c6..3f3ac1351b 100644 --- a/plugins/modules/cloud/centurylink/clc_aa_policy.py +++ b/plugins/modules/cloud/centurylink/clc_aa_policy.py @@ -81,7 +81,7 @@ EXAMPLES = ''' state: absent register: policy - - name: debug + - name: Debug debug: var: policy ''' diff --git a/plugins/modules/cloud/centurylink/clc_alert_policy.py b/plugins/modules/cloud/centurylink/clc_alert_policy.py index 843ad840f5..17211a2a71 100644 --- a/plugins/modules/cloud/centurylink/clc_alert_policy.py +++ b/plugins/modules/cloud/centurylink/clc_alert_policy.py @@ -86,7 +86,7 @@ EXAMPLES = ''' state: present register: policy - - name: debug + - name: Debug debug: var=policy --- @@ -102,7 +102,7 @@ EXAMPLES = ''' state: absent register: policy - - name: debug + - name: Debug debug: var=policy ''' diff --git a/plugins/modules/cloud/centurylink/clc_group.py b/plugins/modules/cloud/centurylink/clc_group.py index 313a37c81e..216629a04e 100644 --- a/plugins/modules/cloud/centurylink/clc_group.py +++ b/plugins/modules/cloud/centurylink/clc_group.py @@ -76,7 +76,7 @@ EXAMPLES = ''' state: present register: clc - - name: debug + - name: Debug debug: var: clc @@ -95,7 +95,7 @@ EXAMPLES = ''' state: absent register: clc - - name: debug + - name: Debug debug: var: clc ''' diff --git a/plugins/modules/cloud/centurylink/clc_modify_server.py b/plugins/modules/cloud/centurylink/clc_modify_server.py index 236cf7f364..45b21bd009 100644 --- a/plugins/modules/cloud/centurylink/clc_modify_server.py +++ b/plugins/modules/cloud/centurylink/clc_modify_server.py @@ -69,7 +69,7 @@ notes: EXAMPLES = ''' # Note - You must set the CLC_V2_API_USERNAME And CLC_V2_API_PASSWD Environment variables before running these examples -- name: set the cpu count to 4 on a server +- name: Set the cpu count to 4 on a server clc_modify_server: server_ids: - UC1TESTSVR01 @@ -77,7 +77,7 @@ EXAMPLES = ''' cpu: 4 state: present -- name: set the memory to 8GB on a server +- name: Set the memory to 8GB on a server clc_modify_server: server_ids: - UC1TESTSVR01 @@ -85,7 +85,7 @@ EXAMPLES = ''' memory: 8 state: present -- name: set the anti affinity policy on a server +- name: Set the anti affinity policy on a server clc_modify_server: server_ids: - UC1TESTSVR01 @@ -93,7 +93,7 @@ EXAMPLES = ''' anti_affinity_policy_name: 'aa_policy' state: present -- name: remove the anti affinity policy on a server +- name: Remove the anti affinity policy on a server clc_modify_server: server_ids: - UC1TESTSVR01 @@ -101,7 +101,7 @@ EXAMPLES = ''' anti_affinity_policy_name: 'aa_policy' state: absent -- name: add the alert policy on a server +- name: Add the alert policy on a server clc_modify_server: server_ids: - UC1TESTSVR01 @@ -109,7 +109,7 @@ EXAMPLES = ''' alert_policy_name: 'alert_policy' state: present -- name: remove the alert policy on a server +- name: Remove the alert policy on a server clc_modify_server: server_ids: - UC1TESTSVR01 @@ -117,7 +117,7 @@ EXAMPLES = ''' alert_policy_name: 'alert_policy' state: absent -- name: set the memory to 16GB and cpu to 8 core on a lust if servers +- name: Ret the memory to 16GB and cpu to 8 core on a lust if servers clc_modify_server: server_ids: - UC1TESTSVR01 diff --git a/plugins/modules/cloud/centurylink/clc_publicip.py b/plugins/modules/cloud/centurylink/clc_publicip.py index f9ba1b93cc..ff1c1773a9 100644 --- a/plugins/modules/cloud/centurylink/clc_publicip.py +++ b/plugins/modules/cloud/centurylink/clc_publicip.py @@ -72,7 +72,7 @@ EXAMPLES = ''' state: present register: clc - - name: debug + - name: Debug debug: var: clc @@ -89,7 +89,7 @@ EXAMPLES = ''' state: absent register: clc - - name: debug + - name: Debug debug: var: clc ''' diff --git a/plugins/modules/cloud/digital_ocean/digital_ocean_certificate.py b/plugins/modules/cloud/digital_ocean/digital_ocean_certificate.py index ae9b64ae16..98cf32615b 100644 --- a/plugins/modules/cloud/digital_ocean/digital_ocean_certificate.py +++ b/plugins/modules/cloud/digital_ocean/digital_ocean_certificate.py @@ -43,7 +43,7 @@ notes: EXAMPLES = ''' -- name: create a certificate +- name: Create a certificate digital_ocean_certificate: name: production state: present @@ -51,7 +51,7 @@ EXAMPLES = ''' leaf_certificate: "-----BEGIN CERTIFICATE-----\nMIIFDmg2Iaw==\n-----END CERTIFICATE-----" oauth_token: b7d03a6947b217efb6f3ec3bd365652 -- name: create a certificate using file lookup plugin +- name: Create a certificate using file lookup plugin digital_ocean_certificate: name: production state: present @@ -59,7 +59,7 @@ EXAMPLES = ''' leaf_certificate: "{{ lookup('file', 'test.cert') }}" oauth_token: "{{ oauth_token }}" -- name: create a certificate with trust chain +- name: Create a certificate with trust chain digital_ocean_certificate: name: production state: present @@ -68,7 +68,7 @@ EXAMPLES = ''' certificate_chain: "{{ lookup('file', 'chain.cert') }}" oauth_token: "{{ oauth_token }}" -- name: remove a certificate +- name: Remove a certificate digital_ocean_certificate: name: production state: absent diff --git a/plugins/modules/cloud/digital_ocean/digital_ocean_droplet.py b/plugins/modules/cloud/digital_ocean/digital_ocean_droplet.py index 3def036c00..2c1e489db0 100644 --- a/plugins/modules/cloud/digital_ocean/digital_ocean_droplet.py +++ b/plugins/modules/cloud/digital_ocean/digital_ocean_droplet.py @@ -105,7 +105,7 @@ requirements: EXAMPLES = ''' -- name: create a new droplet +- name: Create a new droplet digital_ocean_droplet: state: present name: mydroplet @@ -120,7 +120,7 @@ EXAMPLES = ''' - debug: msg: "ID is {{ my_droplet.data.droplet.id }}, IP is {{ my_droplet.data.ip_address }}" -- name: ensure a droplet is present +- name: Ensure a droplet is present digital_ocean_droplet: state: present id: 123 @@ -131,7 +131,7 @@ EXAMPLES = ''' image: ubuntu-16-04-x64 wait_timeout: 500 -- name: ensure a droplet is present with SSH keys installed +- name: Ensure a droplet is present with SSH keys installed digital_ocean_droplet: state: present id: 123 diff --git a/plugins/modules/cloud/digital_ocean/digital_ocean_tag.py b/plugins/modules/cloud/digital_ocean/digital_ocean_tag.py index e231946f4f..d093a7dea2 100644 --- a/plugins/modules/cloud/digital_ocean/digital_ocean_tag.py +++ b/plugins/modules/cloud/digital_ocean/digital_ocean_tag.py @@ -51,12 +51,12 @@ requirements: EXAMPLES = ''' -- name: create a tag +- name: Create a tag digital_ocean_tag: name: production state: present -- name: tag a resource; creating the tag if it does not exist +- name: Tag a resource; creating the tag if it does not exist digital_ocean_tag: name: "{{ item }}" resource_id: "73333005" @@ -65,7 +65,7 @@ EXAMPLES = ''' - staging - dbserver -- name: untag a resource +- name: Untag a resource digital_ocean_tag: name: staging resource_id: "73333005" @@ -73,7 +73,7 @@ EXAMPLES = ''' # Deleting a tag also untags all the resources that have previously been # tagged with it -- name: remove a tag +- name: Remove a tag digital_ocean_tag: name: dbserver state: absent diff --git a/plugins/modules/cloud/docker/docker_container.py b/plugins/modules/cloud/docker/docker_container.py index c179604f51..1aa25c674b 100644 --- a/plugins/modules/cloud/docker/docker_container.py +++ b/plugins/modules/cloud/docker/docker_container.py @@ -892,7 +892,7 @@ EXAMPLES = ''' command: sleep 1d with_sequence: count=4 -- name: remove container +- name: Remove container docker_container: name: ohno state: absent @@ -1031,7 +1031,7 @@ EXAMPLES = ''' # The "NONE" check needs to be specified test: ["NONE"] -- name: start container with block device read limit +- name: Start container with block device read limit docker_container: name: test image: ubuntu:18.04 diff --git a/plugins/modules/cloud/docker/docker_image.py b/plugins/modules/cloud/docker/docker_image.py index 65ac428a34..4bfcb3eca3 100644 --- a/plugins/modules/cloud/docker/docker_image.py +++ b/plugins/modules/cloud/docker/docker_image.py @@ -312,7 +312,7 @@ author: EXAMPLES = ''' -- name: pull an image +- name: Pull an image docker_image: name: pacur/centos-7 source: pull diff --git a/plugins/modules/cloud/google/gce.py b/plugins/modules/cloud/google/gce.py index 4e34be9f5d..23c342afd0 100644 --- a/plugins/modules/cloud/google/gce.py +++ b/plugins/modules/cloud/google/gce.py @@ -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 }}" diff --git a/plugins/modules/cloud/google/gce_instance_template.py b/plugins/modules/cloud/google/gce_instance_template.py index e42e1c08e6..147587ce1b 100644 --- a/plugins/modules/cloud/google/gce_instance_template.py +++ b/plugins/modules/cloud/google/gce_instance_template.py @@ -147,7 +147,7 @@ author: "Gwenael Pellen (@GwenaelPellenArkeup) " 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 diff --git a/plugins/modules/cloud/google/gcp_bigquery_dataset_info.py b/plugins/modules/cloud/google/gcp_bigquery_dataset_info.py index 4c5d9929f2..e06f17b312 100644 --- a/plugins/modules/cloud/google/gcp_bigquery_dataset_info.py +++ b/plugins/modules/cloud/google/gcp_bigquery_dataset_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_bigquery_table_info.py b/plugins/modules/cloud/google/gcp_bigquery_table_info.py index bb3b2ce8a6..c2ecd4f9ed 100644 --- a/plugins/modules/cloud/google/gcp_bigquery_table_info.py +++ b/plugins/modules/cloud/google/gcp_bigquery_table_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_cloudbuild_trigger_info.py b/plugins/modules/cloud/google/gcp_cloudbuild_trigger_info.py index b9ab6c2911..ae0b5ebe62 100644 --- a/plugins/modules/cloud/google/gcp_cloudbuild_trigger_info.py +++ b/plugins/modules/cloud/google/gcp_cloudbuild_trigger_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_address_info.py b/plugins/modules/cloud/google/gcp_compute_address_info.py index 341b54e31b..4ac3cb240c 100644 --- a/plugins/modules/cloud/google/gcp_compute_address_info.py +++ b/plugins/modules/cloud/google/gcp_compute_address_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_backend_bucket_info.py b/plugins/modules/cloud/google/gcp_compute_backend_bucket_info.py index 2ac4677a22..f9cde48de4 100644 --- a/plugins/modules/cloud/google/gcp_compute_backend_bucket_info.py +++ b/plugins/modules/cloud/google/gcp_compute_backend_bucket_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_backend_service_info.py b/plugins/modules/cloud/google/gcp_compute_backend_service_info.py index e964c8befd..95a60beac1 100644 --- a/plugins/modules/cloud/google/gcp_compute_backend_service_info.py +++ b/plugins/modules/cloud/google/gcp_compute_backend_service_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_disk_info.py b/plugins/modules/cloud/google/gcp_compute_disk_info.py index 437d855a49..886bfb8374 100644 --- a/plugins/modules/cloud/google/gcp_compute_disk_info.py +++ b/plugins/modules/cloud/google/gcp_compute_disk_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_firewall_info.py b/plugins/modules/cloud/google/gcp_compute_firewall_info.py index d01ece07c4..aefee6feca 100644 --- a/plugins/modules/cloud/google/gcp_compute_firewall_info.py +++ b/plugins/modules/cloud/google/gcp_compute_firewall_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_forwarding_rule_info.py b/plugins/modules/cloud/google/gcp_compute_forwarding_rule_info.py index d2c0e1e3e3..5e5f24a4f8 100644 --- a/plugins/modules/cloud/google/gcp_compute_forwarding_rule_info.py +++ b/plugins/modules/cloud/google/gcp_compute_forwarding_rule_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_global_address_info.py b/plugins/modules/cloud/google/gcp_compute_global_address_info.py index 40a1006f09..49409dba81 100644 --- a/plugins/modules/cloud/google/gcp_compute_global_address_info.py +++ b/plugins/modules/cloud/google/gcp_compute_global_address_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_global_forwarding_rule_info.py b/plugins/modules/cloud/google/gcp_compute_global_forwarding_rule_info.py index 3bdcd8746f..791e814b6a 100644 --- a/plugins/modules/cloud/google/gcp_compute_global_forwarding_rule_info.py +++ b/plugins/modules/cloud/google/gcp_compute_global_forwarding_rule_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_health_check_info.py b/plugins/modules/cloud/google/gcp_compute_health_check_info.py index 3e2bb84aed..8a54ae5f01 100644 --- a/plugins/modules/cloud/google/gcp_compute_health_check_info.py +++ b/plugins/modules/cloud/google/gcp_compute_health_check_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_http_health_check_info.py b/plugins/modules/cloud/google/gcp_compute_http_health_check_info.py index e773f1dc40..b7a7f6c11b 100644 --- a/plugins/modules/cloud/google/gcp_compute_http_health_check_info.py +++ b/plugins/modules/cloud/google/gcp_compute_http_health_check_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_https_health_check_info.py b/plugins/modules/cloud/google/gcp_compute_https_health_check_info.py index ed1b1a6db5..ff33d92106 100644 --- a/plugins/modules/cloud/google/gcp_compute_https_health_check_info.py +++ b/plugins/modules/cloud/google/gcp_compute_https_health_check_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_image_info.py b/plugins/modules/cloud/google/gcp_compute_image_info.py index 2ee8472e46..444121129c 100644 --- a/plugins/modules/cloud/google/gcp_compute_image_info.py +++ b/plugins/modules/cloud/google/gcp_compute_image_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_instance_group_info.py b/plugins/modules/cloud/google/gcp_compute_instance_group_info.py index 4ea8d344c5..2d5a0181c9 100644 --- a/plugins/modules/cloud/google/gcp_compute_instance_group_info.py +++ b/plugins/modules/cloud/google/gcp_compute_instance_group_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_instance_group_manager_info.py b/plugins/modules/cloud/google/gcp_compute_instance_group_manager_info.py index 02e47b2d22..41a929622a 100644 --- a/plugins/modules/cloud/google/gcp_compute_instance_group_manager_info.py +++ b/plugins/modules/cloud/google/gcp_compute_instance_group_manager_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_instance_info.py b/plugins/modules/cloud/google/gcp_compute_instance_info.py index 8a418acfd5..a0ceb54024 100644 --- a/plugins/modules/cloud/google/gcp_compute_instance_info.py +++ b/plugins/modules/cloud/google/gcp_compute_instance_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_instance_template_info.py b/plugins/modules/cloud/google/gcp_compute_instance_template_info.py index 1d954e6148..d78d5fd8ff 100644 --- a/plugins/modules/cloud/google/gcp_compute_instance_template_info.py +++ b/plugins/modules/cloud/google/gcp_compute_instance_template_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_interconnect_attachment_info.py b/plugins/modules/cloud/google/gcp_compute_interconnect_attachment_info.py index 19ee2fca5f..e790ce9e72 100644 --- a/plugins/modules/cloud/google/gcp_compute_interconnect_attachment_info.py +++ b/plugins/modules/cloud/google/gcp_compute_interconnect_attachment_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_network_info.py b/plugins/modules/cloud/google/gcp_compute_network_info.py index a7a15a1933..120ee6d931 100644 --- a/plugins/modules/cloud/google/gcp_compute_network_info.py +++ b/plugins/modules/cloud/google/gcp_compute_network_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_region_disk_info.py b/plugins/modules/cloud/google/gcp_compute_region_disk_info.py index 698439b07b..f44f642794 100644 --- a/plugins/modules/cloud/google/gcp_compute_region_disk_info.py +++ b/plugins/modules/cloud/google/gcp_compute_region_disk_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_route_info.py b/plugins/modules/cloud/google/gcp_compute_route_info.py index 88f301c8b1..03fefbe0be 100644 --- a/plugins/modules/cloud/google/gcp_compute_route_info.py +++ b/plugins/modules/cloud/google/gcp_compute_route_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_router_info.py b/plugins/modules/cloud/google/gcp_compute_router_info.py index f44eb7463b..1ef8ad5f22 100644 --- a/plugins/modules/cloud/google/gcp_compute_router_info.py +++ b/plugins/modules/cloud/google/gcp_compute_router_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_ssl_certificate_info.py b/plugins/modules/cloud/google/gcp_compute_ssl_certificate_info.py index bcb3498c26..13891b050f 100644 --- a/plugins/modules/cloud/google/gcp_compute_ssl_certificate_info.py +++ b/plugins/modules/cloud/google/gcp_compute_ssl_certificate_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_ssl_policy_info.py b/plugins/modules/cloud/google/gcp_compute_ssl_policy_info.py index ea1a960dfa..ceb2bd5ae6 100644 --- a/plugins/modules/cloud/google/gcp_compute_ssl_policy_info.py +++ b/plugins/modules/cloud/google/gcp_compute_ssl_policy_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_subnetwork_info.py b/plugins/modules/cloud/google/gcp_compute_subnetwork_info.py index 7168436b88..6ba458e2bb 100644 --- a/plugins/modules/cloud/google/gcp_compute_subnetwork_info.py +++ b/plugins/modules/cloud/google/gcp_compute_subnetwork_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_target_http_proxy_info.py b/plugins/modules/cloud/google/gcp_compute_target_http_proxy_info.py index 48f2086332..33ed246007 100644 --- a/plugins/modules/cloud/google/gcp_compute_target_http_proxy_info.py +++ b/plugins/modules/cloud/google/gcp_compute_target_http_proxy_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_target_https_proxy_info.py b/plugins/modules/cloud/google/gcp_compute_target_https_proxy_info.py index fddb0e72e8..db1762a78f 100644 --- a/plugins/modules/cloud/google/gcp_compute_target_https_proxy_info.py +++ b/plugins/modules/cloud/google/gcp_compute_target_https_proxy_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_target_pool_info.py b/plugins/modules/cloud/google/gcp_compute_target_pool_info.py index 91debda7b3..143c1c3439 100644 --- a/plugins/modules/cloud/google/gcp_compute_target_pool_info.py +++ b/plugins/modules/cloud/google/gcp_compute_target_pool_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_target_ssl_proxy_info.py b/plugins/modules/cloud/google/gcp_compute_target_ssl_proxy_info.py index a3539e6188..aa4cb36c3f 100644 --- a/plugins/modules/cloud/google/gcp_compute_target_ssl_proxy_info.py +++ b/plugins/modules/cloud/google/gcp_compute_target_ssl_proxy_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_target_tcp_proxy_info.py b/plugins/modules/cloud/google/gcp_compute_target_tcp_proxy_info.py index 495ff77c44..be709593d0 100644 --- a/plugins/modules/cloud/google/gcp_compute_target_tcp_proxy_info.py +++ b/plugins/modules/cloud/google/gcp_compute_target_tcp_proxy_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_target_vpn_gateway_info.py b/plugins/modules/cloud/google/gcp_compute_target_vpn_gateway_info.py index e7d454bb8f..e7289be045 100644 --- a/plugins/modules/cloud/google/gcp_compute_target_vpn_gateway_info.py +++ b/plugins/modules/cloud/google/gcp_compute_target_vpn_gateway_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_compute_url_map_info.py b/plugins/modules/cloud/google/gcp_compute_url_map_info.py index 935e497fcf..67772bd701 100644 --- a/plugins/modules/cloud/google/gcp_compute_url_map_info.py +++ b/plugins/modules/cloud/google/gcp_compute_url_map_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_compute_vpn_tunnel_info.py b/plugins/modules/cloud/google/gcp_compute_vpn_tunnel_info.py index 2051a26681..69cf226678 100644 --- a/plugins/modules/cloud/google/gcp_compute_vpn_tunnel_info.py +++ b/plugins/modules/cloud/google/gcp_compute_vpn_tunnel_info.py @@ -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: diff --git a/plugins/modules/cloud/google/gcp_container_cluster_info.py b/plugins/modules/cloud/google/gcp_container_cluster_info.py index 797e813058..54fa23b4b1 100644 --- a/plugins/modules/cloud/google/gcp_container_cluster_info.py +++ b/plugins/modules/cloud/google/gcp_container_cluster_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_container_node_pool_info.py b/plugins/modules/cloud/google/gcp_container_node_pool_info.py index 2f9c8ccf56..9f8c9e0aca 100644 --- a/plugins/modules/cloud/google/gcp_container_node_pool_info.py +++ b/plugins/modules/cloud/google/gcp_container_node_pool_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_dns_managed_zone_info.py b/plugins/modules/cloud/google/gcp_dns_managed_zone_info.py index 289f552f9e..97a5e5369b 100644 --- a/plugins/modules/cloud/google/gcp_dns_managed_zone_info.py +++ b/plugins/modules/cloud/google/gcp_dns_managed_zone_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_dns_resource_record_set_info.py b/plugins/modules/cloud/google/gcp_dns_resource_record_set_info.py index 7ee06ad325..ba7b49f6fe 100644 --- a/plugins/modules/cloud/google/gcp_dns_resource_record_set_info.py +++ b/plugins/modules/cloud/google/gcp_dns_resource_record_set_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_iam_role_info.py b/plugins/modules/cloud/google/gcp_iam_role_info.py index c1b89dc1eb..a938746bff 100644 --- a/plugins/modules/cloud/google/gcp_iam_role_info.py +++ b/plugins/modules/cloud/google/gcp_iam_role_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_iam_service_account_info.py b/plugins/modules/cloud/google/gcp_iam_service_account_info.py index 715c9101c2..66a6df1cb8 100644 --- a/plugins/modules/cloud/google/gcp_iam_service_account_info.py +++ b/plugins/modules/cloud/google/gcp_iam_service_account_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_pubsub_subscription_info.py b/plugins/modules/cloud/google/gcp_pubsub_subscription_info.py index 5a443e156c..62b7fb95f5 100644 --- a/plugins/modules/cloud/google/gcp_pubsub_subscription_info.py +++ b/plugins/modules/cloud/google/gcp_pubsub_subscription_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_pubsub_topic_info.py b/plugins/modules/cloud/google/gcp_pubsub_topic_info.py index 94f41cd7ed..890792ceca 100644 --- a/plugins/modules/cloud/google/gcp_pubsub_topic_info.py +++ b/plugins/modules/cloud/google/gcp_pubsub_topic_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_redis_instance_info.py b/plugins/modules/cloud/google/gcp_redis_instance_info.py index 59869bb732..15f98ffbc1 100644 --- a/plugins/modules/cloud/google/gcp_redis_instance_info.py +++ b/plugins/modules/cloud/google/gcp_redis_instance_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_resourcemanager_project_info.py b/plugins/modules/cloud/google/gcp_resourcemanager_project_info.py index 95098ab0ba..70e6e5f226 100644 --- a/plugins/modules/cloud/google/gcp_resourcemanager_project_info.py +++ b/plugins/modules/cloud/google/gcp_resourcemanager_project_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_sourcerepo_repository_info.py b/plugins/modules/cloud/google/gcp_sourcerepo_repository_info.py index 5903d5debc..51f39de4b2 100644 --- a/plugins/modules/cloud/google/gcp_sourcerepo_repository_info.py +++ b/plugins/modules/cloud/google/gcp_sourcerepo_repository_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_spanner_database_info.py b/plugins/modules/cloud/google/gcp_spanner_database_info.py index 90d5305d42..a0eda5786e 100644 --- a/plugins/modules/cloud/google/gcp_spanner_database_info.py +++ b/plugins/modules/cloud/google/gcp_spanner_database_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_spanner_instance_info.py b/plugins/modules/cloud/google/gcp_spanner_instance_info.py index 4bd149a181..c24b339b4d 100644 --- a/plugins/modules/cloud/google/gcp_spanner_instance_info.py +++ b/plugins/modules/cloud/google/gcp_spanner_instance_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_sql_database_info.py b/plugins/modules/cloud/google/gcp_sql_database_info.py index 74a2035f10..5dc97c9244 100644 --- a/plugins/modules/cloud/google/gcp_sql_database_info.py +++ b/plugins/modules/cloud/google/gcp_sql_database_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_sql_instance_info.py b/plugins/modules/cloud/google/gcp_sql_instance_info.py index 39f91c573b..3e8095117d 100644 --- a/plugins/modules/cloud/google/gcp_sql_instance_info.py +++ b/plugins/modules/cloud/google/gcp_sql_instance_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_sql_user_info.py b/plugins/modules/cloud/google/gcp_sql_user_info.py index 32fab37e28..5609713451 100644 --- a/plugins/modules/cloud/google/gcp_sql_user_info.py +++ b/plugins/modules/cloud/google/gcp_sql_user_info.py @@ -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 diff --git a/plugins/modules/cloud/google/gcp_tpu_node_info.py b/plugins/modules/cloud/google/gcp_tpu_node_info.py index 416ecf702c..064ec9332b 100644 --- a/plugins/modules/cloud/google/gcp_tpu_node_info.py +++ b/plugins/modules/cloud/google/gcp_tpu_node_info.py @@ -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 diff --git a/plugins/modules/cloud/huawei/hwc_ecs_instance.py b/plugins/modules/cloud/huawei/hwc_ecs_instance.py index 8d11bfc424..607a4a64db 100644 --- a/plugins/modules/cloud/huawei/hwc_ecs_instance.py +++ b/plugins/modules/cloud/huawei/hwc_ecs_instance.py @@ -226,12 +226,12 @@ extends_documentation_fragment: EXAMPLES = ''' # create an ecs instance -- name: create a vpc +- name: Create a vpc hwc_network_vpc: cidr: "192.168.100.0/24" name: "ansible_network_vpc_test" register: vpc -- name: create a subnet +- name: Create a subnet hwc_vpc_subnet: gateway_ip: "192.168.100.32" name: "ansible_network_subnet_test" @@ -239,7 +239,7 @@ EXAMPLES = ''' vpc_id: "{{ vpc.id }}" cidr: "192.168.100.0/26" register: subnet -- name: create a eip +- name: Create a eip hwc_vpc_eip: dedicated_bandwidth: charge_mode: "traffic" @@ -247,14 +247,14 @@ EXAMPLES = ''' size: 1 type: "5_bgp" register: eip -- name: create a disk +- name: Create a disk hwc_evs_disk: availability_zone: "cn-north-1a" name: "ansible_evs_disk_test" volume_type: "SATA" size: 10 register: disk -- name: create an instance +- name: Create an instance hwc_ecs_instance: data_volumes: - volume_id: "{{ disk.id }}" diff --git a/plugins/modules/cloud/huawei/hwc_evs_disk.py b/plugins/modules/cloud/huawei/hwc_evs_disk.py index 3324e13ad9..e2a85a56b7 100644 --- a/plugins/modules/cloud/huawei/hwc_evs_disk.py +++ b/plugins/modules/cloud/huawei/hwc_evs_disk.py @@ -154,7 +154,7 @@ extends_documentation_fragment: EXAMPLES = ''' # test create disk -- name: create a disk +- name: Create a disk hwc_evs_disk: availability_zone: "cn-north-1a" name: "ansible_evs_disk_test" diff --git a/plugins/modules/cloud/huawei/hwc_network_vpc.py b/plugins/modules/cloud/huawei/hwc_network_vpc.py index 3550977d97..809a4b192b 100644 --- a/plugins/modules/cloud/huawei/hwc_network_vpc.py +++ b/plugins/modules/cloud/huawei/hwc_network_vpc.py @@ -65,7 +65,7 @@ extends_documentation_fragment: ''' EXAMPLES = ''' -- name: create a vpc +- name: Create a vpc hwc_network_vpc: identity_endpoint: "{{ identity_endpoint }}" user: "{{ user }}" diff --git a/plugins/modules/cloud/huawei/hwc_smn_topic.py b/plugins/modules/cloud/huawei/hwc_smn_topic.py index 31b23b8d9f..5ec828b66c 100644 --- a/plugins/modules/cloud/huawei/hwc_smn_topic.py +++ b/plugins/modules/cloud/huawei/hwc_smn_topic.py @@ -50,7 +50,7 @@ extends_documentation_fragment: ''' EXAMPLES = ''' -- name: create a smn topic +- name: Create a smn topic hwc_smn_topic: identity_endpoint: "{{ identity_endpoint }}" user_name: "{{ user_name }}" diff --git a/plugins/modules/cloud/huawei/hwc_vpc_eip.py b/plugins/modules/cloud/huawei/hwc_vpc_eip.py index 0a93318709..a23d0edaaf 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_eip.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_eip.py @@ -125,12 +125,12 @@ extends_documentation_fragment: EXAMPLES = ''' # create an eip and bind it to a port -- name: create vpc +- name: Create vpc hwc_network_vpc: cidr: "192.168.100.0/24" name: "ansible_network_vpc_test" register: vpc -- name: create subnet +- name: Create subnet hwc_vpc_subnet: gateway_ip: "192.168.100.32" name: "ansible_network_subnet_test" @@ -138,12 +138,12 @@ EXAMPLES = ''' vpc_id: "{{ vpc.id }}" cidr: "192.168.100.0/26" register: subnet -- name: create a port +- name: Create a port hwc_vpc_port: subnet_id: "{{ subnet.id }}" ip_address: "192.168.100.33" register: port -- name: create an eip and bind it to a port +- name: Create an eip and bind it to a port hwc_vpc_eip: type: "5_bgp" dedicated_bandwidth: diff --git a/plugins/modules/cloud/huawei/hwc_vpc_peering_connect.py b/plugins/modules/cloud/huawei/hwc_vpc_peering_connect.py index 0318e64366..8143b7fd53 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_peering_connect.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_peering_connect.py @@ -79,17 +79,17 @@ extends_documentation_fragment: EXAMPLES = ''' # create a peering connect -- name: create a local vpc +- name: Create a local vpc hwc_network_vpc: cidr: "192.168.0.0/16" name: "ansible_network_vpc_test_local" register: vpc1 -- name: create a peering vpc +- name: Create a peering vpc hwc_network_vpc: cidr: "192.168.0.0/16" name: "ansible_network_vpc_test_peering" register: vpc2 -- name: create a peering connect +- name: Create a peering connect hwc_vpc_peering_connect: local_vpc_id: "{{ vpc1.id }}" name: "ansible_network_peering_test" diff --git a/plugins/modules/cloud/huawei/hwc_vpc_port.py b/plugins/modules/cloud/huawei/hwc_vpc_port.py index 19e126aaa2..54a812dda0 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_port.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_port.py @@ -106,12 +106,12 @@ extends_documentation_fragment: EXAMPLES = ''' # create a port -- name: create vpc +- name: Create vpc hwc_network_vpc: cidr: "192.168.100.0/24" name: "ansible_network_vpc_test" register: vpc -- name: create subnet +- name: Create subnet hwc_vpc_subnet: gateway_ip: "192.168.100.32" name: "ansible_network_subnet_test" @@ -119,7 +119,7 @@ EXAMPLES = ''' vpc_id: "{{ vpc.id }}" cidr: "192.168.100.0/26" register: subnet -- name: create a port +- name: Create a port hwc_vpc_port: subnet_id: "{{ subnet.id }}" ip_address: "192.168.100.33" diff --git a/plugins/modules/cloud/huawei/hwc_vpc_private_ip.py b/plugins/modules/cloud/huawei/hwc_vpc_private_ip.py index 04beaaebec..5608e6cb0b 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_private_ip.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_private_ip.py @@ -53,12 +53,12 @@ extends_documentation_fragment: EXAMPLES = ''' # create a private ip -- name: create vpc +- name: Create vpc hwc_network_vpc: cidr: "192.168.100.0/24" name: "ansible_network_vpc_test" register: vpc -- name: create subnet +- name: Create subnet hwc_vpc_subnet: gateway_ip: "192.168.100.32" name: "ansible_network_subnet_test" @@ -66,7 +66,7 @@ EXAMPLES = ''' vpc_id: "{{ vpc.id }}" cidr: "192.168.100.0/26" register: subnet -- name: create a private ip +- name: Create a private ip hwc_vpc_private_ip: subnet_id: "{{ subnet.id }}" ip_address: "192.168.100.33" diff --git a/plugins/modules/cloud/huawei/hwc_vpc_route.py b/plugins/modules/cloud/huawei/hwc_vpc_route.py index 88f4ee857f..b954a80a78 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_route.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_route.py @@ -60,17 +60,17 @@ extends_documentation_fragment: EXAMPLES = ''' # create a peering connect -- name: create a local vpc +- name: Create a local vpc hwc_network_vpc: cidr: "192.168.0.0/16" name: "ansible_network_vpc_test_local" register: vpc1 -- name: create a peering vpc +- name: Create a peering vpc hwc_network_vpc: cidr: "192.168.0.0/16" name: "ansible_network_vpc_test_peering" register: vpc2 -- name: create a peering connect +- name: Create a peering connect hwc_vpc_peering_connect: local_vpc_id: "{{ vpc1.id }}" name: "ansible_network_peering_test" @@ -79,7 +79,7 @@ EXAMPLES = ''' peering_vpc: vpc_id: "{{ vpc2.id }}" register: connect -- name: create a route +- name: Create a route hwc_vpc_route: vpc_id: "{{ vpc1.id }}" destination: "192.168.0.0/16" diff --git a/plugins/modules/cloud/huawei/hwc_vpc_security_group.py b/plugins/modules/cloud/huawei/hwc_vpc_security_group.py index 2fc1c0bec5..e0b7023443 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_security_group.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_security_group.py @@ -64,7 +64,7 @@ extends_documentation_fragment: EXAMPLES = ''' # create a security group -- name: create a security group +- name: Create a security group hwc_vpc_security_group: name: "ansible_network_security_group_test" ''' diff --git a/plugins/modules/cloud/huawei/hwc_vpc_security_group_rule.py b/plugins/modules/cloud/huawei/hwc_vpc_security_group_rule.py index dd1c016fe9..8edc3a9a79 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_security_group_rule.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_security_group_rule.py @@ -105,11 +105,11 @@ extends_documentation_fragment: EXAMPLES = ''' # create a security group rule -- name: create a security group +- name: Create a security group hwc_vpc_security_group: name: "ansible_network_security_group_test" register: sg -- name: create a security group rule +- name: Create a security group rule hwc_vpc_security_group_rule: direction: "ingress" protocol: "tcp" diff --git a/plugins/modules/cloud/huawei/hwc_vpc_subnet.py b/plugins/modules/cloud/huawei/hwc_vpc_subnet.py index f63ca2559b..ce596a43d7 100644 --- a/plugins/modules/cloud/huawei/hwc_vpc_subnet.py +++ b/plugins/modules/cloud/huawei/hwc_vpc_subnet.py @@ -97,12 +97,12 @@ extends_documentation_fragment: EXAMPLES = ''' # create subnet -- name: create vpc +- name: Create vpc hwc_network_vpc: cidr: "192.168.100.0/24" name: "ansible_network_vpc_test" register: vpc -- name: create subnet +- name: Create subnet hwc_vpc_subnet: vpc_id: "{{ vpc.id }}" cidr: "192.168.100.0/26" diff --git a/plugins/modules/cloud/lxc/lxc_container.py b/plugins/modules/cloud/lxc/lxc_container.py index ac82422da9..303a269810 100644 --- a/plugins/modules/cloud/lxc/lxc_container.py +++ b/plugins/modules/cloud/lxc/lxc_container.py @@ -304,7 +304,7 @@ EXAMPLES = """ archive_compression: gzip register: clone_container_info -- name: debug info on container "test-container" +- name: Debug info on container "test-container" debug: var: clone_container_info diff --git a/plugins/modules/cloud/lxd/lxd_container.py b/plugins/modules/cloud/lxd/lxd_container.py index adac1cf864..7425776615 100644 --- a/plugins/modules/cloud/lxd/lxd_container.py +++ b/plugins/modules/cloud/lxd/lxd_container.py @@ -162,14 +162,14 @@ EXAMPLES = ''' wait_for_ipv4_addresses: true timeout: 600 - - name: check python is installed in container + - name: Check python is installed in container delegate_to: mycontainer raw: dpkg -s python register: python_install_check failed_when: python_install_check.rc not in [0, 1] changed_when: false - - name: install python in container + - name: Install python in container delegate_to: mycontainer raw: apt-get install -y python when: python_install_check.rc == 1 @@ -238,7 +238,7 @@ EXAMPLES = ''' - hosts: - mycontainer tasks: - - name: copy /etc/hosts in the created container to localhost with name "mycontainer-hosts" + - name: Copy /etc/hosts in the created container to localhost with name "mycontainer-hosts" fetch: src: /etc/hosts dest: /tmp/mycontainer-hosts diff --git a/plugins/modules/cloud/lxd/lxd_profile.py b/plugins/modules/cloud/lxd/lxd_profile.py index 2bd9cea5ba..8b16b3797c 100644 --- a/plugins/modules/cloud/lxd/lxd_profile.py +++ b/plugins/modules/cloud/lxd/lxd_profile.py @@ -114,7 +114,7 @@ EXAMPLES = ''' - hosts: localhost connection: local tasks: - - name: create macvlan profile + - name: Create macvlan profile lxd_profile: url: https://127.0.0.1:8443 # These client_cert and client_key values are equal to the default values. diff --git a/plugins/modules/cloud/memset/memset_dns_reload.py b/plugins/modules/cloud/memset/memset_dns_reload.py index 1a298637e9..93aa9fdd8b 100644 --- a/plugins/modules/cloud/memset/memset_dns_reload.py +++ b/plugins/modules/cloud/memset/memset_dns_reload.py @@ -37,7 +37,7 @@ options: ''' EXAMPLES = ''' -- name: submit DNS reload and poll. +- name: Submit DNS reload and poll memset_dns_reload: api_key: 5eb86c9196ab03919abcf03857163741 poll: True diff --git a/plugins/modules/cloud/memset/memset_memstore_info.py b/plugins/modules/cloud/memset/memset_memstore_info.py index 02526a29cb..6127a67deb 100644 --- a/plugins/modules/cloud/memset/memset_memstore_info.py +++ b/plugins/modules/cloud/memset/memset_memstore_info.py @@ -30,7 +30,7 @@ options: ''' EXAMPLES = ''' -- name: get usage for mstestyaa1 +- name: Get usage for mstestyaa1 memset_memstore_info: name: mstestyaa1 api_key: 5eb86c9896ab03919abcf03857163741 diff --git a/plugins/modules/cloud/memset/memset_server_info.py b/plugins/modules/cloud/memset/memset_server_info.py index 0e1ee3bf2f..417c889859 100644 --- a/plugins/modules/cloud/memset/memset_server_info.py +++ b/plugins/modules/cloud/memset/memset_server_info.py @@ -30,7 +30,7 @@ options: ''' EXAMPLES = ''' -- name: get details for testyaa1 +- name: Get details for testyaa1 memset_server_info: name: testyaa1 api_key: 5eb86c9896ab03919abcf03857163741 diff --git a/plugins/modules/cloud/memset/memset_zone.py b/plugins/modules/cloud/memset/memset_zone.py index 713de7e226..78372a4b4b 100644 --- a/plugins/modules/cloud/memset/memset_zone.py +++ b/plugins/modules/cloud/memset/memset_zone.py @@ -50,7 +50,7 @@ options: EXAMPLES = ''' # Create the zone 'test' -- name: create zone +- name: Create zone memset_zone: name: test state: present @@ -59,7 +59,7 @@ EXAMPLES = ''' delegate_to: localhost # Force zone deletion -- name: force delete zone +- name: Force delete zone memset_zone: name: test state: absent diff --git a/plugins/modules/cloud/memset/memset_zone_domain.py b/plugins/modules/cloud/memset/memset_zone_domain.py index ca2deaf322..86d069fae0 100644 --- a/plugins/modules/cloud/memset/memset_zone_domain.py +++ b/plugins/modules/cloud/memset/memset_zone_domain.py @@ -44,7 +44,7 @@ options: EXAMPLES = ''' # Create the zone domain 'test.com' -- name: create zone domain +- name: Create zone domain memset_zone_domain: domain: test.com zone: testzone diff --git a/plugins/modules/cloud/memset/memset_zone_record.py b/plugins/modules/cloud/memset/memset_zone_record.py index 38ed0f0d97..f65d8055e6 100644 --- a/plugins/modules/cloud/memset/memset_zone_record.py +++ b/plugins/modules/cloud/memset/memset_zone_record.py @@ -66,7 +66,7 @@ options: EXAMPLES = ''' # Create DNS record for www.domain.com -- name: create DNS record +- name: Create DNS record memset_zone_record: api_key: dcf089a2896940da9ffefb307ef49ccd state: present @@ -79,7 +79,7 @@ EXAMPLES = ''' delegate_to: localhost # create an SPF record for domain.com -- name: create SPF record for domain.com +- name: Create SPF record for domain.com memset_zone_record: api_key: dcf089a2896940da9ffefb307ef49ccd state: present @@ -89,7 +89,7 @@ EXAMPLES = ''' delegate_to: localhost # create multiple DNS records -- name: create multiple DNS records +- name: Create multiple DNS records memset_zone_record: api_key: dcf089a2896940da9ffefb307ef49ccd zone: "{{ item.zone }}" diff --git a/plugins/modules/cloud/packet/packet_device.py b/plugins/modules/cloud/packet/packet_device.py index 80e93110d0..8b0fa952c1 100644 --- a/plugins/modules/cloud/packet/packet_device.py +++ b/plugins/modules/cloud/packet/packet_device.py @@ -131,7 +131,7 @@ EXAMPLES = ''' # Creating devices -- name: create 1 device +- name: Create 1 device hosts: localhost tasks: - packet_device: @@ -145,7 +145,7 @@ EXAMPLES = ''' # ready for other API operations). Fail if the devices in not "active" in # 10 minutes. -- name: create device and wait up to 10 minutes for active state +- name: Create device and wait up to 10 minutes for active state hosts: localhost tasks: - packet_device: @@ -157,7 +157,7 @@ EXAMPLES = ''' state: active wait_timeout: 600 -- name: create 3 ubuntu devices called server-01, server-02 and server-03 +- name: Create 3 ubuntu devices called server-01, server-02 and server-03 hosts: localhost tasks: - packet_device: @@ -171,7 +171,7 @@ EXAMPLES = ''' - name: Create 3 coreos devices with userdata, wait until they get IPs and then wait for SSH hosts: localhost tasks: - - name: create 3 devices and register their facts + - name: Create 3 devices and register their facts packet_device: hostnames: [coreos-one, coreos-two, coreos-three] operating_system: coreos_stable @@ -198,7 +198,7 @@ EXAMPLES = ''' command: start register: newhosts - - name: wait for ssh + - name: Wait for ssh wait_for: delay: 1 host: "{{ item.public_ipv4 }}" @@ -210,7 +210,7 @@ EXAMPLES = ''' # Other states of devices -- name: remove 3 devices by uuid +- name: Remove 3 devices by uuid hosts: localhost tasks: - packet_device: diff --git a/plugins/modules/cloud/packet/packet_ip_subnet.py b/plugins/modules/cloud/packet/packet_ip_subnet.py index 30da54a796..f7ce52efc2 100644 --- a/plugins/modules/cloud/packet/packet_ip_subnet.py +++ b/plugins/modules/cloud/packet/packet_ip_subnet.py @@ -82,7 +82,7 @@ EXAMPLES = ''' # All the examples assume that you have your Packet api token in env var PACKET_API_TOKEN. # You can also pass it to the auth_token parameter of the module instead. -- name: create 1 device and assign an arbitrary public IPv4 subnet to it +- name: Create 1 device and assign an arbitrary public IPv4 subnet to it hosts: localhost tasks: @@ -103,7 +103,7 @@ EXAMPLES = ''' # Release IP address 147.75.201.78 -- name: unassign IP address from any device in your project +- name: Unassign IP address from any device in your project hosts: localhost tasks: - packet_ip_subnet: diff --git a/plugins/modules/cloud/packet/packet_project.py b/plugins/modules/cloud/packet/packet_project.py index bee7d722e6..001f0d94b8 100644 --- a/plugins/modules/cloud/packet/packet_project.py +++ b/plugins/modules/cloud/packet/packet_project.py @@ -74,27 +74,27 @@ EXAMPLES = ''' # All the examples assume that you have your Packet API token in env var PACKET_API_TOKEN. # You can also pass the api token in module param auth_token. -- name: create new project +- name: Create new project hosts: localhost tasks: packet_project: name: "new project" -- name: create new project within non-default organization +- name: Create new project within non-default organization hosts: localhost tasks: packet_project: name: "my org project" org_id: a4cc87f9-e00f-48c2-9460-74aa60beb6b0 -- name: remove project by id +- name: Remove project by id hosts: localhost tasks: packet_project: state: absent id: eef49903-7a09-4ca1-af67-4087c29ab5b6 -- name: create new project with non-default billing method +- name: Create new project with non-default billing method hosts: localhost tasks: packet_project: diff --git a/plugins/modules/cloud/packet/packet_sshkey.py b/plugins/modules/cloud/packet/packet_sshkey.py index bc93bc10b1..966f87069c 100644 --- a/plugins/modules/cloud/packet/packet_sshkey.py +++ b/plugins/modules/cloud/packet/packet_sshkey.py @@ -49,20 +49,20 @@ EXAMPLES = ''' # All the examples assume that you have your Packet API token in env var PACKET_API_TOKEN. # You can also pass the api token in module param auth_token. -- name: create sshkey from string +- name: Create sshkey from string hosts: localhost tasks: packet_sshkey: key: "{{ lookup('file', 'my_packet_sshkey.pub') }}" -- name: create sshkey from file +- name: Create sshkey from file hosts: localhost tasks: packet_sshkey: label: key from file key_file: ~/ff.pub -- name: remove sshkey by id +- name: Remove sshkey by id hosts: localhost tasks: packet_sshkey: diff --git a/plugins/modules/cloud/rackspace/rax_keypair.py b/plugins/modules/cloud/rackspace/rax_keypair.py index 583a7e5ec4..d079bd1f49 100644 --- a/plugins/modules/cloud/rackspace/rax_keypair.py +++ b/plugins/modules/cloud/rackspace/rax_keypair.py @@ -42,7 +42,7 @@ EXAMPLES = ''' hosts: localhost gather_facts: False tasks: - - name: keypair request + - name: Keypair request local_action: module: rax_keypair credentials: ~/.raxpub @@ -64,7 +64,7 @@ EXAMPLES = ''' hosts: localhost gather_facts: False tasks: - - name: keypair request + - name: Keypair request local_action: module: rax_keypair credentials: ~/.raxpub diff --git a/plugins/modules/cloud/smartos/vmadm.py b/plugins/modules/cloud/smartos/vmadm.py index 84747b1c5c..c366788258 100644 --- a/plugins/modules/cloud/smartos/vmadm.py +++ b/plugins/modules/cloud/smartos/vmadm.py @@ -288,7 +288,7 @@ requirements: ''' EXAMPLES = ''' -- name: create SmartOS zone +- name: Create SmartOS zone vmadm: brand: joyent state: present diff --git a/plugins/modules/clustering/consul/consul.py b/plugins/modules/clustering/consul/consul.py index 7877c2af5c..22d9dc791b 100644 --- a/plugins/modules/clustering/consul/consul.py +++ b/plugins/modules/clustering/consul/consul.py @@ -139,32 +139,32 @@ options: ''' EXAMPLES = ''' -- name: register nginx service with the local consul agent +- name: Register nginx service with the local consul agent consul: service_name: nginx service_port: 80 -- name: register nginx service with curl check +- name: Register nginx service with curl check consul: service_name: nginx service_port: 80 script: curl http://localhost interval: 60s -- name: register nginx with an http check +- name: Register nginx with an http check consul: service_name: nginx service_port: 80 interval: 60s http: http://localhost:80/status -- name: register external service nginx available at 10.1.5.23 +- name: Register external service nginx available at 10.1.5.23 consul: service_name: nginx service_port: 80 service_address: 10.1.5.23 -- name: register nginx with some service tags +- name: Register nginx with some service tags consul: service_name: nginx service_port: 80 @@ -172,26 +172,26 @@ EXAMPLES = ''' - prod - webservers -- name: remove nginx service +- name: Remove nginx service consul: service_name: nginx state: absent -- name: register celery worker service +- name: Register celery worker service consul: service_name: celery-worker tags: - prod - worker -- name: create a node level check to test disk usage +- name: Create a node level check to test disk usage consul: check_name: Disk usage check_id: disk_usage script: /opt/disk_usage.py interval: 5m -- name: register an http check against a service that's already registered +- name: Register an http check against a service that's already registered consul: check_name: nginx-check2 check_id: nginx-check2 diff --git a/plugins/modules/clustering/consul/consul_acl.py b/plugins/modules/clustering/consul/consul_acl.py index fba5fd59d5..2ff648a760 100644 --- a/plugins/modules/clustering/consul/consul_acl.py +++ b/plugins/modules/clustering/consul/consul_acl.py @@ -76,7 +76,7 @@ requirements: ''' EXAMPLES = """ -- name: create an ACL with rules +- name: Create an ACL with rules consul_acl: host: consul1.example.com mgmt_token: some_management_acl @@ -87,7 +87,7 @@ EXAMPLES = """ - key: "private/foo" policy: deny -- name: create an ACL with a specific token +- name: Create an ACL with a specific token consul_acl: host: consul1.example.com mgmt_token: some_management_acl @@ -97,7 +97,7 @@ EXAMPLES = """ - key: "foo" policy: read -- name: update the rules associated to an ACL token +- name: Update the rules associated to an ACL token consul_acl: host: consul1.example.com mgmt_token: some_management_acl @@ -121,7 +121,7 @@ EXAMPLES = """ - session: "standup" policy: write -- name: remove a token +- name: Remove a token consul_acl: host: consul1.example.com mgmt_token: some_management_acl diff --git a/plugins/modules/clustering/consul/consul_kv.py b/plugins/modules/clustering/consul/consul_kv.py index 7c3aa621ae..796c5d3cb1 100644 --- a/plugins/modules/clustering/consul/consul_kv.py +++ b/plugins/modules/clustering/consul/consul_kv.py @@ -109,7 +109,7 @@ options: EXAMPLES = ''' # If the key does not exist, the value associated to the "data" property in `retrieved_key` will be `None` # If the key value is empty string, `retrieved_key["data"]["Value"]` will be `None` -- name: retrieve a value from the key/value store +- name: Retrieve a value from the key/value store consul_kv: key: somekey register: retrieved_key diff --git a/plugins/modules/clustering/consul/consul_session.py b/plugins/modules/clustering/consul/consul_session.py index bec0b80bd4..93990f84c3 100644 --- a/plugins/modules/clustering/consul/consul_session.py +++ b/plugins/modules/clustering/consul/consul_session.py @@ -97,27 +97,27 @@ options: ''' EXAMPLES = ''' -- name: register basic session with consul +- name: Register basic session with consul consul_session: name: session1 -- name: register a session with an existing check +- name: Register a session with an existing check consul_session: name: session_with_check checks: - existing_check_name -- name: register a session with lock_delay +- name: Register a session with lock_delay consul_session: name: session_with_delay delay: 20s -- name: retrieve info about session by id +- name: Retrieve info about session by id consul_session: id: session_id state: info -- name: retrieve active sessions +- name: Retrieve active sessions consul_session: state: list ''' diff --git a/plugins/modules/database/aerospike/aerospike_migrations.py b/plugins/modules/database/aerospike/aerospike_migrations.py index 4b9808bc92..4e6046857e 100644 --- a/plugins/modules/database/aerospike/aerospike_migrations.py +++ b/plugins/modules/database/aerospike/aerospike_migrations.py @@ -105,7 +105,7 @@ options: ''' EXAMPLES = ''' # check for migrations on local node -- name: wait for migrations on local node before proceeding +- name: Wait for migrations on local node before proceeding aerospike_migrations: host: "localhost" connect_timeout: 2000 @@ -116,7 +116,7 @@ EXAMPLES = ''' # example playbook: --- -- name: upgrade aerospike +- name: Upgrade aerospike hosts: all become: true serial: 1 @@ -128,7 +128,7 @@ EXAMPLES = ''' - python-pip - python-setuptools state: latest - - name: setup aerospike + - name: Setup aerospike pip: name: aerospike # check for migrations every (sleep_between_checks) @@ -137,7 +137,7 @@ EXAMPLES = ''' # nodes not returning data, or other reasons. # Maximum runtime before giving up in this case will be: # Tries Limit * Sleep Between Checks * delay * retries - - name: wait for aerospike migrations + - name: Wait for aerospike migrations aerospike_migrations: local_only: True sleep_between_checks: 1 @@ -151,10 +151,10 @@ EXAMPLES = ''' changed_when: false delay: 60 retries: 120 - - name: another thing + - name: Another thing shell: | echo foo - - name: reboot + - name: Reboot reboot: ''' diff --git a/plugins/modules/database/influxdb/influxdb_retention_policy.py b/plugins/modules/database/influxdb/influxdb_retention_policy.py index bf17d497a6..df1582d883 100644 --- a/plugins/modules/database/influxdb/influxdb_retention_policy.py +++ b/plugins/modules/database/influxdb/influxdb_retention_policy.py @@ -49,7 +49,7 @@ extends_documentation_fragment: EXAMPLES = r''' # Example influxdb_retention_policy command from Ansible Playbooks -- name: create 1 hour retention policy +- name: Create 1 hour retention policy influxdb_retention_policy: hostname: "{{influxdb_ip_address}}" database_name: "{{influxdb_database_name}}" @@ -59,7 +59,7 @@ EXAMPLES = r''' ssl: yes validate_certs: yes -- name: create 1 day retention policy +- name: Create 1 day retention policy influxdb_retention_policy: hostname: "{{influxdb_ip_address}}" database_name: "{{influxdb_database_name}}" @@ -67,7 +67,7 @@ EXAMPLES = r''' duration: 1d replication: 1 -- name: create 1 week retention policy +- name: Create 1 week retention policy influxdb_retention_policy: hostname: "{{influxdb_ip_address}}" database_name: "{{influxdb_database_name}}" @@ -75,7 +75,7 @@ EXAMPLES = r''' duration: 1w replication: 1 -- name: create infinite retention policy +- name: Create infinite retention policy influxdb_retention_policy: hostname: "{{influxdb_ip_address}}" database_name: "{{influxdb_database_name}}" diff --git a/plugins/modules/database/vertica/vertica_configuration.py b/plugins/modules/database/vertica/vertica_configuration.py index 754834481b..a4265bea04 100644 --- a/plugins/modules/database/vertica/vertica_configuration.py +++ b/plugins/modules/database/vertica/vertica_configuration.py @@ -55,7 +55,7 @@ author: "Dariusz Owczarek (@dareko)" ''' EXAMPLES = """ -- name: updating load_balance_policy +- name: Updating load_balance_policy vertica_configuration: name=failovertostandbyafter value='8 hours' """ import traceback diff --git a/plugins/modules/database/vertica/vertica_info.py b/plugins/modules/database/vertica/vertica_info.py index 929eb4bdc9..da77f92f6e 100644 --- a/plugins/modules/database/vertica/vertica_info.py +++ b/plugins/modules/database/vertica/vertica_info.py @@ -49,7 +49,7 @@ author: "Dariusz Owczarek (@dareko)" ''' EXAMPLES = """ -- name: gathering vertica facts +- name: Gathering vertica facts vertica_info: db=db_name register: result diff --git a/plugins/modules/database/vertica/vertica_role.py b/plugins/modules/database/vertica/vertica_role.py index 0ef6a8d1fd..8cbfd04e6f 100644 --- a/plugins/modules/database/vertica/vertica_role.py +++ b/plugins/modules/database/vertica/vertica_role.py @@ -60,10 +60,10 @@ author: "Dariusz Owczarek (@dareko)" ''' EXAMPLES = """ -- name: creating a new vertica role +- name: Creating a new vertica role vertica_role: name=role_name db=db_name state=present -- name: creating a new vertica role with other role assigned +- name: Creating a new vertica role with other role assigned vertica_role: name=role_name assigned_role=other_role_name state=present """ import traceback diff --git a/plugins/modules/database/vertica/vertica_schema.py b/plugins/modules/database/vertica/vertica_schema.py index f46fbf031c..9560cc8493 100644 --- a/plugins/modules/database/vertica/vertica_schema.py +++ b/plugins/modules/database/vertica/vertica_schema.py @@ -72,13 +72,13 @@ author: "Dariusz Owczarek (@dareko)" ''' EXAMPLES = """ -- name: creating a new vertica schema +- name: Creating a new vertica schema vertica_schema: name=schema_name db=db_name state=present -- name: creating a new schema with specific schema owner +- name: Creating a new schema with specific schema owner vertica_schema: name=schema_name owner=dbowner db=db_name state=present -- name: creating a new schema with roles +- name: Creating a new schema with roles vertica_schema: name=schema_name create_roles=schema_name_all diff --git a/plugins/modules/database/vertica/vertica_user.py b/plugins/modules/database/vertica/vertica_user.py index b8db6d571a..967445a38b 100644 --- a/plugins/modules/database/vertica/vertica_user.py +++ b/plugins/modules/database/vertica/vertica_user.py @@ -83,10 +83,10 @@ author: "Dariusz Owczarek (@dareko)" ''' EXAMPLES = """ -- name: creating a new vertica user with password +- name: Creating a new vertica user with password vertica_user: name=user_name password=md5 db=db_name state=present -- name: creating a new vertica user authenticated via ldap with roles assigned +- name: Creating a new vertica user authenticated via ldap with roles assigned vertica_user: name=user_name ldap=true diff --git a/plugins/modules/identity/keycloak/keycloak_clienttemplate.py b/plugins/modules/identity/keycloak/keycloak_clienttemplate.py index 8302d4fa70..d4a0a069d5 100644 --- a/plugins/modules/identity/keycloak/keycloak_clienttemplate.py +++ b/plugins/modules/identity/keycloak/keycloak_clienttemplate.py @@ -163,7 +163,7 @@ EXAMPLES = ''' realm: master name: this_is_a_test -- name: delete Keycloak client template +- name: Delete Keycloak client template local_action: module: keycloak_clienttemplate auth_client_id: admin-cli diff --git a/plugins/modules/monitoring/logstash_plugin.py b/plugins/modules/monitoring/logstash_plugin.py index 5fd345a79b..d2e8a3c787 100644 --- a/plugins/modules/monitoring/logstash_plugin.py +++ b/plugins/modules/monitoring/logstash_plugin.py @@ -57,7 +57,7 @@ EXAMPLES = ''' state: absent name: logstash-filter-multiline -- name: install Logstash plugin with alternate heap size +- name: Install Logstash plugin with alternate heap size logstash_plugin: state: present name: logstash-input-beats diff --git a/plugins/modules/monitoring/sensu/sensu_check.py b/plugins/modules/monitoring/sensu/sensu_check.py index 57045d13ea..97f67aa6c8 100644 --- a/plugins/modules/monitoring/sensu/sensu_check.py +++ b/plugins/modules/monitoring/sensu/sensu_check.py @@ -129,7 +129,7 @@ author: "Anders Ingemann (@andsens)" EXAMPLES = ''' # Fetch metrics about the CPU load every 60 seconds, # the sensu server has a handler called 'relay' which forwards stats to graphite -- name: get cpu metrics +- name: Get cpu metrics sensu_check: name: cpu_load command: /etc/sensu/plugins/system/cpu-mpstat-metrics.rb @@ -139,7 +139,7 @@ EXAMPLES = ''' interval: 60 # Check whether nginx is running -- name: check nginx process +- name: Check nginx process sensu_check: name: nginx_running command: /etc/sensu/plugins/processes/check-procs.rb -f /var/run/nginx.pid @@ -150,7 +150,7 @@ EXAMPLES = ''' # Stop monitoring the disk capacity. # Note that the check will still show up in the sensu dashboard, # to remove it completely you need to issue a DELETE request to the sensu api. -- name: check disk +- name: Check disk sensu_check: name: check_disk_capacity state: absent diff --git a/plugins/modules/monitoring/sensu/sensu_subscription.py b/plugins/modules/monitoring/sensu/sensu_subscription.py index 5981504c62..21182c9290 100644 --- a/plugins/modules/monitoring/sensu/sensu_subscription.py +++ b/plugins/modules/monitoring/sensu/sensu_subscription.py @@ -51,11 +51,11 @@ reasons: EXAMPLES = ''' # Subscribe to the nginx channel -- name: subscribe to nginx checks +- name: Subscribe to nginx checks sensu_subscription: name=nginx # Unsubscribe from the common checks channel -- name: unsubscribe from common checks +- name: Unsubscribe from common checks sensu_subscription: name=common state=absent ''' diff --git a/plugins/modules/net_tools/cloudflare_dns.py b/plugins/modules/net_tools/cloudflare_dns.py index bf1ff6604e..ba95cff2c5 100644 --- a/plugins/modules/net_tools/cloudflare_dns.py +++ b/plugins/modules/net_tools/cloudflare_dns.py @@ -196,7 +196,7 @@ EXAMPLES = r''' account_api_key: dummyapitoken state: absent -- name: create a example.net CNAME record to example.com and proxy through Cloudflare's network +- name: Create a example.net CNAME record to example.com and proxy through Cloudflare's network cloudflare_dns: zone: example.net type: CNAME diff --git a/plugins/modules/net_tools/dnsimple.py b/plugins/modules/net_tools/dnsimple.py index bdabab8e0e..20791d93f8 100644 --- a/plugins/modules/net_tools/dnsimple.py +++ b/plugins/modules/net_tools/dnsimple.py @@ -121,7 +121,7 @@ EXAMPLES = ''' state: present delegate_to: localhost -- name: change TTL value for a record +- name: Change TTL value for a record dnsimple: domain: my.com record: '' diff --git a/plugins/modules/net_tools/ipinfoio_facts.py b/plugins/modules/net_tools/ipinfoio_facts.py index bad6e57e01..59acd16926 100644 --- a/plugins/modules/net_tools/ipinfoio_facts.py +++ b/plugins/modules/net_tools/ipinfoio_facts.py @@ -32,7 +32,7 @@ notes: EXAMPLES = ''' # Retrieve geolocation data of a host's IP address -- name: get IP geolocation data +- name: Get IP geolocation data ipinfoio_facts: ''' diff --git a/plugins/modules/net_tools/nios/nios_a_record.py b/plugins/modules/net_tools/nios/nios_a_record.py index fb507c49a6..d70a36ce27 100644 --- a/plugins/modules/net_tools/nios/nios_a_record.py +++ b/plugins/modules/net_tools/nios/nios_a_record.py @@ -67,7 +67,7 @@ options: ''' EXAMPLES = ''' -- name: configure an A record +- name: Configure an A record nios_a_record: name: a.ansible.com ipv4: 192.168.10.1 @@ -78,7 +78,7 @@ EXAMPLES = ''' password: admin connection: local -- name: add a comment to an existing A record +- name: Add a comment to an existing A record nios_a_record: name: a.ansible.com ipv4: 192.168.10.1 @@ -90,7 +90,7 @@ EXAMPLES = ''' password: admin connection: local -- name: remove an A record from the system +- name: Remove an A record from the system nios_a_record: name: a.ansible.com ipv4: 192.168.10.1 @@ -101,7 +101,7 @@ EXAMPLES = ''' password: admin connection: local -- name: update an A record name +- name: Update an A record name nios_a_record: name: {new_name: a_new.ansible.com, old_name: a.ansible.com} ipv4: 192.168.10.1 @@ -112,7 +112,7 @@ EXAMPLES = ''' password: admin connection: local -- name: dynamically add a record to next available ip +- name: Dynamically add a record to next available ip nios_a_record: name: a.ansible.com ipv4: {nios_next_ip: 192.168.10.0/24} diff --git a/plugins/modules/net_tools/nios/nios_aaaa_record.py b/plugins/modules/net_tools/nios/nios_aaaa_record.py index f70500c9a4..eed66577a0 100644 --- a/plugins/modules/net_tools/nios/nios_aaaa_record.py +++ b/plugins/modules/net_tools/nios/nios_aaaa_record.py @@ -65,7 +65,7 @@ options: ''' EXAMPLES = ''' -- name: configure an AAAA record +- name: Configure an AAAA record nios_aaaa_record: name: aaaa.ansible.com ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 @@ -76,7 +76,7 @@ EXAMPLES = ''' password: admin connection: local -- name: add a comment to an existing AAAA record +- name: Add a comment to an existing AAAA record nios_aaaa_record: name: aaaa.ansible.com ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 @@ -88,7 +88,7 @@ EXAMPLES = ''' password: admin connection: local -- name: remove an AAAA record from the system +- name: Remove an AAAA record from the system nios_aaaa_record: name: aaaa.ansible.com ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 @@ -99,7 +99,7 @@ EXAMPLES = ''' password: admin connection: local -- name: update an AAAA record name +- name: Update an AAAA record name nios_aaaa_record: name: {new_name: aaaa_new.ansible.com, old_name: aaaa.ansible.com} ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 diff --git a/plugins/modules/net_tools/nios/nios_cname_record.py b/plugins/modules/net_tools/nios/nios_cname_record.py index e0b688d136..2e604350dd 100644 --- a/plugins/modules/net_tools/nios/nios_cname_record.py +++ b/plugins/modules/net_tools/nios/nios_cname_record.py @@ -65,7 +65,7 @@ options: ''' EXAMPLES = ''' -- name: configure a CNAME record +- name: Configure a CNAME record nios_cname_record: name: cname.ansible.com canonical: realhost.ansible.com @@ -76,7 +76,7 @@ EXAMPLES = ''' password: admin connection: local -- name: add a comment to an existing CNAME record +- name: Add a comment to an existing CNAME record nios_cname_record: name: cname.ansible.com canonical: realhost.ansible.com @@ -88,7 +88,7 @@ EXAMPLES = ''' password: admin connection: local -- name: remove a CNAME record from the system +- name: Remove a CNAME record from the system nios_cname_record: name: cname.ansible.com canonical: realhost.ansible.com diff --git a/plugins/modules/net_tools/nios/nios_dns_view.py b/plugins/modules/net_tools/nios/nios_dns_view.py index 19e4683ff1..159258d129 100644 --- a/plugins/modules/net_tools/nios/nios_dns_view.py +++ b/plugins/modules/net_tools/nios/nios_dns_view.py @@ -62,7 +62,7 @@ options: ''' EXAMPLES = ''' -- name: configure a new dns view instance +- name: Configure a new dns view instance nios_dns_view: name: ansible-dns state: present @@ -71,7 +71,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: update the comment for dns view +- name: Update the comment for dns view nios_dns_view: name: ansible-dns comment: this is an example comment @@ -81,7 +81,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove the dns view instance +- name: Remove the dns view instance nios_dns_view: name: ansible-dns state: absent @@ -90,7 +90,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: update the dns view instance +- name: Update the dns view instance nios_dns_view: name: {new_name: ansible-dns-new, old_name: ansible-dns} state: present diff --git a/plugins/modules/net_tools/nios/nios_fixed_address.py b/plugins/modules/net_tools/nios/nios_fixed_address.py index 7a94c3b890..8fd6676740 100644 --- a/plugins/modules/net_tools/nios/nios_fixed_address.py +++ b/plugins/modules/net_tools/nios/nios_fixed_address.py @@ -94,7 +94,7 @@ options: ''' EXAMPLES = ''' -- name: configure ipv4 dhcp fixed address +- name: Configure ipv4 dhcp fixed address nios_fixed_address: name: ipv4_fixed ipaddr: 192.168.10.1 @@ -108,7 +108,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: configure a ipv6 dhcp fixed address +- name: Configure a ipv6 dhcp fixed address nios_fixed_address: name: ipv6_fixed ipaddr: fe80::1/10 @@ -122,7 +122,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: set dhcp options for a ipv4 fixed address +- name: Set dhcp options for a ipv4 fixed address nios_fixed_address: name: ipv4_fixed ipaddr: 192.168.10.1 @@ -139,7 +139,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove a ipv4 dhcp fixed address +- name: Remove a ipv4 dhcp fixed address nios_fixed_address: name: ipv4_fixed ipaddr: 192.168.10.1 diff --git a/plugins/modules/net_tools/nios/nios_host_record.py b/plugins/modules/net_tools/nios/nios_host_record.py index a77f521ab6..5f375eaa6d 100644 --- a/plugins/modules/net_tools/nios/nios_host_record.py +++ b/plugins/modules/net_tools/nios/nios_host_record.py @@ -144,7 +144,7 @@ options: ''' EXAMPLES = ''' -- name: configure an ipv4 host record +- name: Configure an ipv4 host record nios_host_record: name: host.ansible.com ipv4: @@ -157,7 +157,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: add a comment to an existing host record +- name: Add a comment to an existing host record nios_host_record: name: host.ansible.com ipv4: @@ -169,7 +169,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove a host record from the system +- name: Remove a host record from the system nios_host_record: name: host.ansible.com state: absent @@ -178,7 +178,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: update an ipv4 host record +- name: Update an ipv4 host record nios_host_record: name: {new_name: host-new.ansible.com, old_name: host.ansible.com} ipv4: @@ -189,7 +189,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: create an ipv4 host record bypassing DNS +- name: Create an ipv4 host record bypassing DNS nios_host_record: name: new_host ipv4: @@ -201,7 +201,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: create an ipv4 host record over DHCP +- name: Create an ipv4 host record over DHCP nios_host_record: name: host.ansible.com ipv4: @@ -214,7 +214,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: dynamically add host record to next available ip +- name: Dynamically add host record to next available ip nios_host_record: name: host.ansible.com ipv4: @@ -226,7 +226,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: add ip to host record +- name: Add ip to host record nios_host_record: name: host.ansible.com ipv4: @@ -238,7 +238,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove ip to host record +- name: Remove ip to host record nios_host_record: name: host.ansible.com ipv4: diff --git a/plugins/modules/net_tools/nios/nios_member.py b/plugins/modules/net_tools/nios/nios_member.py index 2957e4d942..8b42d9ea69 100644 --- a/plugins/modules/net_tools/nios/nios_member.py +++ b/plugins/modules/net_tools/nios/nios_member.py @@ -298,7 +298,7 @@ options: ''' EXAMPLES = ''' -- name: add a member to the grid with IPv4 address +- name: Add a member to the grid with IPv4 address nios_member: host_name: member01.localdomain vip_setting: @@ -314,7 +314,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: add a HA member to the grid +- name: Add a HA member to the grid nios_member: host_name: memberha.localdomain vip_setting: @@ -339,7 +339,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: update the member with pre-provisioning details specified +- name: Update the member with pre-provisioning details specified nios_member: name: member01.localdomain pre_provisioning: @@ -358,7 +358,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove the member +- name: Remove the member nios_member: name: member01.localdomain state: absent diff --git a/plugins/modules/net_tools/nios/nios_mx_record.py b/plugins/modules/net_tools/nios/nios_mx_record.py index a3c8002e7f..7a780f774d 100644 --- a/plugins/modules/net_tools/nios/nios_mx_record.py +++ b/plugins/modules/net_tools/nios/nios_mx_record.py @@ -69,7 +69,7 @@ options: ''' EXAMPLES = ''' -- name: configure an MX record +- name: Configure an MX record nios_mx_record: name: ansible.com mx: mailhost.ansible.com @@ -81,7 +81,7 @@ EXAMPLES = ''' password: admin connection: local -- name: add a comment to an existing MX record +- name: Add a comment to an existing MX record nios_mx_record: name: ansible.com mx: mailhost.ansible.com @@ -94,7 +94,7 @@ EXAMPLES = ''' password: admin connection: local -- name: remove an MX record from the system +- name: Remove an MX record from the system nios_mx_record: name: ansible.com mx: mailhost.ansible.com diff --git a/plugins/modules/net_tools/nios/nios_naptr_record.py b/plugins/modules/net_tools/nios/nios_naptr_record.py index e139293a1c..a00fdd3b26 100644 --- a/plugins/modules/net_tools/nios/nios_naptr_record.py +++ b/plugins/modules/net_tools/nios/nios_naptr_record.py @@ -97,7 +97,7 @@ options: ''' EXAMPLES = ''' -- name: configure a NAPTR record +- name: Configure a NAPTR record nios_naptr_record: name: '*.subscriber-100.ansiblezone.com' order: 1000 @@ -110,7 +110,7 @@ EXAMPLES = ''' password: admin connection: local -- name: add a comment to an existing NAPTR record +- name: Add a comment to an existing NAPTR record nios_naptr_record: name: '*.subscriber-100.ansiblezone.com' order: 1000 @@ -124,7 +124,7 @@ EXAMPLES = ''' password: admin connection: local -- name: remove a NAPTR record from the system +- name: Remove a NAPTR record from the system nios_naptr_record: name: '*.subscriber-100.ansiblezone.com' order: 1000 diff --git a/plugins/modules/net_tools/nios/nios_network.py b/plugins/modules/net_tools/nios/nios_network.py index a701267138..d317e14184 100644 --- a/plugins/modules/net_tools/nios/nios_network.py +++ b/plugins/modules/net_tools/nios/nios_network.py @@ -92,7 +92,7 @@ options: ''' EXAMPLES = ''' -- name: configure a network ipv4 +- name: Configure a network ipv4 nios_network: network: 192.168.10.0/24 comment: this is a test comment @@ -102,7 +102,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: configure a network ipv6 +- name: Configure a network ipv6 nios_network: network: fe80::/64 comment: this is a test comment @@ -112,7 +112,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: set dhcp options for a network ipv4 +- name: Set dhcp options for a network ipv4 nios_network: network: 192.168.10.0/24 comment: this is a test comment @@ -125,7 +125,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove a network ipv4 +- name: Remove a network ipv4 nios_network: network: 192.168.10.0/24 state: absent @@ -134,7 +134,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: configure a ipv4 network container +- name: Configure a ipv4 network container nios_network: network: 192.168.10.0/24 container: true @@ -145,7 +145,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: configure a ipv6 network container +- name: Configure a ipv6 network container nios_network: network: fe80::/64 container: true @@ -156,7 +156,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove a ipv4 network container +- name: Remove a ipv4 network container nios_network: networkr: 192.168.10.0/24 container: true diff --git a/plugins/modules/net_tools/nios/nios_network_view.py b/plugins/modules/net_tools/nios/nios_network_view.py index d2a2f7dbce..2e2e280e86 100644 --- a/plugins/modules/net_tools/nios/nios_network_view.py +++ b/plugins/modules/net_tools/nios/nios_network_view.py @@ -52,7 +52,7 @@ options: ''' EXAMPLES = ''' -- name: configure a new network view +- name: Configure a new network view nios_network_view: name: ansible state: present @@ -61,7 +61,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: update the comment for network view +- name: Update the comment for network view nios_network_view: name: ansible comment: this is an example comment @@ -71,7 +71,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove the network view +- name: Remove the network view nios_network_view: name: ansible state: absent @@ -80,7 +80,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: update a existing network view +- name: Update a existing network view nios_network_view: name: {new_name: ansible-new, old_name: ansible} state: present diff --git a/plugins/modules/net_tools/nios/nios_nsgroup.py b/plugins/modules/net_tools/nios/nios_nsgroup.py index a8c7c52a3b..fae3abfcdd 100644 --- a/plugins/modules/net_tools/nios/nios_nsgroup.py +++ b/plugins/modules/net_tools/nios/nios_nsgroup.py @@ -182,7 +182,7 @@ options: ''' EXAMPLES = ''' -- name: create simple infoblox nameserver group +- name: Create simple infoblox nameserver group nios_nsgroup: name: my-simple-group comment: "this is a simple nameserver group" @@ -195,7 +195,7 @@ EXAMPLES = ''' password: admin connection: local -- name: create infoblox nameserver group with external primaries +- name: Create infoblox nameserver group with external primaries nios_nsgroup: name: my-example-group use_external_primary: true @@ -212,7 +212,7 @@ EXAMPLES = ''' password: admin connection: local -- name: delete infoblox nameserver group +- name: Delete infoblox nameserver group nios_nsgroup: name: my-simple-group comment: "this is a simple nameserver group" diff --git a/plugins/modules/net_tools/nios/nios_srv_record.py b/plugins/modules/net_tools/nios/nios_srv_record.py index 99af167d6c..7a1b3fe265 100644 --- a/plugins/modules/net_tools/nios/nios_srv_record.py +++ b/plugins/modules/net_tools/nios/nios_srv_record.py @@ -75,7 +75,7 @@ options: ''' EXAMPLES = ''' -- name: configure an SRV record +- name: Configure an SRV record nios_srv_record: name: _sip._tcp.service.ansible.com port: 5080 @@ -89,7 +89,7 @@ EXAMPLES = ''' password: admin connection: local -- name: add a comment to an existing SRV record +- name: Add a comment to an existing SRV record nios_srv_record: name: _sip._tcp.service.ansible.com port: 5080 @@ -104,7 +104,7 @@ EXAMPLES = ''' password: admin connection: local -- name: remove an SRV record from the system +- name: Remove an SRV record from the system nios_srv_record: name: _sip._tcp.service.ansible.com port: 5080 diff --git a/plugins/modules/net_tools/nios/nios_zone.py b/plugins/modules/net_tools/nios/nios_zone.py index d242c4c3b8..326f2c6592 100644 --- a/plugins/modules/net_tools/nios/nios_zone.py +++ b/plugins/modules/net_tools/nios/nios_zone.py @@ -89,7 +89,7 @@ options: ''' EXAMPLES = ''' -- name: configure a zone on the system using grid primary and secondaries +- name: Configure a zone on the system using grid primary and secondaries nios_zone: name: ansible.com grid_primary: @@ -104,7 +104,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: configure a zone on the system using a name server group +- name: Configure a zone on the system using a name server group nios_zone: name: ansible.com ns_group: examplensg @@ -115,7 +115,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: configure a reverse mapping zone on the system using IPV4 zone format +- name: Configure a reverse mapping zone on the system using IPV4 zone format nios_zone: name: 10.10.10.0/24 zone_format: IPV4 @@ -125,7 +125,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: configure a reverse mapping zone on the system using IPV6 zone format +- name: Configure a reverse mapping zone on the system using IPV6 zone format nios_zone: name: 100::1/128 zone_format: IPV6 @@ -135,7 +135,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: update the comment and ext attributes for an existing zone +- name: Update the comment and ext attributes for an existing zone nios_zone: name: ansible.com comment: this is an example comment @@ -147,7 +147,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove the dns zone +- name: Remove the dns zone nios_zone: name: ansible.com state: absent @@ -156,7 +156,7 @@ EXAMPLES = ''' username: admin password: admin connection: local -- name: remove the reverse mapping dns zone from the system with IPV4 zone format +- name: Remove the reverse mapping dns zone from the system with IPV4 zone format nios_zone: name: 10.10.10.0/24 zone_format: IPV4 diff --git a/plugins/modules/net_tools/nmcli.py b/plugins/modules/net_tools/nmcli.py index 08c5a2d85d..2fdd548fd8 100644 --- a/plugins/modules/net_tools/nmcli.py +++ b/plugins/modules/net_tools/nmcli.py @@ -354,7 +354,7 @@ EXAMPLES = r''' remote_user: root tasks: - - name: install needed network manager libs + - name: Install needed network manager libs package: name: - NetworkManager-libnm diff --git a/plugins/modules/notification/rocketchat.py b/plugins/modules/notification/rocketchat.py index 61193ae3c0..8bd67772a9 100644 --- a/plugins/modules/notification/rocketchat.py +++ b/plugins/modules/notification/rocketchat.py @@ -101,7 +101,7 @@ EXAMPLES = """ link_names: 0 delegate_to: localhost -- name: insert a color bar in front of the message for visibility purposes and use the default webhook icon and name configured in rocketchat +- name: Insert a color bar in front of the message for visibility purposes and use the default webhook icon and name configured in rocketchat rocketchat: token: thetoken/generatedby/rocketchat domain: chat.example.com diff --git a/plugins/modules/notification/slack.py b/plugins/modules/notification/slack.py index ebdd671c88..bfd257dba3 100644 --- a/plugins/modules/notification/slack.py +++ b/plugins/modules/notification/slack.py @@ -122,7 +122,7 @@ EXAMPLES = """ parse: 'none' delegate_to: localhost -- name: insert a color bar in front of the message for visibility purposes and use the default webhook icon and name configured in Slack +- name: Insert a color bar in front of the message for visibility purposes and use the default webhook icon and name configured in Slack slack: token: thetoken/generatedby/slack msg: '{{ inventory_hostname }} is alive!' @@ -130,7 +130,7 @@ EXAMPLES = """ username: '' icon_url: '' -- name: insert a color bar in front of the message with valid hex color value +- name: Insert a color bar in front of the message with valid hex color value slack: token: thetoken/generatedby/slack msg: 'This message uses color in hex value' diff --git a/plugins/modules/notification/telegram.py b/plugins/modules/notification/telegram.py index 6f5f6cd878..f06cf4931e 100644 --- a/plugins/modules/notification/telegram.py +++ b/plugins/modules/notification/telegram.py @@ -44,7 +44,7 @@ options: EXAMPLES = """ -- name: send a message to chat in playbook +- name: Send a message to chat in playbook telegram: token: '9999999:XXXXXXXXXXXXXXXXXXXXXXX' chat_id: 000000 diff --git a/plugins/modules/packaging/language/composer.py b/plugins/modules/packaging/language/composer.py index 7ea5b9d045..d25457978a 100644 --- a/plugins/modules/packaging/language/composer.py +++ b/plugins/modules/packaging/language/composer.py @@ -116,7 +116,7 @@ EXAMPLES = ''' command: install working_dir: /path/to/project -- name: install a new package +- name: Install a new package composer: command: require arguments: my/package diff --git a/plugins/modules/packaging/language/pip_package_info.py b/plugins/modules/packaging/language/pip_package_info.py index 947572c0c2..ae51f9c6a3 100644 --- a/plugins/modules/packaging/language/pip_package_info.py +++ b/plugins/modules/packaging/language/pip_package_info.py @@ -32,11 +32,11 @@ EXAMPLES = ''' - name: Just get the list from default pip pip_package_info: -- name: get the facts for default pip, pip2 and pip3.6 +- name: Get the facts for default pip, pip2 and pip3.6 pip_package_info: clients: ['pip', 'pip2', 'pip3.6'] -- name: get from specific paths (virtualenvs?) +- name: Get from specific paths (virtualenvs?) pip_package_info: clients: '/home/me/projec42/python/pip3.5' ''' diff --git a/plugins/modules/remote_management/lxca/lxca_cmms.py b/plugins/modules/remote_management/lxca/lxca_cmms.py index 8b411f7d5d..d541dd64b9 100644 --- a/plugins/modules/remote_management/lxca/lxca_cmms.py +++ b/plugins/modules/remote_management/lxca/lxca_cmms.py @@ -41,14 +41,14 @@ extends_documentation_fragment: EXAMPLES = ''' # get all cmms info -- name: get nodes data from LXCA +- name: Get nodes data from LXCA lxca_cmms: login_user: USERID login_password: Password auth_url: "https://10.243.15.168" # get specific cmms info by uuid -- name: get nodes data from LXCA +- name: Get nodes data from LXCA lxca_cmms: login_user: USERID login_password: Password @@ -57,7 +57,7 @@ EXAMPLES = ''' command_options: cmms_by_uuid # get specific cmms info by chassis uuid -- name: get nodes data from LXCA +- name: Get nodes data from LXCA lxca_cmms: login_user: USERID login_password: Password diff --git a/plugins/modules/remote_management/lxca/lxca_nodes.py b/plugins/modules/remote_management/lxca/lxca_nodes.py index 647dbfcbab..085286dca2 100644 --- a/plugins/modules/remote_management/lxca/lxca_nodes.py +++ b/plugins/modules/remote_management/lxca/lxca_nodes.py @@ -43,7 +43,7 @@ extends_documentation_fragment: EXAMPLES = ''' # get all nodes info -- name: get nodes data from LXCA +- name: Get nodes data from LXCA lxca_nodes: login_user: USERID login_password: Password @@ -51,7 +51,7 @@ EXAMPLES = ''' command_options: nodes # get specific nodes info by uuid -- name: get nodes data from LXCA +- name: Get nodes data from LXCA lxca_nodes: login_user: USERID login_password: Password @@ -60,7 +60,7 @@ EXAMPLES = ''' command_options: nodes_by_uuid # get specific nodes info by chassis uuid -- name: get nodes data from LXCA +- name: Get nodes data from LXCA lxca_nodes: login_user: USERID login_password: Password @@ -69,7 +69,7 @@ EXAMPLES = ''' command_options: nodes_by_chassis_uuid # get managed nodes -- name: get nodes data from LXCA +- name: Get nodes data from LXCA lxca_nodes: login_user: USERID login_password: Password @@ -77,7 +77,7 @@ EXAMPLES = ''' command_options: nodes_status_managed # get unmanaged nodes -- name: get nodes data from LXCA +- name: Get nodes data from LXCA lxca_nodes: login_user: USERID login_password: Password diff --git a/plugins/modules/source_control/github/github_webhook.py b/plugins/modules/source_control/github/github_webhook.py index f59db9cfcf..4f78610deb 100644 --- a/plugins/modules/source_control/github/github_webhook.py +++ b/plugins/modules/source_control/github/github_webhook.py @@ -94,7 +94,7 @@ EXAMPLES = ''' user: "{{ github_user }}" password: "{{ github_password }}" -- name: create a new webhook in a github enterprise installation with multiple event triggers (token auth) +- name: Create a new webhook in a github enterprise installation with multiple event triggers (token auth) github_webhook: repository: myorg/myrepo url: https://jenkins.example.com/ghprbhook/ @@ -108,7 +108,7 @@ EXAMPLES = ''' token: "{{ github_user_api_token }}" github_url: https://github.example.com -- name: delete a webhook (password auth) +- name: Delete a webhook (password auth) github_webhook: repository: ansible/ansible url: https://www.example.com/hooks/ diff --git a/plugins/modules/source_control/github/github_webhook_info.py b/plugins/modules/source_control/github/github_webhook_info.py index 8b7b9b88b9..d50256bbc0 100644 --- a/plugins/modules/source_control/github/github_webhook_info.py +++ b/plugins/modules/source_control/github/github_webhook_info.py @@ -45,14 +45,14 @@ author: ''' EXAMPLES = ''' -- name: list hooks for a repository (password auth) +- name: List hooks for a repository (password auth) github_webhook_info: repository: ansible/ansible user: "{{ github_user }}" password: "{{ github_password }}" register: ansible_webhooks -- name: list hooks for a repository on GitHub Enterprise (token auth) +- name: List hooks for a repository on GitHub Enterprise (token auth) github_webhook_info: repository: myorg/myrepo user: "{{ github_user }}" diff --git a/plugins/modules/storage/glusterfs/gluster_volume.py b/plugins/modules/storage/glusterfs/gluster_volume.py index 594d2a0fa8..182e940e94 100644 --- a/plugins/modules/storage/glusterfs/gluster_volume.py +++ b/plugins/modules/storage/glusterfs/gluster_volume.py @@ -86,7 +86,7 @@ author: ''' EXAMPLES = """ -- name: create gluster volume +- name: Create gluster volume gluster_volume: state: present name: test1 @@ -97,7 +97,7 @@ EXAMPLES = """ - 192.0.2.11 run_once: true -- name: tune +- name: Tune gluster_volume: state: present name: test1 @@ -114,29 +114,29 @@ EXAMPLES = """ quick-read: 'on' } -- name: start gluster volume +- name: Start gluster volume gluster_volume: state: started name: test1 -- name: limit usage +- name: Limit usage gluster_volume: state: present name: test1 directory: /foo quota: 20.0MB -- name: stop gluster volume +- name: Stop gluster volume gluster_volume: state: stopped name: test1 -- name: remove gluster volume +- name: Remove gluster volume gluster_volume: state: absent name: test1 -- name: create gluster volume with multiple bricks +- name: Create gluster volume with multiple bricks gluster_volume: state: present name: test2 diff --git a/plugins/modules/storage/purestorage/purefa_facts.py b/plugins/modules/storage/purestorage/purefa_facts.py index fb3e6b02e8..4a708ba50b 100644 --- a/plugins/modules/storage/purestorage/purefa_facts.py +++ b/plugins/modules/storage/purestorage/purefa_facts.py @@ -39,12 +39,12 @@ extends_documentation_fragment: ''' EXAMPLES = r''' -- name: collect default set of facts +- name: Collect default set of facts purefa_facts: fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592 -- name: collect configuration and capacity facts +- name: Collect configuration and capacity facts purefa_facts: gather_subset: - config @@ -52,7 +52,7 @@ EXAMPLES = r''' fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592 -- name: collect all facts +- name: Collect all facts purefa_facts: gather_subset: - all diff --git a/plugins/modules/storage/purestorage/purefb_facts.py b/plugins/modules/storage/purestorage/purefb_facts.py index 74e1485d4b..3cc3a7a97f 100644 --- a/plugins/modules/storage/purestorage/purefb_facts.py +++ b/plugins/modules/storage/purestorage/purefb_facts.py @@ -39,12 +39,12 @@ extends_documentation_fragment: ''' EXAMPLES = r''' -- name: collect default set of facts +- name: Collect default set of facts purefb_facts: fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641 -- name: collect configuration and capacity facts +- name: Collect configuration and capacity facts purefb_facts: gather_subset: - config @@ -52,7 +52,7 @@ EXAMPLES = r''' fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641 -- name: collect all facts +- name: Collect all facts purefb_facts: gather_subset: - all diff --git a/plugins/modules/system/nosh.py b/plugins/modules/system/nosh.py index f481155ea9..7360e5dab6 100644 --- a/plugins/modules/system/nosh.py +++ b/plugins/modules/system/nosh.py @@ -60,42 +60,42 @@ notes: ''' EXAMPLES = ''' -- name: start dnscache if not running +- name: Start dnscache if not running nosh: name=dnscache state=started -- name: stop mpd, if running +- name: Stop mpd, if running nosh: name=mpd state=stopped -- name: restart unbound or start it if not already running +- name: Restart unbound or start it if not already running nosh: name: unbound state: restarted -- name: reload fail2ban or start it if not already running +- name: Reload fail2ban or start it if not already running nosh: name: fail2ban state: reloaded -- name: disable nsd +- name: Disable nsd nosh: name=nsd enabled=no -- name: for package installers, set nginx running state according to local enable settings, preset and reset +- name: For package installers, set nginx running state according to local enable settings, preset and reset nosh: name=nginx preset=True state=reset -- name: reboot the host if nosh is the system manager, would need a "wait_for*" task at least, not recommended as-is +- name: Reboot the host if nosh is the system manager, would need a "wait_for*" task at least, not recommended as-is nosh: name=reboot state=started -- name: using conditionals with the module facts +- name: Using conditionals with the module facts tasks: - - name: obtain information on tinydns service + - name: Obtain information on tinydns service nosh: name=tinydns register: result - - name: fail if service not loaded + - name: Fail if service not loaded fail: msg="The {{ result.name }} service is not loaded" when: not result.status - - name: fail if service is running + - name: Fail if service is running fail: msg="The {{ result.name }} service is running" when: result.status and result.status['DaemontoolsEncoreState'] == "running" ''' diff --git a/plugins/modules/system/python_requirements_info.py b/plugins/modules/system/python_requirements_info.py index a0214f11a1..015041da6b 100644 --- a/plugins/modules/system/python_requirements_info.py +++ b/plugins/modules/system/python_requirements_info.py @@ -24,9 +24,10 @@ author: ''' EXAMPLES = ''' -- name: show python lib/site paths +- name: Show python lib/site paths python_requirements_info: -- name: check for modern boto3 and botocore versions + +- name: Check for modern boto3 and botocore versions python_requirements_info: dependencies: - boto3>1.6 diff --git a/plugins/modules/web_infrastructure/ejabberd_user.py b/plugins/modules/web_infrastructure/ejabberd_user.py index f052404542..97e262a87c 100644 --- a/plugins/modules/web_infrastructure/ejabberd_user.py +++ b/plugins/modules/web_infrastructure/ejabberd_user.py @@ -50,13 +50,13 @@ notes: EXAMPLES = ''' # Example playbook entries using the ejabberd_user module to manage users state. -- name: create a user if it does not exist +- name: Create a user if it does not exist ejabberd_user: username: test host: server password: password -- name: delete a user if it exists +- name: Delete a user if it exists ejabberd_user: username: test host: server diff --git a/plugins/modules/web_infrastructure/gunicorn.py b/plugins/modules/web_infrastructure/gunicorn.py index d5d346ea35..7d31321617 100644 --- a/plugins/modules/web_infrastructure/gunicorn.py +++ b/plugins/modules/web_infrastructure/gunicorn.py @@ -55,24 +55,24 @@ notes: ''' EXAMPLES = ''' -- name: simple gunicorn run example +- name: Simple gunicorn run example gunicorn: app: 'wsgi' chdir: '/workspace/example' -- name: run gunicorn on a virtualenv +- name: Run gunicorn on a virtualenv gunicorn: app: 'wsgi' chdir: '/workspace/example' venv: '/workspace/example/venv' -- name: run gunicorn with a config file +- name: Run gunicorn with a config file gunicorn: app: 'wsgi' chdir: '/workspace/example' conf: '/workspace/example/gunicorn.cfg' -- name: run gunicorn as ansible user with specified pid and config file +- name: Run gunicorn as ansible user with specified pid and config file gunicorn: app: 'wsgi' chdir: '/workspace/example' diff --git a/plugins/modules/web_infrastructure/jenkins_script.py b/plugins/modules/web_infrastructure/jenkins_script.py index bbcc9fec79..2f839770fc 100644 --- a/plugins/modules/web_infrastructure/jenkins_script.py +++ b/plugins/modules/web_infrastructure/jenkins_script.py @@ -72,13 +72,13 @@ EXAMPLES = ''' instance.setMode(${jenkins_mode}) instance.save() -- name: use the variable as the script +- name: Use the variable as the script jenkins_script: script: "{{ setmaster_mode }}" args: jenkins_mode: Node.Mode.EXCLUSIVE -- name: interacting with an untrusted HTTPS connection +- name: Interacting with an untrusted HTTPS connection jenkins_script: script: "println(Jenkins.instance.pluginManager.plugins)" user: admin diff --git a/plugins/modules/web_infrastructure/nginx_status_facts.py b/plugins/modules/web_infrastructure/nginx_status_facts.py index d3a4079eaa..62deb47462 100644 --- a/plugins/modules/web_infrastructure/nginx_status_facts.py +++ b/plugins/modules/web_infrastructure/nginx_status_facts.py @@ -36,12 +36,12 @@ notes: EXAMPLES = ''' # Gather status facts from nginx on localhost -- name: get current http stats +- name: Get current http stats nginx_status_facts: url: http://localhost/nginx_status # Gather status facts from nginx on localhost with a custom timeout of 20 seconds -- name: get current http stats +- name: Get current http stats nginx_status_facts: url: http://localhost/nginx_status timeout: 20 diff --git a/plugins/modules/web_infrastructure/nginx_status_info.py b/plugins/modules/web_infrastructure/nginx_status_info.py index b24e0aab98..865cdb90e3 100644 --- a/plugins/modules/web_infrastructure/nginx_status_info.py +++ b/plugins/modules/web_infrastructure/nginx_status_info.py @@ -34,13 +34,13 @@ notes: EXAMPLES = r''' # Gather status info from nginx on localhost -- name: get current http stats +- name: Get current http stats nginx_status_info: url: http://localhost/nginx_status register: result # Gather status info from nginx on localhost with a custom timeout of 20 seconds -- name: get current http stats +- name: Get current http stats nginx_status_info: url: http://localhost/nginx_status timeout: 20 diff --git a/plugins/modules/web_infrastructure/sophos_utm/utm_ca_host_key_cert.py b/plugins/modules/web_infrastructure/sophos_utm/utm_ca_host_key_cert.py index 1a17d85716..2e06b0aed7 100644 --- a/plugins/modules/web_infrastructure/sophos_utm/utm_ca_host_key_cert.py +++ b/plugins/modules/web_infrastructure/sophos_utm/utm_ca_host_key_cert.py @@ -56,8 +56,7 @@ extends_documentation_fragment: ''' EXAMPLES = """ -# Create a ca_host_key_cert entry -- name: utm ca_host_key_cert +- name: Create a ca_host_key_cert entry utm_ca_host_key_cert: utm_host: sophos.host.name utm_token: abcdefghijklmno1234 @@ -72,16 +71,14 @@ EXAMPLES = """ --- END CERTIFICATE --- state: present -# Remove a ca_host_key_cert entry -- name: utm ca_host_key_cert +- name: Remove a ca_host_key_cert entry utm_ca_host_key_cert: utm_host: sophos.host.name utm_token: abcdefghijklmno1234 name: TestHostKeyCertEntry state: absent -# Read a ca_host_key_cert entry -- name: utm ca_host_key_cert +- name: Read a ca_host_key_cert entry utm_ca_host_key_cert: utm_host: sophos.host.name utm_token: abcdefghijklmno1234 diff --git a/plugins/modules/web_infrastructure/sophos_utm/utm_ca_host_key_cert_info.py b/plugins/modules/web_infrastructure/sophos_utm/utm_ca_host_key_cert_info.py index 2589edd8cc..d493189088 100644 --- a/plugins/modules/web_infrastructure/sophos_utm/utm_ca_host_key_cert_info.py +++ b/plugins/modules/web_infrastructure/sophos_utm/utm_ca_host_key_cert_info.py @@ -32,7 +32,7 @@ extends_documentation_fragment: ''' EXAMPLES = """ -- name: utm ca_host_key_cert_info +- name: Get info for a ca host_key_cert entry utm_ca_host_key_cert_info: utm_host: sophos.host.name utm_token: abcdefghijklmno1234 diff --git a/plugins/modules/web_infrastructure/sophos_utm/utm_network_interface_address.py b/plugins/modules/web_infrastructure/sophos_utm/utm_network_interface_address.py index 01ee83d6a7..526507eac7 100644 --- a/plugins/modules/web_infrastructure/sophos_utm/utm_network_interface_address.py +++ b/plugins/modules/web_infrastructure/sophos_utm/utm_network_interface_address.py @@ -49,8 +49,7 @@ extends_documentation_fragment: ''' EXAMPLES = """ -# Create a network interface address -- name: utm network interface address +- name: Create a network interface address utm_proxy_backend: utm_host: sophos.host.name utm_token: abcdefghijklmno1234 @@ -58,8 +57,7 @@ EXAMPLES = """ address: 0.0.0.0 state: present -# Remove a network interface address -- name: utm network interface address +- name: Remove a network interface address network_interface_address: utm_host: sophos.host.name utm_token: abcdefghijklmno1234 diff --git a/plugins/modules/web_infrastructure/sophos_utm/utm_network_interface_address_info.py b/plugins/modules/web_infrastructure/sophos_utm/utm_network_interface_address_info.py index f675a96896..7b2a84edca 100644 --- a/plugins/modules/web_infrastructure/sophos_utm/utm_network_interface_address_info.py +++ b/plugins/modules/web_infrastructure/sophos_utm/utm_network_interface_address_info.py @@ -31,7 +31,7 @@ extends_documentation_fragment: ''' EXAMPLES = """ -- name: utm network interface address +- name: Get network interface address info utm_proxy_interface_address_info: utm_host: sophos.host.name utm_token: abcdefghijklmno1234