From d779eb1f1598375e3a9e85afff1f22e48464ce5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=99=AB=20Christian=20Krause=20=E2=99=AB?= Date: Wed, 22 Aug 2018 21:53:30 +0200 Subject: [PATCH] doc: fixes the the repetitions (#43937) Wow, this does not seem to be an uncommon misspelling. Might be there are some left that span over two lines. I noticed the one in the git module and then used `grep -rw 'the the'` to find some more. --- docs/docsite/rst/scenario_guides/guide_gce.rst | 2 +- docs/docsite/rst/user_guide/windows_dsc.rst | 2 +- lib/ansible/module_utils/net_tools/nios/api.py | 2 +- lib/ansible/modules/cloud/amazon/GUIDELINES.md | 2 +- .../modules/cloud/ovirt/ovirt_storage_templates_facts.py | 2 +- lib/ansible/modules/cloud/ovirt/ovirt_storage_vms_facts.py | 2 +- lib/ansible/modules/cloud/ovirt/ovirt_vms.py | 2 +- lib/ansible/modules/crypto/acme/acme_certificate.py | 2 +- lib/ansible/modules/source_control/git.py | 2 +- .../storage/netapp/na_ontap_service_processor_network.py | 2 +- lib/ansible/modules/system/pamd.py | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/docsite/rst/scenario_guides/guide_gce.rst b/docs/docsite/rst/scenario_guides/guide_gce.rst index f44fa0c82d..77a1715472 100644 --- a/docs/docsite/rst/scenario_guides/guide_gce.rst +++ b/docs/docsite/rst/scenario_guides/guide_gce.rst @@ -24,7 +24,7 @@ and make them automatically available in your Ansible inventory. You may see a collection of other GCP modules that do not conform to this naming convention. These are the original modules primarily developed by the Ansible community. You will find some overlapping functionality such as with -the the "gce" module and the new "gcp_compute_instance" module. Either can be +the "gce" module and the new "gcp_compute_instance" module. Either can be used, but you may experience issues trying to use them together. While the community GCP modules are not going away, Google is investing effort diff --git a/docs/docsite/rst/user_guide/windows_dsc.rst b/docs/docsite/rst/user_guide/windows_dsc.rst index e9ca38f31a..cf52dca6b6 100644 --- a/docs/docsite/rst/user_guide/windows_dsc.rst +++ b/docs/docsite/rst/user_guide/windows_dsc.rst @@ -60,7 +60,7 @@ The ``win_dsc`` module takes in a free-form of options so that it changes according to the resource it is managing. A list of built in resources can be found at `resources `_. -Using the the `Registry `_ +Using the `Registry `_ resource as an example, this is the DSC definition as documented by Microsoft:: Registry [string] #ResourceName diff --git a/lib/ansible/module_utils/net_tools/nios/api.py b/lib/ansible/module_utils/net_tools/nios/api.py index 23d7cbb035..d1830fae2a 100644 --- a/lib/ansible/module_utils/net_tools/nios/api.py +++ b/lib/ansible/module_utils/net_tools/nios/api.py @@ -377,7 +377,7 @@ class WapiModule(WapiBase): and/or keys filtered before it is sent to the API endpoint to be processed. :args proposed_object: A dict item that will be encoded and sent - the the API endpoint with the updated data structure + the API endpoint with the updated data structure :returns: updated object to be sent to API endpoint ''' keys = set() diff --git a/lib/ansible/modules/cloud/amazon/GUIDELINES.md b/lib/ansible/modules/cloud/amazon/GUIDELINES.md index f2faa30b75..e8461889f8 100644 --- a/lib/ansible/modules/cloud/amazon/GUIDELINES.md +++ b/lib/ansible/modules/cloud/amazon/GUIDELINES.md @@ -3,7 +3,7 @@ The Ansible AWS modules and these guidelines are maintained by the Ansible AWS Working Group. For further information see [the AWS working group community page](https://github.com/ansible/community/tree/master/group-aws). -If you are planning to contribute AWS modules to Ansible then getting in touch with the the working +If you are planning to contribute AWS modules to Ansible then getting in touch with the working group will be a good way to start, especially because a similar module may already be under development. diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_templates_facts.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_templates_facts.py index e228c29433..6930fd3fc5 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_templates_facts.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_templates_facts.py @@ -95,7 +95,7 @@ def main(): storage_domain_service = storage_domains_service.storage_domain_service(sd_id) templates_service = storage_domain_service.templates_service() - # Find the the unregistered Template we want to register: + # Find the unregistered Template we want to register: if module.params.get('unregistered'): templates = templates_service.list(unregistered=True) else: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_vms_facts.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_vms_facts.py index cd21a30b08..4a5586b95f 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_vms_facts.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_vms_facts.py @@ -94,7 +94,7 @@ def main(): storage_domain_service = storage_domains_service.storage_domain_service(sd_id) vms_service = storage_domain_service.vms_service() - # Find the the unregistered VM we want to register: + # Find the unregistered VM we want to register: if module.params.get('unregistered'): vms = vms_service.list(unregistered=True) else: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_vms.py b/lib/ansible/modules/cloud/ovirt/ovirt_vms.py index 441ea07c3b..4ba75bea5f 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_vms.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_vms.py @@ -2095,7 +2095,7 @@ def main(): storage_domain_service = storage_domains_service.storage_domain_service(sd_id) vms_service = storage_domain_service.vms_service() - # Find the the unregistered VM we want to register: + # Find the unregistered VM we want to register: vms = vms_service.list(unregistered=True) vm = next( (vm for vm in vms if (vm.id == module.params['id'] or vm.name == module.params['name'])), diff --git a/lib/ansible/modules/crypto/acme/acme_certificate.py b/lib/ansible/modules/crypto/acme/acme_certificate.py index 271acc610f..dcdea4000e 100644 --- a/lib/ansible/modules/crypto/acme/acme_certificate.py +++ b/lib/ansible/modules/crypto/acme/acme_certificate.py @@ -96,7 +96,7 @@ options: - "The CSR may contain multiple Subject Alternate Names, but each one will lead to an individual challenge that must be fulfilled for the CSR to be signed." - - "I(Note): the private key used to create the CSR I(must not) be the the + - "I(Note): the private key used to create the CSR I(must not) be the account key. This is a bad idea from a security point of view, and the CA should not accept the CSR. Let's Encrypt will return an error in this case." diff --git a/lib/ansible/modules/source_control/git.py b/lib/ansible/modules/source_control/git.py index 811eb11e3f..9199539abd 100644 --- a/lib/ansible/modules/source_control/git.py +++ b/lib/ansible/modules/source_control/git.py @@ -36,7 +36,7 @@ options: required: true version: description: - - What version of the repository to check out. This can be the + - What version of the repository to check out. This can be the literal string C(HEAD), a branch name, a tag name. It can also be a I(SHA-1) hash, in which case C(refspec) needs to be specified if the given revision is not already available. diff --git a/lib/ansible/modules/storage/netapp/na_ontap_service_processor_network.py b/lib/ansible/modules/storage/netapp/na_ontap_service_processor_network.py index 8ad2200f6f..ae18bb2e4d 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_service_processor_network.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_service_processor_network.py @@ -39,7 +39,7 @@ options: type: bool node: description: - - The node where the the service processor network should be enabled + - The node where the service processor network should be enabled required: true dhcp: description: diff --git a/lib/ansible/modules/system/pamd.py b/lib/ansible/modules/system/pamd.py index 161f2e6f50..ab0319b679 100644 --- a/lib/ansible/modules/system/pamd.py +++ b/lib/ansible/modules/system/pamd.py @@ -262,7 +262,7 @@ dest: sample: "/etc/pam.d/system-auth" backupdest: description: - - "The file name of the the backup file, if created." + - "The file name of the backup file, if created." returned: success type: string version_added: 2.6