summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloud/amazon/ec2.py4
-rw-r--r--cloud/amazon/ec2_ami.py2
-rw-r--r--cloud/amazon/ec2_ami_find.py2
-rw-r--r--cloud/amazon/ec2_asg.py10
-rw-r--r--cloud/amazon/ec2_elb.py4
-rw-r--r--cloud/amazon/ec2_elb_lb.py4
-rw-r--r--cloud/amazon/ec2_vpc.py4
-rw-r--r--cloud/amazon/ec2_vpc_net.py2
-rw-r--r--cloud/amazon/iam.py8
-rw-r--r--cloud/amazon/rds.py2
-rw-r--r--cloud/azure/azure.py4
-rw-r--r--cloud/azure/azure_rm_storageblob.py2
-rw-r--r--cloud/azure/azure_rm_virtualmachine.py6
-rw-r--r--cloud/docker/docker_container.py10
-rw-r--r--cloud/docker/docker_network.py2
-rw-r--r--cloud/docker/docker_service.py2
-rw-r--r--cloud/openstack/_keystone_user.py2
-rw-r--r--cloud/openstack/_quantum_network.py2
-rw-r--r--cloud/openstack/_quantum_router_interface.py4
-rw-r--r--cloud/openstack/os_floating_ip.py2
-rw-r--r--cloud/openstack/os_ironic.py2
-rw-r--r--cloud/openstack/os_subnet.py2
-rw-r--r--cloud/vmware/vsphere_guest.py2
-rw-r--r--database/mysql/mysql_db.py2
-rw-r--r--database/mysql/mysql_user.py2
-rw-r--r--files/acl.py4
-rw-r--r--files/find.py2
-rw-r--r--files/ini_file.py2
-rw-r--r--files/stat.py2
-rw-r--r--files/synchronize.py4
-rw-r--r--network/basics/get_url.py4
-rw-r--r--network/basics/uri.py4
-rw-r--r--network/cumulus/cl_bond.py2
-rw-r--r--network/cumulus/cl_bridge.py2
-rw-r--r--network/cumulus/cl_interface.py2
-rw-r--r--network/cumulus/cl_interface_policy.py2
-rw-r--r--network/dellos10/dellos10_config.py2
-rw-r--r--network/dellos10/dellos10_facts.py4
-rw-r--r--network/dellos6/dellos6_command.py6
-rw-r--r--network/dellos6/dellos6_facts.py4
-rw-r--r--network/dellos9/dellos9_facts.py2
-rw-r--r--network/eos/_eos_template.py4
-rw-r--r--network/eos/eos_command.py6
-rw-r--r--network/eos/eos_facts.py2
-rw-r--r--network/ios/_ios_template.py2
-rw-r--r--network/ios/ios_facts.py4
-rw-r--r--network/iosxr/_iosxr_template.py4
-rw-r--r--network/iosxr/iosxr_facts.py2
-rw-r--r--network/junos/junos_command.py2
-rw-r--r--network/junos/junos_facts.py4
-rw-r--r--network/netvisor/pn_vrouter.py2
-rw-r--r--network/netvisor/pn_vrouterif.py2
-rw-r--r--network/nxos/_nxos_template.py4
-rw-r--r--network/nxos/nxos_acl.py2
-rw-r--r--network/nxos/nxos_bgp.py2
-rw-r--r--network/nxos/nxos_bgp_neighbor_af.py2
-rw-r--r--network/nxos/nxos_command.py6
-rw-r--r--network/nxos/nxos_evpn_vni.py2
-rw-r--r--network/nxos/nxos_facts.py2
-rw-r--r--network/nxos/nxos_file_copy.py2
-rw-r--r--network/nxos/nxos_gir_profile_management.py4
-rw-r--r--network/nxos/nxos_install_os.py6
-rw-r--r--network/nxos/nxos_ntp_auth.py6
-rw-r--r--network/nxos/nxos_nxapi.py2
-rw-r--r--network/nxos/nxos_smu.py2
-rw-r--r--network/nxos/nxos_snapshot.py2
-rw-r--r--network/nxos/nxos_snmp_user.py2
-rw-r--r--network/nxos/nxos_switchport.py4
-rw-r--r--network/nxos/nxos_udld.py2
-rw-r--r--network/nxos/nxos_udld_interface.py1
-rw-r--r--network/nxos/nxos_vpc_interface.py2
-rw-r--r--network/nxos/nxos_vtp_domain.py2
-rw-r--r--network/nxos/nxos_vxlan_vtep_vni.py2
-rw-r--r--network/openswitch/_ops_template.py4
-rw-r--r--network/openswitch/ops_command.py8
-rw-r--r--network/vyos/vyos_command.py2
-rw-r--r--network/vyos/vyos_facts.py4
-rw-r--r--packaging/os/apt.py8
-rw-r--r--packaging/os/redhat_subscription.py2
-rw-r--r--packaging/os/rpm_key.py2
-rw-r--r--source_control/git.py6
-rw-r--r--source_control/subversion.py2
-rw-r--r--system/cron.py4
-rw-r--r--system/group.py2
-rw-r--r--system/service.py2
-rw-r--r--system/systemd.py2
-rw-r--r--system/user.py6
-rw-r--r--utilities/helper/_accelerate.py2
-rw-r--r--utilities/helper/meta.py2
-rw-r--r--utilities/logic/async_wrapper.py2
-rw-r--r--windows/win_lineinfile.py4
91 files changed, 147 insertions, 146 deletions
diff --git a/cloud/amazon/ec2.py b/cloud/amazon/ec2.py
index bb0e9008..f2407c7a 100644
--- a/cloud/amazon/ec2.py
+++ b/cloud/amazon/ec2.py
@@ -772,7 +772,7 @@ def create_block_device(module, ec2, volume):
if int(volume['iops']) > MAX_IOPS_TO_SIZE_RATIO * size:
module.fail_json(msg = 'IOPS must be at most %d times greater than size' % MAX_IOPS_TO_SIZE_RATIO)
if 'encrypted' in volume:
- module.fail_json(msg = 'You can not set encyrption when creating a volume from a snapshot')
+ module.fail_json(msg = 'You can not set encryption when creating a volume from a snapshot')
if 'ephemeral' in volume:
if 'snapshot' in volume:
module.fail_json(msg = 'Cannot set both ephemeral and snapshot')
@@ -1026,7 +1026,7 @@ def create_instances(module, ec2, vpc, override_count=None):
if ebs_optimized:
params['ebs_optimized'] = ebs_optimized
- # 'tenancy' always has a default value, but it is not a valid parameter for spot instance resquest
+ # 'tenancy' always has a default value, but it is not a valid parameter for spot instance request
if not spot_price:
params['tenancy'] = tenancy
diff --git a/cloud/amazon/ec2_ami.py b/cloud/amazon/ec2_ami.py
index 684a51d3..506a370c 100644
--- a/cloud/amazon/ec2_ami.py
+++ b/cloud/amazon/ec2_ami.py
@@ -247,7 +247,7 @@ owner_id:
type: string
sample: "435210894375"
platform:
- description: plaform of image
+ description: platform of image
returned: when AMI is created or already exists
type: string
sample: null
diff --git a/cloud/amazon/ec2_ami_find.py b/cloud/amazon/ec2_ami_find.py
index bc7ad944..55457662 100644
--- a/cloud/amazon/ec2_ami_find.py
+++ b/cloud/amazon/ec2_ami_find.py
@@ -228,7 +228,7 @@ owner_id:
type: string
sample: "435210894375"
platform:
- description: plaform of image
+ description: platform of image
returned: when AMI found
type: string
sample: null
diff --git a/cloud/amazon/ec2_asg.py b/cloud/amazon/ec2_asg.py
index c63ebdef..0c22bc76 100644
--- a/cloud/amazon/ec2_asg.py
+++ b/cloud/amazon/ec2_asg.py
@@ -77,7 +77,7 @@ options:
default: None
lc_check:
description:
- - Check to make sure instances that are being replaced with replace_instances do not aready have the current launch_config.
+ - Check to make sure instances that are being replaced with replace_instances do not already have the current launch_config.
required: false
version_added: "1.8"
default: True
@@ -113,7 +113,7 @@ options:
version_added: "2.0"
wait_timeout:
description:
- - how long before wait instances to become viable when replaced. Used in concjunction with instance_ids option.
+ - how long before wait instances to become viable when replaced. Used in conjunction with instance_ids option.
default: 300
version_added: "1.8"
wait_for_instances:
@@ -125,7 +125,7 @@ options:
termination_policies:
description:
- An ordered list of criteria used for selecting instances to be removed from the Auto Scaling group when reducing capacity.
- - For 'Default', when used to create a new autoscaling group, the "Default" value is used. When used to change an existent autoscaling group, the current termination policies are mantained
+ - For 'Default', when used to create a new autoscaling group, the "Default"i value is used. When used to change an existent autoscaling group, the current termination policies are maintained.
required: false
default: Default
choices: ['OldestInstance', 'NewestInstance', 'OldestLaunchConfiguration', 'ClosestToNextInstanceHour', 'Default']
@@ -369,7 +369,7 @@ def wait_for_elb(asg_connection, module, group_name):
as_group = asg_connection.get_all_groups(names=[group_name])[0]
if as_group.load_balancers and as_group.health_check_type == 'ELB':
- log.debug("Waiting for ELB to consider intances healthy.")
+ log.debug("Waiting for ELB to consider instances healthy.")
try:
elb_connection = connect_to_aws(boto.ec2.elb, region, **aws_connect_params)
except boto.exception.NoAuthHandlerFound as e:
@@ -627,7 +627,7 @@ def replace(connection, module):
if desired_capacity is None:
desired_capacity = as_group.desired_capacity
# set temporary settings and wait for them to be reached
- # This should get overriden if the number of instances left is less than the batch size.
+ # This should get overwritten if the number of instances left is less than the batch size.
as_group = connection.get_all_groups(names=[group_name])[0]
update_size(as_group, max_size + batch_size, min_size + batch_size, desired_capacity + batch_size)
diff --git a/cloud/amazon/ec2_elb.py b/cloud/amazon/ec2_elb.py
index 2a128017..000bcf04 100644
--- a/cloud/amazon/ec2_elb.py
+++ b/cloud/amazon/ec2_elb.py
@@ -204,7 +204,7 @@ class ElbManager:
self.changed = True
break
elif self._is_instance_state_pending(instance_state):
- # If it's pending, we'll skip further checks andd continue waiting
+ # If it's pending, we'll skip further checks and continue waiting
pass
elif (awaited_state == 'InService'
and instance_state.reason_code == "Instance"
@@ -212,7 +212,7 @@ class ElbManager:
# If the reason_code for the instance being out of service is
# "Instance" this indicates a failure state, e.g. the instance
# has failed a health check or the ELB does not have the
- # instance's availabilty zone enabled. The exact reason why is
+ # instance's availability zone enabled. The exact reason why is
# described in InstantState.description.
msg = ("The instance %s could not be put in service on %s."
" Reason: %s")
diff --git a/cloud/amazon/ec2_elb_lb.py b/cloud/amazon/ec2_elb_lb.py
index 7311a32a..ec2bcd73 100644
--- a/cloud/amazon/ec2_elb_lb.py
+++ b/cloud/amazon/ec2_elb_lb.py
@@ -135,7 +135,7 @@ options:
version_added: "1.8"
stickiness:
description:
- - An associative array of stickness policy settings. Policy will be applied to all listeners ( see example )
+ - An associative array of stickiness policy settings. Policy will be applied to all listeners ( see example )
required: false
version_added: "2.0"
wait:
@@ -316,7 +316,7 @@ EXAMPLES = """
- load_balancer_port: 80
- instance_port: 80
-# Create an ELB with load balanacer stickiness enabled
+# Create an ELB with load balancer stickiness enabled
- local_action:
module: ec2_elb_lb
name: "New ELB"
diff --git a/cloud/amazon/ec2_vpc.py b/cloud/amazon/ec2_vpc.py
index 3df47c57..e17674e2 100644
--- a/cloud/amazon/ec2_vpc.py
+++ b/cloud/amazon/ec2_vpc.py
@@ -270,7 +270,7 @@ def rtb_changed(route_tables=None, vpc_conn=None, module=None, vpc=None, igw=Non
Checks if the remote routes match the local routes.
route_tables : Route_tables parameter in the module
- vpc_conn : The VPC conection object
+ vpc_conn : The VPC connection object
module : The module object
vpc : The vpc object for this route table
igw : The internet gateway object for this vpc
@@ -503,7 +503,7 @@ def create_vpc(module, vpc_conn):
# Handle route tables - this may be worth splitting into a
# different module but should work fine here. The strategy to stay
- # indempotent is to basically build all the route tables as
+ # idempotent is to basically build all the route tables as
# defined, track the route table ids, and then run through the
# remote list of route tables and delete any that we didn't
# create. This shouldn't interrupt traffic in theory, but is the
diff --git a/cloud/amazon/ec2_vpc_net.py b/cloud/amazon/ec2_vpc_net.py
index 54c4307b..54be3702 100644
--- a/cloud/amazon/ec2_vpc_net.py
+++ b/cloud/amazon/ec2_vpc_net.py
@@ -25,7 +25,7 @@ author: Jonathan Davila (@defionscode)
options:
name:
description:
- - The name to give your VPC. This is used in combination with the cidr_block paramater to determine if a VPC already exists.
+ - The name to give your VPC. This is used in combination with the cidr_block parameter to determine if a VPC already exists.
required: yes
cidr_block:
description:
diff --git a/cloud/amazon/iam.py b/cloud/amazon/iam.py
index 73fd6101..9f4e119b 100644
--- a/cloud/amazon/iam.py
+++ b/cloud/amazon/iam.py
@@ -78,7 +78,7 @@ options:
default: '1'
access_key_ids:
description:
- - A list of the keys that you want impacted by the access_key_state paramter.
+ - A list of the keys that you want impacted by the access_key_state parameter.
groups:
description:
- A list of groups the user should belong to. When update, will gracefully remove groups not listed.
@@ -334,7 +334,7 @@ def update_user(module, iam, name, new_name, new_path, key_state, key_count, key
except boto.exception.BotoServerError as err:
error_msg = boto_exception(str(err))
if 'Password does not conform to the account password policy' in error_msg:
- module.fail_json(changed=False, msg="Passsword doesn't conform to policy")
+ module.fail_json(changed=False, msg="Password doesn't conform to policy")
else:
module.fail_json(msg=error_msg)
@@ -391,7 +391,7 @@ def update_user(module, iam, name, new_name, new_path, key_state, key_count, key
def set_users_groups(module, iam, name, groups, updated=None,
new_name=None):
- """ Sets groups for a user, will purge groups not explictly passed, while
+ """ Sets groups for a user, will purge groups not explicitly passed, while
retaining pre-existing groups that also are in the new list.
"""
changed = False
@@ -624,7 +624,7 @@ def main():
if iam_type == 'role' and state == 'update':
module.fail_json(changed=False, msg="iam_type: role, cannot currently be updated, "
- "please specificy present or absent")
+ "please specify present or absent")
# check if trust_policy is present -- it can be inline JSON or a file path to a JSON file
if trust_policy_filepath:
diff --git a/cloud/amazon/rds.py b/cloud/amazon/rds.py
index a54863b7..15ec55e8 100644
--- a/cloud/amazon/rds.py
+++ b/cloud/amazon/rds.py
@@ -115,7 +115,7 @@ options:
description:
- Port number that the DB instance uses for connections. Used only when command=create or command=replicate.
- Prior to 2.0 it always defaults to null and the API would use 3306, it had to be set to other DB default values when not using MySql.
- Starting at 2.0 it auotmaticaly defaults to what is expected for each c(db_engine).
+ Starting at 2.0 it automatically defaults to what is expected for each c(db_engine).
required: false
default: 3306 for mysql, 1521 for Oracle, 1433 for SQL Server, 5432 for PostgreSQL.
upgrade:
diff --git a/cloud/azure/azure.py b/cloud/azure/azure.py
index 89ab576e..e5d6fc58 100644
--- a/cloud/azure/azure.py
+++ b/cloud/azure/azure.py
@@ -485,9 +485,9 @@ def terminate_virtual_machine(module, azure):
except AzureException as e:
module.fail_json(msg="failed to delete the deployment %s, error was: %s" % (deployment.name, str(e)))
- # It's unclear when disks associated with terminated deployment get detatched.
+ # It's unclear when disks associated with terminated deployment get detached.
# Thus, until the wait_timeout is reached, we continue to delete disks as they
- # become detatched by polling the list of remaining disks and examining the state.
+ # become detached by polling the list of remaining disks and examining the state.
try:
_delete_disks_when_detached(azure, wait_timeout, disk_names)
except (AzureException, TimeoutError) as e:
diff --git a/cloud/azure/azure_rm_storageblob.py b/cloud/azure/azure_rm_storageblob.py
index 3e5bd85e..4b5a2e07 100644
--- a/cloud/azure/azure_rm_storageblob.py
+++ b/cloud/azure/azure_rm_storageblob.py
@@ -185,7 +185,7 @@ blob:
"type": "BlockBlob"
}
container:
- description: Facts about the current state of the selcted container.
+ description: Facts about the current state of the selected container.
returned: always
type: dict
sample: {
diff --git a/cloud/azure/azure_rm_virtualmachine.py b/cloud/azure/azure_rm_virtualmachine.py
index ef6fbdfa..a237a8f8 100644
--- a/cloud/azure/azure_rm_virtualmachine.py
+++ b/cloud/azure/azure_rm_virtualmachine.py
@@ -158,7 +158,7 @@ options:
required: false
public_ip_allocation_method:
description:
- - If a public IP address is created when creating the VM (beacuse a Network Interface was not provided),
+ - If a public IP address is created when creating the VM (because a Network Interface was not provided),
determines if the public IP address remains permanently associated with the Network Interface. If set
to 'Dynamic' the public IP address may change any time the VM is rebooted or power cycled.
choices:
@@ -300,7 +300,7 @@ deleted_network_interfaces:
type: list
example: ["testvm1001"]
deleted_public_ips:
- description: List of deleted publid IP addrees names.
+ description: List of deleted public IP address names.
returned: 'on delete'
type: list
example: ["testvm1001"]
@@ -913,7 +913,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
interface_dict['name'] = int_dict['networkInterfaces']
interface_dict['properties'] = nic_dict['properties']
- # Expand public IPs to include config porperties
+ # Expand public IPs to include config properties
for interface in result['properties']['networkProfile']['networkInterfaces']:
for config in interface['properties']['ipConfigurations']:
if config['properties'].get('publicIPAddress'):
diff --git a/cloud/docker/docker_container.py b/cloud/docker/docker_container.py
index 3a0aedd5..5be14176 100644
--- a/cloud/docker/docker_container.py
+++ b/cloud/docker/docker_container.py
@@ -289,7 +289,7 @@ options:
required: false
pid_mode:
description:
- - Set the PID namespace mode for the container. Currenly only supports 'host'.
+ - Set the PID namespace mode for the container. Currently only supports 'host'.
default: null
required: false
privileged:
@@ -361,7 +361,7 @@ options:
description:
- Size of `/dev/shm`. The format is `<number><unit>`. `number` must be greater than `0`.
Unit is optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), or `g` (gigabytes).
- - Ommitting the unit defaults to bytes. If you omit the size entirely, the system uses `64m`.
+ - Omitting the unit defaults to bytes. If you omit the size entirely, the system uses `64m`.
default: null
required: false
security_opts:
@@ -411,7 +411,7 @@ options:
description:
- If true, skip image verification.
default: false
- requried: false
+ required: false
tty:
description:
- Allocate a psuedo-TTY.
@@ -514,7 +514,7 @@ EXAMPLES = '''
image: ubuntu:14.04
command: sleep infinity
-- name: Stop a contianer
+- name: Stop a container
docker_container:
name: mycontainer
state: stopped
@@ -1799,7 +1799,7 @@ class ContainerManager(DockerBaseClass):
self.results['actions'].append(dict(added_to_network=diff['parameter']['name'], network_parameters=params))
if not self.check_mode:
try:
- self.log("Connecting conainer to network %s" % diff['parameter']['id'])
+ self.log("Connecting container to network %s" % diff['parameter']['id'])
self.log(params, pretty_print=True)
self.client.connect_container_to_network(container.Id, diff['parameter']['id'], **params)
except Exception as exc:
diff --git a/cloud/docker/docker_network.py b/cloud/docker/docker_network.py
index f06f7d5b..6b8056aa 100644
--- a/cloud/docker/docker_network.py
+++ b/cloud/docker/docker_network.py
@@ -69,7 +69,7 @@ options:
ipam_driver:
description:
- - Specifiy an IPAM driver.
+ - Specify an IPAM driver.
default: null
ipam_options:
diff --git a/cloud/docker/docker_service.py b/cloud/docker/docker_service.py
index c4fa36c9..ad231607 100644
--- a/cloud/docker/docker_service.py
+++ b/cloud/docker/docker_service.py
@@ -423,7 +423,7 @@ actions:
returned: always
type: string
id:
- desription: image hash
+ description: image hash
returned: always
type: string
diff --git a/cloud/openstack/_keystone_user.py b/cloud/openstack/_keystone_user.py
index 72eba989..e7be3a1d 100644
--- a/cloud/openstack/_keystone_user.py
+++ b/cloud/openstack/_keystone_user.py
@@ -229,7 +229,7 @@ def ensure_user_exists(keystone, user_name, password, email, tenant_name,
check_mode):
""" Check if user exists
- Return (True, id) if a new user was created, (False, id) user alrady
+ Return (True, id) if a new user was created, (False, id) user already
exists
"""
diff --git a/cloud/openstack/_quantum_network.py b/cloud/openstack/_quantum_network.py
index 09de5e47..83c80438 100644
--- a/cloud/openstack/_quantum_network.py
+++ b/cloud/openstack/_quantum_network.py
@@ -72,7 +72,7 @@ options:
default: present
name:
description:
- - Name to be assigned to the nework
+ - Name to be assigned to the network
required: true
default: None
provider_network_type:
diff --git a/cloud/openstack/_quantum_router_interface.py b/cloud/openstack/_quantum_router_interface.py
index e97740d9..abff97e0 100644
--- a/cloud/openstack/_quantum_router_interface.py
+++ b/cloud/openstack/_quantum_router_interface.py
@@ -32,9 +32,9 @@ module: quantum_router_interface
version_added: "1.2"
author: "Benno Joy (@bennojoy)"
deprecated: Deprecated in 2.0. Use os_router instead
-short_description: Attach/Dettach a subnet's interface to a router
+short_description: Attach/Detach a subnet's interface to a router
description:
- - Attach/Dettach a subnet interface to a router, to provide a gateway for the subnet.
+ - Attach/Detach a subnet interface to a router, to provide a gateway for the subnet.
options:
login_username:
description:
diff --git a/cloud/openstack/os_floating_ip.py b/cloud/openstack/os_floating_ip.py
index f20812a5..75d76061 100644
--- a/cloud/openstack/os_floating_ip.py
+++ b/cloud/openstack/os_floating_ip.py
@@ -187,7 +187,7 @@ def main():
# Requirements are met
module.exit_json(changed=False, floating_ip=f_ip)
- # Requirments are vague enough to ignore exisitng f_ip and try
+ # Requirements are vague enough to ignore existing f_ip and try
# to create a new f_ip to the server.
server = cloud.add_ips_to_server(
diff --git a/cloud/openstack/os_ironic.py b/cloud/openstack/os_ironic.py
index 79751347..8537a378 100644
--- a/cloud/openstack/os_ironic.py
+++ b/cloud/openstack/os_ironic.py
@@ -188,7 +188,7 @@ def _choose_id_value(module):
def _choose_if_password_only(module, patch):
if len(patch) is 1:
if 'password' in patch[0]['path'] and module.params['skip_update_of_masked_password']:
- # Return false to aabort update as the password appears
+ # Return false to abort update as the password appears
# to be the only element in the patch.
return False
return True
diff --git a/cloud/openstack/os_subnet.py b/cloud/openstack/os_subnet.py
index d4efe872..3330af2a 100644
--- a/cloud/openstack/os_subnet.py
+++ b/cloud/openstack/os_subnet.py
@@ -42,7 +42,7 @@ options:
network_name:
description:
- Name of the network to which the subnet should be attached
- - requried when I(state) is 'present'
+ - Required when I(state) is 'present'
required: false
name:
description:
diff --git a/cloud/vmware/vsphere_guest.py b/cloud/vmware/vsphere_guest.py
index 3e8426e9..e6c72289 100644
--- a/cloud/vmware/vsphere_guest.py
+++ b/cloud/vmware/vsphere_guest.py
@@ -262,7 +262,7 @@ EXAMPLES = '''
vm_extra_config:
folder: MyFolder
-# Task to gather facts from a vSphere cluster only if the system is a VMWare guest
+# Task to gather facts from a vSphere cluster only if the system is a VMware guest
- vsphere_guest:
vcenter_hostname: vcenter.mydomain.local
diff --git a/database/mysql/mysql_db.py b/database/mysql/mysql_db.py
index a63b0d66..f98547b9 100644
--- a/database/mysql/mysql_db.py
+++ b/database/mysql/mysql_db.py
@@ -88,7 +88,7 @@ EXAMPLES = '''
# Dumps all databases to hostname.sql
- mysql_db: state=dump name=all target=/tmp/{{ inventory_hostname }}.sql
-# Imports file.sql similiar to mysql -u <username> -p <password> < hostname.sql
+# Imports file.sql similar to mysql -u <username> -p <password> < hostname.sql
- mysql_db: state=import name=all target=/tmp/{{ inventory_hostname }}.sql
'''
diff --git a/database/mysql/mysql_user.py b/database/mysql/mysql_user.py
index 495ccdf6..010cdce6 100644
--- a/database/mysql/mysql_user.py
+++ b/database/mysql/mysql_user.py
@@ -103,7 +103,7 @@ notes:
without providing any login_user/login_password details. The second must drop a ~/.my.cnf file containing
the new root credentials. Subsequent runs of the playbook will then succeed by reading the new credentials from
the file."
- - Currently, there is only support for the `mysql_native_password` encryted password hash module.
+ - Currently, there is only support for the `mysql_native_password` encrypted password hash module.
author: "Jonathan Mainguy (@Jmainguy)"
extends_documentation_fragment: mysql
diff --git a/files/acl.py b/files/acl.py
index e74646f7..2b898452 100644
--- a/files/acl.py
+++ b/files/acl.py
@@ -78,7 +78,7 @@ options:
required: false
default: null
description:
- - DEPRECATED. The acl to set or remove. This must always be quoted in the form of '<etype>:<qualifier>:<perms>'. The qualifier may be empty for some types, but the type and perms are always requried. '-' can be used as placeholder when you do not care about permissions. This is now superseded by entity, type and permissions fields.
+ - DEPRECATED. The acl to set or remove. This must always be quoted in the form of '<etype>:<qualifier>:<perms>'. The qualifier may be empty for some types, but the type and perms are always required. '-' can be used as placeholder when you do not care about permissions. This is now superseded by entity, type and permissions fields.
recursive:
version_added: "2.0"
@@ -202,7 +202,7 @@ def acl_changed(module, cmd):
if get_platform().lower() == 'freebsd':
return True
- cmd = cmd[:] # lists are mutables so cmd would be overriden without this
+ cmd = cmd[:] # lists are mutables so cmd would be overwritten without this
cmd.insert(1, '--test')
lines = run_acl(module, cmd)
diff --git a/files/find.py b/files/find.py
index 88dc8d38..d48e52ed 100644
--- a/files/find.py
+++ b/files/find.py
@@ -48,7 +48,7 @@ options:
required: false
default: '*'
description:
- - One or more (shell or regex) patterns, which type is controled by C(use_regex) option.
+ - One or more (shell or regex) patterns, which type is controlled by C(use_regex) option.
- The patterns restrict the list of files to be returned to those whose basenames match at
least one of the patterns specified. Multiple patterns can be specified using a list.
aliases: ['pattern']
diff --git a/files/ini_file.py b/files/ini_file.py
index e26949a9..b66acd7e 100644
--- a/files/ini_file.py
+++ b/files/ini_file.py
@@ -175,7 +175,7 @@ def do_ini(module, filename, section=None, option=None, value=None, state='prese
changed = ini_lines[index] != newline
ini_lines[index] = newline
if changed:
- # remove all possible option occurences from the rest of the section
+ # remove all possible option occurrences from the rest of the section
index = index + 1
while index < len(ini_lines):
line = ini_lines[index]
diff --git a/files/stat.py b/files/stat.py
index 48979d73..10ed4e0e 100644
--- a/files/stat.py
+++ b/files/stat.py
@@ -172,7 +172,7 @@ stat:
type: int
sample: 1003
size:
- description: Size in bytes for a plain file, ammount of data for some special files
+ description: Size in bytes for a plain file, amount of data for some special files
returned: success, path exists and user can read stats
type: int
sample: 203
diff --git a/files/synchronize.py b/files/synchronize.py
index 9a053c74..ff69a2a6 100644
--- a/files/synchronize.py
+++ b/files/synchronize.py
@@ -248,7 +248,7 @@ synchronize: src=some/relative/path dest=/some/absolute/path rsync_path="su -c r
# Synchronize passing in extra rsync options
synchronize:
src: /tmp/helloworld
- dest: /var/www/helloword
+ dest: /var/www/helloworld
rsync_opts:
- "--no-motd"
- "--exclude=.git"
@@ -413,7 +413,7 @@ def main():
if not source.startswith('"rsync://') and not dest.startswith('"rsync://'):
# If the user specified a port value
# Note: The action plugin takes care of setting this to a port from
- # inventory if the user didn't specify an explict dest_port
+ # inventory if the user didn't specify an explicit dest_port
if dest_port is not None:
cmd += " --rsh 'ssh %s %s -o Port=%s'" % (private_key, ssh_opts, dest_port)
else:
diff --git a/network/basics/get_url.py b/network/basics/get_url.py
index 54bcedff..d2c8da12 100644
--- a/network/basics/get_url.py
+++ b/network/basics/get_url.py
@@ -101,7 +101,7 @@ options:
If you worry about portability, only the sha1 algorithm is available
on all platforms and python versions. The third party hashlib
library can be installed for access to additional algorithms.
- Additionaly, if a checksum is passed to this parameter, and the file exist under
+ Additionally, if a checksum is passed to this parameter, and the file exist under
the C(dest) location, the destination_checksum would be calculated, and if
checksum equals destination_checksum, the file download would be skipped
(unless C(force) is true). '
@@ -238,7 +238,7 @@ def url_get(module, url, dest, use_proxy, last_mod_time, force, timeout=10, head
if os.path.exists(tmp_dest):
module.fail_json(msg="%s is a file but should be a directory." % tmp_dest)
else:
- module.fail_json(msg="%s directoy does not exist." % tmp_dest)
+ module.fail_json(msg="%s directory does not exist." % tmp_dest)
fd, tempname = tempfile.mkstemp(dir=tmp_dest)
else:
diff --git a/network/basics/uri.py b/network/basics/uri.py
index e42bb068..3ecc85ea 100644
--- a/network/basics/uri.py
+++ b/network/basics/uri.py
@@ -66,7 +66,7 @@ options:
body:
description:
- The body of the http request/response to the web service. If C(body_format) is set
- to 'json' it will take an already formated JSON string or convert a data structure
+ to 'json' it will take an already formatted JSON string or convert a data structure
into JSON.
required: false
default: null
@@ -384,7 +384,7 @@ def main():
dict_headers = module.params['headers']
if body_format == 'json':
- # Encode the body unless its a string, then assume it is preformatted JSON
+ # Encode the body unless its a string, then assume it is pre-formatted JSON
if not isinstance(body, basestring):
body = json.dumps(body)
dict_headers['Content-Type'] = 'application/json'
diff --git a/network/cumulus/cl_bond.py b/network/cumulus/cl_bond.py
index 5221699b..52da0bed 100644
--- a/network/cumulus/cl_bond.py
+++ b/network/cumulus/cl_bond.py
@@ -154,7 +154,7 @@ cl_bond: name=bond1 slaves="swp1s0 swp2s0" clag_id=1
notify: reload networking
# define cl_bond once in tasks file
-# then write inteface config in variables file
+# then write interface config in variables file
# with just the options you want.
cl_bond:
name: "{{ item.key }}"
diff --git a/network/cumulus/cl_bridge.py b/network/cumulus/cl_bridge.py
index 44822b94..256fa427 100644
--- a/network/cumulus/cl_bridge.py
+++ b/network/cumulus/cl_bridge.py
@@ -109,7 +109,7 @@ cl_bridge: name=bridge ports='swp1-12' vlan_aware='yes' vids='1-100'
notify: reload networking
# define cl_bridge once in tasks file
-# then write inteface config in variables file
+# then write interface config in variables file
# with just the options you want.
cl_bridge:
name: "{{ item.key }}"
diff --git a/network/cumulus/cl_interface.py b/network/cumulus/cl_interface.py
index f5b84c12..3fd87bf9 100644
--- a/network/cumulus/cl_interface.py
+++ b/network/cumulus/cl_interface.py
@@ -131,7 +131,7 @@ cl_interface: name=bond0.100 alias_name='my bond' ipv4=10.1.1.1/24
notify: reload networking
# define cl_interfaces once in tasks
-# then write intefaces in variables file
+# then write interfaces in variables file
# with just the options you want.
cl_interface:
name: "{{ item.key }}"
diff --git a/network/cumulus/cl_interface_policy.py b/network/cumulus/cl_interface_policy.py
index ae99cb1b..a8392c57 100644
--- a/network/cumulus/cl_interface_policy.py
+++ b/network/cumulus/cl_interface_policy.py
@@ -73,7 +73,7 @@ def read_current_int_dir(module):
module.custom_currentportlist = os.listdir(module.params.get('location'))
-# take the allowed list and conver it to into a list
+# take the allowed list and convert it to into a list
# of ports.
def convert_allowed_list_to_port_range(module):
allowedlist = module.params.get('allowed')
diff --git a/network/dellos10/dellos10_config.py b/network/dellos10/dellos10_config.py
index 1d976f01..b164acec 100644
--- a/network/dellos10/dellos10_config.py
+++ b/network/dellos10/dellos10_config.py
@@ -123,7 +123,7 @@ options:
choices: ['yes', 'no']
config:
description:
- - The C(config) argument allows the playbook desginer to supply
+ - The C(config) argument allows the playbook designer to supply
the base configuration to be used to validate configuration
changes necessary. If this argument is provided, the module
will not download the running-config from the remote node.
diff --git a/network/dellos10/dellos10_facts.py b/network/dellos10/dellos10_facts.py
index bbccd20a..2d516f55 100644
--- a/network/dellos10/dellos10_facts.py
+++ b/network/dellos10/dellos10_facts.py
@@ -36,10 +36,10 @@ options:
gather_subset:
description:
- When supplied, this argument will restrict the facts collected
- to a given subset. Possible values for this argument inlcude
+ to a given subset. Possible values for this argument include
all, hardware, config, and interfaces. Can specify a list of
values to include a larger subset. Values can also be used
- with an initial M(!) to specify that a specific subset should
+ with an initial C(M(!)) to specify that a specific subset should
not be collected.
required: false
default: '!config'
diff --git a/network/dellos6/dellos6_command.py b/network/dellos6/dellos6_command.py
index 3cc81370..a9d442f4 100644
--- a/network/dellos6/dellos6_command.py
+++ b/network/dellos6/dellos6_command.py
@@ -38,7 +38,7 @@ options:
description:
- List of commands to send to the remote dellos6 device over the
configured provider. The resulting output from the command
- is returned. If the I(waitfor) argument is provided, the
+ is returned. If the I(wait_for) argument is provided, the
module is not returned until the condition is satisfied or
the number of I(retries) as expired.
required: true
@@ -56,7 +56,7 @@ options:
- Specifies the number of retries a command should be tried
before it is considered failed. The command is run on the
target device every retry and evaluated against the
- I(waitfor) conditions.
+ I(wait_for) conditions.
required: false
default: 10
interval:
@@ -80,7 +80,7 @@ vars:
transport: cli
tasks:
- - name: run show verion on remote devices
+ - name: run show version on remote devices
dellos6_command:
commands: show version
provider "{{ cli }}"
diff --git a/network/dellos6/dellos6_facts.py b/network/dellos6/dellos6_facts.py
index 4ab90f39..224ff2e3 100644
--- a/network/dellos6/dellos6_facts.py
+++ b/network/dellos6/dellos6_facts.py
@@ -36,10 +36,10 @@ options:
gather_subset:
description:
- When supplied, this argument will restrict the facts collected
- to a given subset. Possible values for this argument inlcude
+ to a given subset. Possible values for this argument include
all, hardware, config, and interfaces. Can specify a list of
values to include a larger subset. Values can also be used
- with an initial M(!) to specify that a specific subset should
+ with an initial C(M(!)) to specify that a specific subset should
not be collected.
required: false
default: '!config'
diff --git a/network/dellos9/dellos9_facts.py b/network/dellos9/dellos9_facts.py
index c1946a77..2e033acf 100644
--- a/network/dellos9/dellos9_facts.py
+++ b/network/dellos9/dellos9_facts.py
@@ -39,7 +39,7 @@ options:
to a given subset. Possible values for this argument include
all, hardware, config, and interfaces. Can specify a list of
values to include a larger subset. Values can also be used
- with an initial M(!) to specify that a specific subset should
+ with an initial C(M(!)) to specify that a specific subset should
not be collected.
required: false
default: '!config'
diff --git a/network/eos/_eos_template.py b/network/eos/_eos_template.py
index d546b0c9..99a1a5f5 100644
--- a/network/eos/_eos_template.py
+++ b/network/eos/_eos_template.py
@@ -19,7 +19,7 @@ DOCUMENTATION = """
---
module: eos_template
version_added: "2.1"
-author: "Peter sprygada (@privateip)"
+author: "Peter Sprygada (@privateip)"
short_description: Manage Arista EOS device configurations
description:
- Manages network device configurations over SSH or eAPI. This module
@@ -112,7 +112,7 @@ updates:
responses:
description: The set of responses from issuing the commands on the device
- retured: when not check_mode
+ returned: when not check_mode
type: list
sample: ['...', '...']
"""
diff --git a/network/eos/eos_command.py b/network/eos/eos_command.py
index e1a0f806..24cb6f3d 100644
--- a/network/eos/eos_command.py
+++ b/network/eos/eos_command.py
@@ -88,7 +88,7 @@ vars:
password: admin
transport: cli
-- name: run show verion on remote devices
+- name: run show version on remote devices
eos_command:
commands: show version
provider: "{{ cli }}"
@@ -106,7 +106,7 @@ vars:
- show interfaces
provider: "{{ cli }}"
-- name: run multiple commands and evalute the output
+- name: run multiple commands and evaluate the output
eos_command:
commands:
- show version
@@ -139,7 +139,7 @@ stdout_lines:
failed_conditions:
description: the conditionals that failed
- retured: failed
+ returned: failed
type: list
sample: ['...', '...']
"""
diff --git a/network/eos/eos_facts.py b/network/eos/eos_facts.py
index aa914536..7c53479c 100644
--- a/network/eos/eos_facts.py
+++ b/network/eos/eos_facts.py
@@ -103,7 +103,7 @@ ansible_net_fqdn:
# hardware
ansible_net_filesystems:
- description: All file system names availabe on the device
+ description: All file system names available on the device
returned: when hardware is configured
type: list
ansible_net_memfree_mb:
diff --git a/network/ios/_ios_template.py b/network/ios/_ios_template.py
index 59076983..aa69c8f2 100644
--- a/network/ios/_ios_template.py
+++ b/network/ios/_ios_template.py
@@ -94,7 +94,7 @@ EXAMPLES = """
src: config.j2
force: yes
-- name: provide the base configuration for comparision
+- name: provide the base configuration for comparison
ios_template:
host: hostname
username: foo
diff --git a/network/ios/ios_facts.py b/network/ios/ios_facts.py
index c1516cec..503d394b 100644
--- a/network/ios/ios_facts.py
+++ b/network/ios/ios_facts.py
@@ -35,7 +35,7 @@ options:
to a given subset. Possible values for this argument include
all, hardware, config, and interfaces. Can specify a list of
values to include a larger subset. Values can also be used
- with an initial M(!) to specify that a specific subset should
+ with an initial C(M(!)) to specify that a specific subset should
not be collected.
required: false
default: '!config'
@@ -87,7 +87,7 @@ ansible_net_image:
# hardware
ansible_net_filesystems:
- description: All file system names availabe on the device
+ description: All file system names available on the device
returned: when hardware is configured
type: list
ansible_net_memfree_mb:
diff --git a/network/iosxr/_iosxr_template.py b/network/iosxr/_iosxr_template.py
index f39ca4d1..2f1ba8d0 100644
--- a/network/iosxr/_iosxr_template.py
+++ b/network/iosxr/_iosxr_template.py
@@ -19,7 +19,7 @@ DOCUMENTATION = """
---
module: iosxr_template
version_added: "2.1"
-author: "Peter sprygada (@privateip)"
+author: "Peter Sprygada (@privateip)"
short_description: Manage Cisco IOSXR device configurations over SSH
description:
- Manages network device configurations over SSH. This module
@@ -97,7 +97,7 @@ updates:
responses:
description: The set of responses from issuing the commands on the device
- retured: when not check_mode
+ returned: when not check_mode
type: list
sample: ['...', '...']
"""
diff --git a/network/iosxr/iosxr_facts.py b/network/iosxr/iosxr_facts.py
index 7af1023f..d8d0e5d9 100644
--- a/network/iosxr/iosxr_facts.py
+++ b/network/iosxr/iosxr_facts.py
@@ -79,7 +79,7 @@ ansible_net_image:
# hardware
ansible_net_filesystems:
- description: All file system names availabe on the device
+ description: All file system names available on the device
returned: when hardware is configured
type: list
ansible_net_memfree_mb:
diff --git a/network/junos/junos_command.py b/network/junos/junos_command.py
index 6fc2b0a4..49fa23da 100644
--- a/network/junos/junos_command.py
+++ b/network/junos/junos_command.py
@@ -148,7 +148,7 @@ stdout_lines:
failed_conditionals:
description: the conditionals that failed
- retured: failed
+ returned: failed
type: list
sample: ['...', '...']
"""
diff --git a/network/junos/junos_facts.py b/network/junos/junos_facts.py
index f22b3bb0..1e6973dd 100644
--- a/network/junos/junos_facts.py
+++ b/network/junos/junos_facts.py
@@ -45,7 +45,7 @@ options:
format of the configuration file. Devices support three
configuration file formats. By default, the configuration
from the device is returned as text. The other options include
- set and xml. If the xml option is choosen, the configuration file
+ set and xml. If the xml option is chosen, the configuration file
is returned as both xml and json.
required: false
default: text
@@ -81,7 +81,7 @@ EXAMPLES = """
RETURN = """
ansible_facts:
- descrption: Returns the facts collect from the device
+ description: Returns the facts collect from the device
returned: always
type: dict
"""
diff --git a/network/netvisor/pn_vrouter.py b/network/netvisor/pn_vrouter.py
index 0e1a6d37..6036daf7 100644
--- a/network/netvisor/pn_vrouter.py
+++ b/network/netvisor/pn_vrouter.py
@@ -97,7 +97,7 @@ options:
1 and 255 or 0 to unset.
pn_bgp_options:
description:
- - Specify other BGP options as a whitespaces separted string within
+ - Specify other BGP options as a whitespaces separated string within
single quotes ''.
pn_rip_redistribute:
description:
diff --git a/network/netvisor/pn_vrouterif.py b/network/netvisor/pn_vrouterif.py
index dd3c60c3..8e1a5255 100644
--- a/network/netvisor/pn_vrouterif.py
+++ b/network/netvisor/pn_vrouterif.py
@@ -32,7 +32,7 @@ description:
- Execute vrouter-interface-add, vrouter-interface-remove,
vrouter-interface-modify command.
- You configure interfaces to vRouter services on a fabric, cluster,
- standalone switch or virtula network(VNET).
+ standalone switch or virtual network(VNET).
options:
pn_cliusername:
description:
diff --git a/network/nxos/_nxos_template.py b/network/nxos/_nxos_template.py
index fe379629..d7b50059 100644
--- a/network/nxos/_nxos_template.py
+++ b/network/nxos/_nxos_template.py
@@ -90,7 +90,7 @@ EXAMPLES = """
src: config.j2
force: yes
-- name: provide the base configuration for comparision
+- name: provide the base configuration for comparison
nxos_template:
src: candidate_config.txt
config: current_config.txt
@@ -105,7 +105,7 @@ updates:
responses:
description: The set of responses from issuing the commands on the device
- retured: when not check_mode
+ returned: when not check_mode
type: list
sample: ['...', '...']
"""
diff --git a/network/nxos/nxos_acl.py b/network/nxos/nxos_acl.py
index eff27bb5..0b3ea06d 100644
--- a/network/nxos/nxos_acl.py
+++ b/network/nxos/nxos_acl.py
@@ -38,7 +38,7 @@ notes:
If there is any difference, what is in Ansible will be pushed (configured
options will be overridden). This is to improve security, but at the
same time remember an ACE is removed, then re-added, so if there is a
- change, the new ACE will be exactly what paramaters you are sending to
+ change, the new ACE will be exactly what parameters you are sending to
the module.
options:
seq:
diff --git a/network/nxos/nxos_bgp.py b/network/nxos/nxos_bgp.py
index 9f7dd16a..5ec5135b 100644
--- a/network/nxos/nxos_bgp.py
+++ b/network/nxos/nxos_bgp.py
@@ -949,7 +949,7 @@ def main():
if module.params['vrf'] != 'default':
for param, inserted_value in module.params.iteritems():
if param in GLOBAL_PARAMS and inserted_value:
- module.fail_json(msg='Global params can be modifed only'
+ module.fail_json(msg='Global params can be modified only'
' under "default" VRF.',
vrf=module.params['vrf'],
global_param=param)
diff --git a/network/nxos/nxos_bgp_neighbor_af.py b/network/nxos/nxos_bgp_neighbor_af.py
index 06ced09e..1062ed21 100644
--- a/network/nxos/nxos_bgp_neighbor_af.py
+++ b/network/nxos/nxos_bgp_neighbor_af.py
@@ -50,7 +50,7 @@ options:
required: true
afi:
description:
- - Address Family Identifie.
+ - Address Family Identifier.
required: true
choices: ['ipv4','ipv6', 'vpnv4', 'vpnv6', 'l2vpn']
safi:
diff --git a/network/nxos/nxos_command.py b/network/nxos/nxos_command.py
index af302c2f..c6e33c6e 100644
--- a/network/nxos/nxos_command.py
+++ b/network/nxos/nxos_command.py
@@ -93,7 +93,7 @@ vars:
password: admin
transport: cli
-- name: run show verion on remote devices
+- name: run show version on remote devices
nxos_command:
commands: show version
provider: "{{ cli }}"
@@ -111,7 +111,7 @@ vars:
- show interfaces
provider: "{{ cli }}"
-- name: run multiple commands and evalute the output
+- name: run multiple commands and evaluate the output
nxos_command:
commands:
- show version
@@ -144,7 +144,7 @@ stdout_lines:
failed_conditions:
description: the conditionals that failed
- retured: failed
+ returned: failed
type: list
sample: ['...', '...']
"""
diff --git a/network/nxos/nxos_evpn_vni.py b/network/nxos/nxos_evpn_vni.py
index a2de61d0..48cddf94 100644
--- a/network/nxos/nxos_evpn_vni.py
+++ b/network/nxos/nxos_evpn_vni.py
@@ -28,7 +28,7 @@ author: Gabriele Gerbino (@GGabriele)
extends_documentation_fragment: nxos
notes:
- default, where supported, restores params default value.
- - RD override is not permitted. You should set it to the defalt values
+ - RD override is not permitted. You should set it to the default values
first and then reconfigure it.
- C(route_target_both), C(route_target_import) and
C(route_target_export valid) values are a list of extended communities,
diff --git a/network/nxos/nxos_facts.py b/network/nxos/nxos_facts.py
index 9d5defb9..25dd9f40 100644
--- a/network/nxos/nxos_facts.py
+++ b/network/nxos/nxos_facts.py
@@ -100,7 +100,7 @@ ansible_net_image:
# hardware
ansible_net_filesystems:
- description: All file system names availabe on the device
+ description: All file system names available on the device
returned: when hardware is configured
type: list
ansible_net_memfree_mb:
diff --git a/network/nxos/nxos_file_copy.py b/network/nxos/nxos_file_copy.py
index a5111a23..2c01cad1 100644
--- a/network/nxos/nxos_file_copy.py
+++ b/network/nxos/nxos_file_copy.py
@@ -63,7 +63,7 @@ EXAMPLES = '''
RETURN = '''
transfer_status:
- description: Whether a file was transfered. "No Transfer" or "Sent".
+ description: Whether a file was transferred. "No Transfer" or "Sent".
returned: success
type: string
sample: 'Sent'
diff --git a/network/nxos/nxos_gir_profile_management.py b/network/nxos/nxos_gir_profile_management.py
index ef99c708..0b9e795b 100644
--- a/network/nxos/nxos_gir_profile_management.py
+++ b/network/nxos/nxos_gir_profile_management.py
@@ -39,7 +39,7 @@ options:
default: null
mode:
description:
- - Configure the profile as Maintenance or Normale mode.
+ - Configure the profile as Maintenance or Normal mode.
required: true
choices: ['maintenance', 'normal']
state:
@@ -376,4 +376,4 @@ def main():
if __name__ == '__main__':
- main() \ No newline at end of file
+ main()
diff --git a/network/nxos/nxos_install_os.py b/network/nxos/nxos_install_os.py
index 705e13b3..be11cc2e 100644
--- a/network/nxos/nxos_install_os.py
+++ b/network/nxos/nxos_install_os.py
@@ -36,7 +36,7 @@ notes:
- You must know if your platform supports taking a kickstart image as a
parameter. If supplied but not supported, errors may occur.
- This module attempts to install the software immediately,
- wich may trigger a reboot.
+ which may trigger a reboot.
- In check mode, the module tells you if the current boot images are set
to the desired images.
author:
@@ -364,7 +364,7 @@ def set_boot_options(module, image_name, kickstart=None):
Args:
The main system image file name.
Keyword Args: many implementors may choose
- to supply a kickstart parameter to specicify a kickstart image.
+ to supply a kickstart parameter to specify a kickstart image.
"""
commands = ['terminal dont-ask']
if kickstart is None:
@@ -413,4 +413,4 @@ def main():
if __name__ == '__main__':
- main() \ No newline at end of file
+ main()
diff --git a/network/nxos/nxos_ntp_auth.py b/network/nxos/nxos_ntp_auth.py
index 11617099..9790389b 100644
--- a/network/nxos/nxos_ntp_auth.py
+++ b/network/nxos/nxos_ntp_auth.py
@@ -28,7 +28,7 @@ extends_documentation_fragment: nxos
author:
- Jason Edelman (@jedelman8)
notes:
- - If C(state=absent), the moudle will attempt to remove the given key configuration.
+ - If C(state=absent), the module will attempt to remove the given key configuration.
If a matching key configuration isn't found on the device, the module will fail.
- If C(state=absent) and C(authentication=on), authentication will be turned off.
- If C(state=absent) and C(authentication=off), authentication will be turned on.
@@ -59,7 +59,7 @@ options:
choices: ['true', 'false']
authentication:
description:
- - Turns NTP authenication on or off.
+ - Turns NTP authentication on or off.
required: false
default: null
choices: ['on', 'off']
@@ -96,7 +96,7 @@ existing:
type: dict
sample: {"authentication": "off", "trusted_key": "false"}
end_state:
- description: k/v pairs of ntp autherntication after module execution
+ description: k/v pairs of ntp authentication after module execution
returned: always
type: dict
sample: {"authentication": "off", "key_id": "32",
diff --git a/network/nxos/nxos_nxapi.py b/network/nxos/nxos_nxapi.py
index 3fb2a5c6..3324130b 100644
--- a/network/nxos/nxos_nxapi.py
+++ b/network/nxos/nxos_nxapi.py
@@ -277,7 +277,7 @@ def main():
sandbox=dict(aliases=['enable_sandbox'], default=False, type='bool'),
- # Only allow configuration of NXAPI using cli transpsort
+ # Only allow configuration of NXAPI using cli transport
transport=dict(required=True, choices=['cli']),
config=dict(),
diff --git a/network/nxos/nxos_smu.py b/network/nxos/nxos_smu.py
index f89aeb37..776430b8 100644
--- a/network/nxos/nxos_smu.py
+++ b/network/nxos/nxos_smu.py
@@ -355,7 +355,7 @@ def main():
remote_exists = remote_file_exists(module, pkg, file_system=file_system)
if not remote_exists:
- module.fail_json(msg="The requested package does't exist "
+ module.fail_json(msg="The requested package doesn't exist "
"on the device")
commands = get_commands(module, pkg, file_system)
diff --git a/network/nxos/nxos_snapshot.py b/network/nxos/nxos_snapshot.py
index f99c2ed2..f7923a10 100644
--- a/network/nxos/nxos_snapshot.py
+++ b/network/nxos/nxos_snapshot.py
@@ -29,7 +29,7 @@ extends_documentation_fragment: nxos
author:
- Gabriele Gerbino (@GGabriele)
notes:
- - C(transpot=cli) may cause timeout errors.
+ - C(transport=cli) may cause timeout errors.
- The C(element_key1) and C(element_key2) parameter specify the tags used
to distinguish among row entries. In most cases, only the element_key1
parameter needs to specified to be able to distinguish among row entries.
diff --git a/network/nxos/nxos_snmp_user.py b/network/nxos/nxos_snmp_user.py
index db10d51f..d3add9b7 100644
--- a/network/nxos/nxos_snmp_user.py
+++ b/network/nxos/nxos_snmp_user.py
@@ -473,7 +473,7 @@ def main():
if privacy and encrypt:
if not pwd and authentication:
- module.fail_json(msg='pwd and authentication must be proviced '
+ module.fail_json(msg='pwd and authentication must be provided '
'when using privacy and encrypt')
if group and group not in get_snmp_groups(module):
diff --git a/network/nxos/nxos_switchport.py b/network/nxos/nxos_switchport.py
index 1b6cbf70..387c7c7c 100644
--- a/network/nxos/nxos_switchport.py
+++ b/network/nxos/nxos_switchport.py
@@ -487,7 +487,7 @@ def get_switchport_config_commands(interface, existing, proposed, module):
def is_switchport_default(existing):
"""Determines if switchport has a default config based on mode
Args:
- existing (dict): existing switcport configuration from Ansible mod
+ existing (dict): existing switchport configuration from Ansible mod
Returns:
boolean: True if switchport has OOB Layer 2 config, i.e.
vlan 1 and trunk all and mode is access
@@ -802,4 +802,4 @@ def main():
module.exit_json(**results)
if __name__ == '__main__':
- main() \ No newline at end of file
+ main()
diff --git a/network/nxos/nxos_udld.py b/network/nxos/nxos_udld.py
index 7c903fcf..db53461f 100644
--- a/network/nxos/nxos_udld.py
+++ b/network/nxos/nxos_udld.py
@@ -28,7 +28,7 @@ extends_documentation_fragment: nxos
author:
- Jason Edelman (@jedelman8)
notes:
- - When C(state=absent), it unconfigures existing setings C(msg_time) and set it
+ - When C(state=absent), it unconfigures existing settings C(msg_time) and set it
to its default value of 15. It is cleaner to always use C(state=present).
- Module will fail if the udld feature has not been previously enabled.
options:
diff --git a/network/nxos/nxos_udld_interface.py b/network/nxos/nxos_udld_interface.py
index 44bb3c5e..e061dde4 100644
--- a/network/nxos/nxos_udld_interface.py
+++ b/network/nxos/nxos_udld_interface.py
@@ -363,6 +363,7 @@ def get_udld_interface(module, interface):
table = body['TABLE_interface']['ROW_interface']
status = str(table.get('mib-port-status', None))
+ # Note: 'mib-aggresive-mode' is NOT a typo
agg = str(table.get('mib-aggresive-mode', 'disabled'))
if agg == 'enabled':
diff --git a/network/nxos/nxos_vpc_interface.py b/network/nxos/nxos_vpc_interface.py
index a621c1b1..dcc1c213 100644
--- a/network/nxos/nxos_vpc_interface.py
+++ b/network/nxos/nxos_vpc_interface.py
@@ -46,7 +46,7 @@ options:
default: null
peer_link:
description:
- - Set to true/false for peer link config on assoicated portchannel.
+ - Set to true/false for peer link config on associated portchannel.
required: false
default: null
state:
diff --git a/network/nxos/nxos_vtp_domain.py b/network/nxos/nxos_vtp_domain.py
index 806b01f7..54704913 100644
--- a/network/nxos/nxos_vtp_domain.py
+++ b/network/nxos/nxos_vtp_domain.py
@@ -29,7 +29,7 @@ notes:
- VTP feature must be active on the device to use this module.
- This module is used to manage only VTP domain names.
- VTP domain names are case-sensible.
- - If it's never been configured before, VTP version is setted to 1 by default.
+ - If it's never been configured before, VTP version is set to 1 by default.
Otherwise, it leaves the previous configured version untouched.
Use M(nxos_vtp_version) to change it.
- Use this in combination with M(nxos_vtp_password) and M(nxos_vtp_version)
diff --git a/network/nxos/nxos_vxlan_vtep_vni.py b/network/nxos/nxos_vxlan_vtep_vni.py
index cf522f63..a50c7600 100644
--- a/network/nxos/nxos_vxlan_vtep_vni.py
+++ b/network/nxos/nxos_vxlan_vtep_vni.py
@@ -80,7 +80,7 @@ options:
choices: ['present','absent']
include_defaults:
description:
- - Specify to use or not the complete runnning configuration
+ - Specify to use or not the complete running configuration
for module operations.
required: false
default: true
diff --git a/network/openswitch/_ops_template.py b/network/openswitch/_ops_template.py
index 5bb77387..73af4c0a 100644
--- a/network/openswitch/_ops_template.py
+++ b/network/openswitch/_ops_template.py
@@ -87,11 +87,11 @@ EXAMPLES = """
RETURN = """
updates:
description: The list of configuration updates to be merged
- retured: always
+ returned: always
type: dict
sample: {obj, obj}
responses:
- desription: returns the responses when configuring using cli
+ description: returns the responses when configuring using cli
returned: when transport == cli
type: list
sample: [...]
diff --git a/network/openswitch/ops_command.py b/network/openswitch/ops_command.py
index 43dab36a..9a3c0b2f 100644
--- a/network/openswitch/ops_command.py
+++ b/network/openswitch/ops_command.py
@@ -20,7 +20,7 @@ DOCUMENTATION = """
---
module: ops_command
version_added: "2.1"
-author: "Peter sprygada (@privateip)"
+author: "Peter Sprygada (@privateip)"
short_description: Run arbitrary commands on OpenSwitch devices.
description:
- Sends arbitrary commands to an OpenSwitch node and returns the results
@@ -33,7 +33,7 @@ options:
description:
- List of commands to send to the remote ops device over the
configured provider. The resulting output from the command
- is returned. If the I(waitfor) argument is provided, the
+ is returned. If the I(wait_for) argument is provided, the
module is not returned until the condition is satisfied or
the number of retires as expired.
required: true
@@ -65,7 +65,7 @@ options:
- Specifies the number of retries a command should by tried
before it is considered failed. The command is run on the
target device every retry and evaluated against the
- I(waitfor) conditions.
+ I(wait_for) conditions.
required: false
default: 10
interval:
@@ -122,7 +122,7 @@ stdout_lines:
failed_conditions:
description: the conditionals that failed
- retured: failed
+ returned: failed
type: list
sample: ['...', '...']
"""
diff --git a/network/vyos/vyos_command.py b/network/vyos/vyos_command.py
index 0d09c432..4c24e9e7 100644
--- a/network/vyos/vyos_command.py
+++ b/network/vyos/vyos_command.py
@@ -117,7 +117,7 @@ stdout_lines:
sample: [['...', '...'], ['...'], ['...']]
failed_conditions:
description: The conditionals that failed
- retured: failed
+ returned: failed
type: list
sample: ['...', '...']
warnings:
diff --git a/network/vyos/vyos_facts.py b/network/vyos/vyos_facts.py
index 5be19a78..3b0e5558 100644
--- a/network/vyos/vyos_facts.py
+++ b/network/vyos/vyos_facts.py
@@ -35,7 +35,7 @@ options:
to a given subset. Possible values for this argument include
all, hardware, config, and interfaces. Can specify a list of
values to include a larger subset. Values can also be used
- with an initial M(!) to specify that a specific subset should
+ with an initial C(M(!)) to specify that a specific subset should
not be collected.
required: false
default: "!config"
@@ -70,7 +70,7 @@ ansible_net_config:
returned: when config is configured
type: str
ansible_net_commits:
- descrption: The set of available configuration revisions
+ description: The set of available configuration revisions
returned: when present
type: list
ansible_net_hostname:
diff --git a/packaging/os/apt.py b/packaging/os/apt.py
index eeaf4aa6..72709420 100644
--- a/packaging/os/apt.py
+++ b/packaging/os/apt.py
@@ -266,8 +266,8 @@ def package_version_compare(version, other_version):
def package_status(m, pkgname, version, cache, state):
try:
# get the package from the cache, as well as the
- # the low-level apt_pkg.Package object which contains
- # state fields not directly acccesible from the
+ # low-level apt_pkg.Package object which contains
+ # state fields not directly accessible from the
# higher-level apt.package.Package object.
pkg = cache[pkgname]
ll_pkg = cache._cache[pkgname] # the low-level package object
@@ -819,7 +819,7 @@ def main():
updated_cache = True
mtimestamp, updated_cache_time = get_updated_cache_time()
- # If theres nothing else to do exit. This will set state as
+ # If there is nothing else to do exit. This will set state as
# changed based on if the cache was updated.
if not p['package'] and not p['upgrade'] and not p['deb']:
module.exit_json(
@@ -879,7 +879,7 @@ def main():
# Store when the update time was last
retvals['cache_update_time'] = updated_cache_time
# If the cache was updated and the general state change was set to
- # False make sure that the change in cache state is acurately
+ # False make sure that the change in cache state is accurately
# updated by setting the general changed state to the same as
# the cache state.
if updated_cache and not retvals['changed']:
diff --git a/packaging/os/redhat_subscription.py b/packaging/os/redhat_subscription.py
index f1440772..2bef4cbb 100644
--- a/packaging/os/redhat_subscription.py
+++ b/packaging/os/redhat_subscription.py
@@ -71,7 +71,7 @@ options:
default: null
org_id:
description:
- - Organisation ID to use in conjunction with activationkey
+ - Organization ID to use in conjunction with activationkey
required: False
default: null
version_added: "2.0"
diff --git a/packaging/os/rpm_key.py b/packaging/os/rpm_key.py
index b4d35965..4899d5cd 100644
--- a/packaging/os/rpm_key.py
+++ b/packaging/os/rpm_key.py
@@ -39,7 +39,7 @@ options:
default: "present"
choices: [present, absent]
description:
- - Wheather the key will be imported or removed from the rpm db.
+ - If the key will be imported or removed from the rpm db.
validate_certs:
description:
- If C(no) and the C(key) is a url starting with https, SSL certificates will not be validated. This should only be used
diff --git a/source_control/git.py b/source_control/git.py
index 8b85df27..1060ab91 100644
--- a/source_control/git.py
+++ b/source_control/git.py
@@ -551,7 +551,7 @@ def get_head_branch(git_path, module, dest, remote, bare=False):
if os.path.isfile(repo_path):
try:
gitdir = yaml.safe_load(open(repo_path)).get('gitdir')
- # There is a posibility the .git file to have an absolute path.
+ # There is a possibility the .git file to have an absolute path.
if os.path.isabs(gitdir):
repo_path = gitdir
else:
@@ -590,7 +590,7 @@ def set_remote_url(git_path, module, repo, dest, remote):
label = "set a new url %s for %s" % (repo, remote)
module.fail_json(msg="Failed to %s: %s %s" % (label, out, err))
- # Return False if remote_url is None to maintain previous bevhavior
+ # Return False if remote_url is None to maintain previous behavior
# for Git versions prior to 1.7.5 that lack required functionality.
return remote_url is not None
@@ -614,7 +614,7 @@ def fetch(git_path, module, repo, dest, version, remote, depth, bare, refspec, g
refspecs.append(currenthead)
elif is_remote_branch(git_path, module, dest, repo, version):
if currenthead != version:
- # this workaroung is only needed for older git versions
+ # this workaround is only needed for older git versions
# 1.8.3 is broken, 1.9.x works
# ensure that remote branch is available as both local and remote ref
refspecs.append('+refs/heads/%s:refs/heads/%s' % (version, version))
diff --git a/source_control/subversion.py b/source_control/subversion.py
index 1f52a292..d9263482 100644
--- a/source_control/subversion.py
+++ b/source_control/subversion.py
@@ -174,7 +174,7 @@ class Subversion(object):
# The --quiet option will return only modified files.
# Match only revisioned files, i.e. ignore status '?'.
regex = re.compile(r'^[^?X]')
- # Has local mods if more than 0 modifed revisioned files.
+ # Has local mods if more than 0 modified revisioned files.
return len(filter(regex.match, lines)) > 0
def needs_update(self):
diff --git a/system/cron.py b/system/cron.py
index 00ac3709..bfc2f2d2 100644
--- a/system/cron.py
+++ b/system/cron.py
@@ -22,7 +22,7 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
-# Cron Plugin: The goal of this plugin is to provide an indempotent method for
+# Cron Plugin: The goal of this plugin is to provide an idempotent method for
# setting up cron jobs on a host. The script will play well with other manually
# entered crons. Each cron job entered will be preceded with a comment
# describing the job so that it can be found later, which is required to be
@@ -139,7 +139,7 @@ options:
env:
description:
- If set, manages a crontab's environment variable. New variables are added on top of crontab.
- "name" and "value" paramenters are the name and the value of environment variable.
+ "name" and "value" parameters are the name and the value of environment variable.
version_added: "2.1"
required: false
default: "no"
diff --git a/system/group.py b/system/group.py
index 8edb93a1..f6628727 100644
--- a/system/group.py
+++ b/system/group.py
@@ -258,7 +258,7 @@ class DarwinGroup(Group):
- group_add()
- group_mod()
- group manupulation are done using dseditgroup(1).
+ group manipulation are done using dseditgroup(1).
"""
platform = 'Darwin'
diff --git a/system/service.py b/system/service.py
index baac4fed..18b76d32 100644
--- a/system/service.py
+++ b/system/service.py
@@ -1350,7 +1350,7 @@ class SunOSService(Service):
def service_control(self):
status = self.get_sunos_svcs_status()
- # if starting or reloading, clear maintenace states
+ # if starting or reloading, clear maintenance states
if self.action in ['start', 'reload', 'restart'] and status in ['maintenance', 'degraded']:
rc, stdout, stderr = self.execute_command("%s clear %s" % (self.svcadm_cmd, self.name))
if rc != 0:
diff --git a/system/systemd.py b/system/systemd.py
index a92c776a..fdaeae64 100644
--- a/system/systemd.py
+++ b/system/systemd.py
@@ -75,7 +75,7 @@ EXAMPLES = '''
- systemd: state=started name=httpd
# Example action to stop service cron on debian, if running
- systemd: name=cron state=stopped
-# Example action to restart service cron on centos, in all cases, also issue deamon-reload to pick up config changes
+# Example action to restart service cron on centos, in all cases, also issue daemon-reload to pick up config changes
- systemd: state=restarted daemon_reload=yes name=crond
# Example action to reload service httpd, in all cases
- systemd: name=httpd state=reloaded
diff --git a/system/user.py b/system/user.py
index 9c1c9ada..ab2c4be2 100644
--- a/system/user.py
+++ b/system/user.py
@@ -1528,7 +1528,7 @@ class DarwinUser(User):
def _change_user_password(self):
'''Change password for SELF.NAME against SELF.PASSWORD.
- Please note that password must be cleatext.
+ Please note that password must be cleartext.
'''
# some documentation on how is stored passwords on OSX:
# http://blog.lostpassword.com/2012/07/cracking-mac-os-x-lion-accounts-passwords/
@@ -1560,7 +1560,7 @@ class DarwinUser(User):
def __modify_group(self, group, action):
'''Add or remove SELF.NAME to or from GROUP depending on ACTION.
- ACTION can be 'add' or 'remove' otherwhise 'remove' is assumed. '''
+ ACTION can be 'add' or 'remove' otherwise 'remove' is assumed. '''
if action == 'add':
option = '-a'
else:
@@ -1574,7 +1574,7 @@ class DarwinUser(User):
def _modify_group(self):
'''Add or remove SELF.NAME to or from GROUP depending on ACTION.
- ACTION can be 'add' or 'remove' otherwhise 'remove' is assumed. '''
+ ACTION can be 'add' or 'remove' otherwise 'remove' is assumed. '''
rc = 0
out = ''
diff --git a/utilities/helper/_accelerate.py b/utilities/helper/_accelerate.py
index 13d0510f..3bb79122 100644
--- a/utilities/helper/_accelerate.py
+++ b/utilities/helper/_accelerate.py
@@ -255,7 +255,7 @@ class LocalSocketThread(Thread):
conn.sendall("EXISTS\n")
# update the last event time so the server doesn't
- # shutdown sooner than expected for new cliets
+ # shutdown sooner than expected for new clients
try:
self.server.last_event_lock.acquire()
self.server.last_event = datetime.datetime.now()
diff --git a/utilities/helper/meta.py b/utilities/helper/meta.py
index 6e039123..7e2863ff 100644
--- a/utilities/helper/meta.py
+++ b/utilities/helper/meta.py
@@ -40,7 +40,7 @@ options:
required: true
default: null
notes:
- - meta is not really a module nor action_plugin as such it cannot be overriden.
+ - meta is not really a module nor action_plugin as such it cannot be overwritten.
author:
- "Ansible Core Team"
'''
diff --git a/utilities/logic/async_wrapper.py b/utilities/logic/async_wrapper.py
index 05054504..b2af4067 100644
--- a/utilities/logic/async_wrapper.py
+++ b/utilities/logic/async_wrapper.py
@@ -222,7 +222,7 @@ if __name__ == '__main__':
if pid:
# Notify the overlord that the async process started
- # we need to not return immmediately such that the launched command has an attempt
+ # we need to not return immediately such that the launched command has an attempt
# to initialize PRIOR to ansible trying to clean up the launch directory (and argsfile)
# this probably could be done with some IPC later. Modules should always read
# the argsfile at the very first start of their execution anyway
diff --git a/windows/win_lineinfile.py b/windows/win_lineinfile.py
index c6761591..bc378f49 100644
--- a/windows/win_lineinfile.py
+++ b/windows/win_lineinfile.py
@@ -94,7 +94,7 @@ options:
newline:
required: false
description:
- - "Specifies the line separator style to use for the modified file. This defaults to the windows line separator (\r\n). Note that the indicated line separator will be used for file output regardless of the original line seperator that appears in the input file."
+ - "Specifies the line separator style to use for the modified file. This defaults to the windows line separator (\r\n). Note that the indicated line separator will be used for file output regardless of the original line separator that appears in the input file."
choices: [ "windows", "unix" ]
default: "windows"
"""
@@ -110,7 +110,7 @@ EXAMPLES = """
- win_lineinfile: dest=C:\\temp\\services regexp="^# port for http" insertbefore="^www.*80/tcp" line="# port for http by default"
-# Create file if it doesnt exist with a specific encoding
+# Create file if it doesn't exist with a specific encoding
- win_lineinfile: dest=C:\\temp\\utf16.txt create="yes" encoding="utf-16" line="This is a utf-16 encoded file"
# Add a line to a file and ensure the resulting file uses unix line separators