summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Kretch <david.kretch@gmail.com>2017-08-19 17:00:51 -0400
committerRené Moser <mail@renemoser.net>2017-08-19 23:00:51 +0200
commitbeed59f303e1efbf8e6b6d5f7e5fc985f883a1e4 (patch)
tree6d3c26939bfc9811d165cb6ef8b88e2261a4476d /lib
parentb5a00d05d3950ca25a87669196b9ca0432ec37fc (diff)
downloadansible-beed59f303e1efbf8e6b6d5f7e5fc985f883a1e4.tar.gz
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 ".
Diffstat (limited to 'lib')
-rw-r--r--lib/ansible/modules/cloud/amazon/ec2_vol.py2
-rw-r--r--lib/ansible/modules/cloud/amazon/kinesis_stream.py2
-rw-r--r--lib/ansible/modules/cloud/centurylink/clc_modify_server.py2
-rw-r--r--lib/ansible/modules/cloud/cloudstack/cs_vmsnapshot.py2
-rw-r--r--lib/ansible/modules/cloud/ovirt/ovirt_storage_connections.py4
-rw-r--r--lib/ansible/modules/cloud/ovirt/ovirt_templates.py2
-rw-r--r--lib/ansible/modules/clustering/consul.py2
-rwxr-xr-xlib/ansible/modules/files/xml.py2
-rw-r--r--lib/ansible/modules/monitoring/librato_annotation.py4
-rw-r--r--lib/ansible/modules/monitoring/monit.py2
-rw-r--r--lib/ansible/modules/network/aos/aos_blueprint_param.py2
-rw-r--r--lib/ansible/modules/network/aruba/aruba_config.py2
-rwxr-xr-xlib/ansible/modules/network/bigswitch/bigmon_chain.py2
-rw-r--r--lib/ansible/modules/network/bigswitch/bigmon_policy.py2
-rw-r--r--lib/ansible/modules/network/cloudengine/ce_sflow.py2
-rw-r--r--lib/ansible/modules/network/cumulus/nclu.py2
-rw-r--r--lib/ansible/modules/network/eos/eos_config.py2
-rw-r--r--lib/ansible/modules/network/ios/ios_config.py2
-rw-r--r--lib/ansible/modules/network/netconf/netconf_config.py2
-rw-r--r--lib/ansible/modules/network/nxos/nxos_config.py2
-rw-r--r--lib/ansible/modules/storage/netapp/netapp_e_volume_copy.py6
-rw-r--r--lib/ansible/modules/system/parted.py2
-rw-r--r--lib/ansible/modules/web_infrastructure/letsencrypt.py2
23 files changed, 27 insertions, 27 deletions
diff --git a/lib/ansible/modules/cloud/amazon/ec2_vol.py b/lib/ansible/modules/cloud/amazon/ec2_vol.py
index 320aa34ebd..6c16d7272b 100644
--- a/lib/ansible/modules/cloud/amazon/ec2_vol.py
+++ b/lib/ansible/modules/cloud/amazon/ec2_vol.py
@@ -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
diff --git a/lib/ansible/modules/cloud/amazon/kinesis_stream.py b/lib/ansible/modules/cloud/amazon/kinesis_stream.py
index a7604e1c70..858c39335b 100644
--- a/lib/ansible/modules/cloud/amazon/kinesis_stream.py
+++ b/lib/ansible/modules/cloud/amazon/kinesis_stream.py
@@ -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.
diff --git a/lib/ansible/modules/cloud/centurylink/clc_modify_server.py b/lib/ansible/modules/cloud/centurylink/clc_modify_server.py
index 4636f11a20..cda543adff 100644
--- a/lib/ansible/modules/cloud/centurylink/clc_modify_server.py
+++ b/lib/ansible/modules/cloud/centurylink/clc_modify_server.py
@@ -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) -
diff --git a/lib/ansible/modules/cloud/cloudstack/cs_vmsnapshot.py b/lib/ansible/modules/cloud/cloudstack/cs_vmsnapshot.py
index 1992a5aed2..6022b0eff8 100644
--- a/lib/ansible/modules/cloud/cloudstack/cs_vmsnapshot.py
+++ b/lib/ansible/modules/cloud/cloudstack/cs_vmsnapshot.py
@@ -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
diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_connections.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_connections.py
index 50bf32b7b1..dead756176 100644
--- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_connections.py
+++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_connections.py
@@ -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"
diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_templates.py b/lib/ansible/modules/cloud/ovirt/ovirt_templates.py
index 7b22f1b7a2..10c046ed5f 100644
--- a/lib/ansible/modules/cloud/ovirt/ovirt_templates.py
+++ b/lib/ansible/modules/cloud/ovirt/ovirt_templates.py
@@ -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']),
diff --git a/lib/ansible/modules/clustering/consul.py b/lib/ansible/modules/clustering/consul.py
index 2e7afcf330..29212635cf 100644
--- a/lib/ansible/modules/clustering/consul.py
+++ b/lib/ansible/modules/clustering/consul.py
@@ -306,7 +306,7 @@ def remove_check(module, check_id):
def add_service(module, service):
- ''' registers a service with the the current agent '''
+ ''' registers a service with the current agent '''
result = service
changed = False
diff --git a/lib/ansible/modules/files/xml.py b/lib/ansible/modules/files/xml.py
index e152df0390..26e7ca89a2 100755
--- a/lib/ansible/modules/files/xml.py
+++ b/lib/ansible/modules/files/xml.py
@@ -78,7 +78,7 @@ options:
or a hash where the key is an element name and the value is the element value.
set_children:
description:
- - Set the the child-element(s) of a selected element.
+ - Set the child-element(s) of a selected element.
- Removes any existing children.
- Child elements must be specified as in C(add_children).
count:
diff --git a/lib/ansible/modules/monitoring/librato_annotation.py b/lib/ansible/modules/monitoring/librato_annotation.py
index c5f4e758a2..416dc8f6a1 100644
--- a/lib/ansible/modules/monitoring/librato_annotation.py
+++ b/lib/ansible/modules/monitoring/librato_annotation.py
@@ -52,11 +52,11 @@ options:
required: false
start_time:
description:
- - The unix timestamp indicating the the time at which the event referenced by this annotation started
+ - The unix timestamp indicating the time at which the event referenced by this annotation started
required: false
end_time:
description:
- - The unix timestamp indicating the the time at which the event referenced by this annotation ended
+ - The unix timestamp indicating the time at which the event referenced by this annotation ended
- For events that have a duration, this is a useful way to annotate the duration of the event
required: false
links:
diff --git a/lib/ansible/modules/monitoring/monit.py b/lib/ansible/modules/monitoring/monit.py
index ee9d8f2b58..38a3c0c68b 100644
--- a/lib/ansible/modules/monitoring/monit.py
+++ b/lib/ansible/modules/monitoring/monit.py
@@ -35,7 +35,7 @@ options:
timeout:
description:
- If there are pending actions for the service monitored by monit, then Ansible will check
- for up to this many seconds to verify the the requested action has been performed.
+ for up to this many seconds to verify the requested action has been performed.
Ansible will sleep for five seconds between each check.
required: false
default: 300
diff --git a/lib/ansible/modules/network/aos/aos_blueprint_param.py b/lib/ansible/modules/network/aos/aos_blueprint_param.py
index 99cda82202..3f40cbc915 100644
--- a/lib/ansible/modules/network/aos/aos_blueprint_param.py
+++ b/lib/ansible/modules/network/aos/aos_blueprint_param.py
@@ -54,7 +54,7 @@ options:
value:
description:
- Blueprint parameter value. This value may be transformed by using the
- I(param_map) field; used when the the blueprint parameter requires
+ I(param_map) field; used when the blueprint parameter requires
an AOS unique ID value.
get_param_list:
description:
diff --git a/lib/ansible/modules/network/aruba/aruba_config.py b/lib/ansible/modules/network/aruba/aruba_config.py
index 1b1ccba8f0..21ad536ba0 100644
--- a/lib/ansible/modules/network/aruba/aruba_config.py
+++ b/lib/ansible/modules/network/aruba/aruba_config.py
@@ -124,7 +124,7 @@ options:
True. If the argument is set to I(modified), then the running-config
will only be copied to the startup-config if it has changed since
the last save to startup-config. If the argument is set to
- I(never), the running-config will never be copied to the the
+ I(never), the running-config will never be copied to the
startup-config
required: false
default: never
diff --git a/lib/ansible/modules/network/bigswitch/bigmon_chain.py b/lib/ansible/modules/network/bigswitch/bigmon_chain.py
index 1d5e4b1c7c..61202ba3ea 100755
--- a/lib/ansible/modules/network/bigswitch/bigmon_chain.py
+++ b/lib/ansible/modules/network/bigswitch/bigmon_chain.py
@@ -45,7 +45,7 @@ options:
choices: [true, false]
access_token:
description:
- - Bigmon access token. If this isn't set the the environment variable C(BIGSWITCH_ACCESS_TOKEN) is used.
+ - Bigmon access token. If this isn't set, the environment variable C(BIGSWITCH_ACCESS_TOKEN) is used.
'''
diff --git a/lib/ansible/modules/network/bigswitch/bigmon_policy.py b/lib/ansible/modules/network/bigswitch/bigmon_policy.py
index 8d433b88ed..7cb0a0be9d 100644
--- a/lib/ansible/modules/network/bigswitch/bigmon_policy.py
+++ b/lib/ansible/modules/network/bigswitch/bigmon_policy.py
@@ -70,7 +70,7 @@ options:
choices: [true, false]
access_token:
description:
- - Bigmon access token. If this isn't set the the environment variable C(BIGSWITCH_ACCESS_TOKEN) is used.
+ - Bigmon access token. If this isn't set, the environment variable C(BIGSWITCH_ACCESS_TOKEN) is used.
'''
diff --git a/lib/ansible/modules/network/cloudengine/ce_sflow.py b/lib/ansible/modules/network/cloudengine/ce_sflow.py
index 4437ddacaf..0be6cd0040 100644
--- a/lib/ansible/modules/network/cloudengine/ce_sflow.py
+++ b/lib/ansible/modules/network/cloudengine/ce_sflow.py
@@ -128,7 +128,7 @@ options:
default: null
counter_interval:
description:
- - Indicates the the counter sampling interval.
+ - Indicates the counter sampling interval.
The value is an integer that ranges from 10 to 4294967295, in seconds. The default value is 20.
required: false
default: null
diff --git a/lib/ansible/modules/network/cumulus/nclu.py b/lib/ansible/modules/network/cumulus/nclu.py
index e37fbcb205..d14a825025 100644
--- a/lib/ansible/modules/network/cumulus/nclu.py
+++ b/lib/ansible/modules/network/cumulus/nclu.py
@@ -138,7 +138,7 @@ def run_nclu(module, command_list, command_string, commit, atomic, abort, descri
# First, look at the staged commands.
before = check_pending(module)
- # Run all of the the net commands
+ # Run all of the net commands
output_lines = []
for line in commands:
output_lines += [command_helper(module, line.strip(), "Failed on line %s"%line)]
diff --git a/lib/ansible/modules/network/eos/eos_config.py b/lib/ansible/modules/network/eos/eos_config.py
index 424053dbc1..7cb305a65f 100644
--- a/lib/ansible/modules/network/eos/eos_config.py
+++ b/lib/ansible/modules/network/eos/eos_config.py
@@ -174,7 +174,7 @@ options:
True. If the argument is set to I(modified), then the running-config
will only be copied to the startup-config if it has changed since
the last save to startup-config. If the argument is set to
- I(never), the running-config will never be copied to the the
+ I(never), the running-config will never be copied to the
startup-config
required: false
default: never
diff --git a/lib/ansible/modules/network/ios/ios_config.py b/lib/ansible/modules/network/ios/ios_config.py
index dd39876a31..4585477777 100644
--- a/lib/ansible/modules/network/ios/ios_config.py
+++ b/lib/ansible/modules/network/ios/ios_config.py
@@ -178,7 +178,7 @@ options:
True. If the argument is set to I(modified), then the running-config
will only be copied to the startup-config if it has changed since
the last save to startup-config. If the argument is set to
- I(never), the running-config will never be copied to the the
+ I(never), the running-config will never be copied to the
startup-config
required: false
default: never
diff --git a/lib/ansible/modules/network/netconf/netconf_config.py b/lib/ansible/modules/network/netconf/netconf_config.py
index 98d709424d..14f07cd1af 100644
--- a/lib/ansible/modules/network/netconf/netconf_config.py
+++ b/lib/ansible/modules/network/netconf/netconf_config.py
@@ -24,7 +24,7 @@ description:
- This module allows the user to send a configuration XML file to a netconf
device, and detects if there was a configuration change.
notes:
- - This module supports devices with and without the the candidate and
+ - This module supports devices with and without the candidate and
confirmed-commit capabilities. It always use the safer feature.
version_added: "2.2"
options:
diff --git a/lib/ansible/modules/network/nxos/nxos_config.py b/lib/ansible/modules/network/nxos/nxos_config.py
index 92314aadb8..c939cb351e 100644
--- a/lib/ansible/modules/network/nxos/nxos_config.py
+++ b/lib/ansible/modules/network/nxos/nxos_config.py
@@ -174,7 +174,7 @@ options:
True. If the argument is set to I(modified), then the running-config
will only be copied to the startup-config if it has changed since
the last save to startup-config. If the argument is set to
- I(never), the running-config will never be copied to the the
+ I(never), the running-config will never be copied to the
startup-config
required: false
default: never
diff --git a/lib/ansible/modules/storage/netapp/netapp_e_volume_copy.py b/lib/ansible/modules/storage/netapp/netapp_e_volume_copy.py
index da002d32a7..cb2f8fe59f 100644
--- a/lib/ansible/modules/storage/netapp/netapp_e_volume_copy.py
+++ b/lib/ansible/modules/storage/netapp/netapp_e_volume_copy.py
@@ -42,17 +42,17 @@ options:
- Should https certificates be validated?
source_volume_id:
description:
- - The the id of the volume copy source.
+ - The id of the volume copy source.
- If used, must be paired with destination_volume_id
- Mutually exclusive with volume_copy_pair_id, and search_volume_id
destination_volume_id:
description:
- - The the id of the volume copy destination.
+ - The id of the volume copy destination.
- If used, must be paired with source_volume_id
- Mutually exclusive with volume_copy_pair_id, and search_volume_id
volume_copy_pair_id:
description:
- - The the id of a given volume copy pair
+ - The id of a given volume copy pair
- Mutually exclusive with destination_volume_id, source_volume_id, and search_volume_id
- Can use to delete or check presence of volume pairs
- Must specify this or (destination_volume_id and source_volume_id)
diff --git a/lib/ansible/modules/system/parted.py b/lib/ansible/modules/system/parted.py
index 5c87498989..45ae3c5e7c 100644
--- a/lib/ansible/modules/system/parted.py
+++ b/lib/ansible/modules/system/parted.py
@@ -654,7 +654,7 @@ def main():
if not module.check_mode:
partition = [p for p in current_parts if p['num'] == number][0]
- # Assign name to the the partition
+ # Assign name to the partition
if name is not None and partition.get('name', None) != name:
script += "name %s %s " % (number, name)
diff --git a/lib/ansible/modules/web_infrastructure/letsencrypt.py b/lib/ansible/modules/web_infrastructure/letsencrypt.py
index 67283825ac..1c728fb893 100644
--- a/lib/ansible/modules/web_infrastructure/letsencrypt.py
+++ b/lib/ansible/modules/web_infrastructure/letsencrypt.py
@@ -43,7 +43,7 @@ requirements:
options:
account_key:
description:
- - "File containing the the Let's Encrypt account RSA key."
+ - "File containing the Let's Encrypt account RSA key."
- "Can be created with C(openssl rsa ...)."
required: true
account_email: