Fix trailing space in ec2_vol example, fix 'the the' typos (#28440)

* Fix 'the the' typos, fix 'pahting' filename typo

* Change 'the the' typos to a single 'the'.
* Change `playbook_pahting.rst` to `playbook_pathing.rst`.

* Delete trailing space in ec2_vol example

Delete the trailing space in `instance: "{{ item.id }} "`, which makes the
example fail when run because it looks for instance "i-xxxx ".
This commit is contained in:
David Kretch 2017-08-19 17:00:51 -04:00 committed by René Moser
commit beed59f303
39 changed files with 44 additions and 44 deletions

View file

@ -151,7 +151,7 @@ EXAMPLES = '''
count: 3
register: ec2
- ec2_vol:
instance: "{{ item.id }} "
instance: "{{ item.id }}"
volume_size: 5
with_items: "{{ ec2.instances }}"
register: ec2_vol

View file

@ -351,7 +351,7 @@ def find_stream(client, stream_name, check_mode=False):
def wait_for_status(client, stream_name, status, wait_timeout=300,
check_mode=False):
"""Wait for the the status to change for a Kinesis Stream.
"""Wait for the status to change for a Kinesis Stream.
Args:
client (botocore.client.EC2): Boto3 client
stream_name (str): The name of the kinesis stream.

View file

@ -661,7 +661,7 @@ class ClcModifyServer:
def _ensure_aa_policy_absent(
self, server, server_params):
"""
ensures the the provided anti affinity policy is removed from the server
ensures the provided anti affinity policy is removed from the server
:param server: the CLC server object
:param server_params: the dictionary of server parameters
:return: (changed, group) -

View file

@ -145,7 +145,7 @@ description:
type: string
sample: snapshot brought to you by Ansible
domain:
description: Domain the the vm snapshot is related to.
description: Domain the vm snapshot is related to.
returned: success
type: string
sample: example domain

View file

@ -34,7 +34,7 @@ description:
options:
id:
description:
- "Id of the the storage connection to manage."
- "Id of the storage connection to manage."
state:
description:
- "Should the storage connection be present or absent."
@ -42,7 +42,7 @@ options:
default: present
storage:
description:
- "Name of the the storage domain to be used with storage connection."
- "Name of the storage domain to be used with storage connection."
address:
description:
- "Address of the storage server. E.g.: myserver.mydomain.com"

View file

@ -341,7 +341,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:
templates = templates_service.list(unregistered=True)
template = next(
(t for t in templates if t.name == module.params['name']),