From 7e91998049f2c495af18347dec861a1ab6edddf9 Mon Sep 17 00:00:00 2001 From: Andrey Klychkov Date: Thu, 12 Sep 2019 17:01:14 +0300 Subject: [PATCH] fix typos in cloud modules (#62194) * fix typos in cloud modules * fix typos in cloud modules, fix ci tests --- .../modules/cloud/amazon/aws_batch_job_queue.py | 2 +- lib/ansible/modules/cloud/amazon/aws_codebuild.py | 6 +++--- lib/ansible/modules/cloud/amazon/aws_codepipeline.py | 2 +- .../aws_direct_connect_link_aggregation_group.py | 4 ++-- .../amazon/aws_direct_connect_virtual_interface.py | 2 +- .../cloud/amazon/aws_netapp_cvs_FileSystems.py | 2 +- .../modules/cloud/amazon/aws_netapp_cvs_snapshots.py | 6 +++--- .../modules/cloud/amazon/aws_ses_identity_policy.py | 2 +- lib/ansible/modules/cloud/amazon/aws_waf_web_acl.py | 2 +- lib/ansible/modules/cloud/amazon/cloudformation.py | 2 +- .../modules/cloud/amazon/cloudfront_invalidation.py | 2 +- .../amazon/cloudfront_origin_access_identity.py | 2 +- .../modules/cloud/amazon/cloudwatchevent_rule.py | 2 +- lib/ansible/modules/cloud/amazon/dms_endpoint.py | 2 +- .../cloud/amazon/dms_replication_subnet_group.py | 4 ++-- lib/ansible/modules/cloud/amazon/ec2_asg.py | 2 +- lib/ansible/modules/cloud/amazon/ec2_eip.py | 2 +- lib/ansible/modules/cloud/amazon/ec2_elb_lb.py | 2 +- lib/ansible/modules/cloud/amazon/ec2_eni_info.py | 2 +- lib/ansible/modules/cloud/amazon/ec2_lc.py | 2 +- .../modules/cloud/amazon/ec2_metadata_facts.py | 2 +- .../modules/cloud/amazon/ec2_vpc_nat_gateway.py | 2 +- lib/ansible/modules/cloud/amazon/ec2_vpc_net.py | 2 +- lib/ansible/modules/cloud/amazon/ec2_vpc_vgw.py | 2 +- lib/ansible/modules/cloud/amazon/ecs_service.py | 8 ++++---- lib/ansible/modules/cloud/amazon/ecs_task.py | 2 +- .../modules/cloud/amazon/ecs_taskdefinition.py | 4 ++-- lib/ansible/modules/cloud/amazon/efs.py | 2 +- lib/ansible/modules/cloud/amazon/elasticache_info.py | 2 +- lib/ansible/modules/cloud/amazon/elb_classic_lb.py | 2 +- lib/ansible/modules/cloud/amazon/elb_target_info.py | 2 +- lib/ansible/modules/cloud/amazon/iam.py | 12 ++++++------ lib/ansible/modules/cloud/amazon/rds.py | 2 +- .../modules/cloud/amazon/rds_snapshot_info.py | 4 ++-- lib/ansible/modules/cloud/amazon/redshift.py | 8 ++++---- lib/ansible/modules/cloud/amazon/s3_sync.py | 4 ++-- lib/ansible/modules/cloud/azure/azure_rm_aks.py | 2 +- .../azure/azure_rm_applicationsecuritygroup_info.py | 2 +- .../modules/cloud/azure/azure_rm_autoscale.py | 2 +- .../modules/cloud/azure/azure_rm_cdnendpoint.py | 2 +- .../modules/cloud/azure/azure_rm_cdnendpoint_info.py | 2 +- .../cloud/azure/azure_rm_containerregistry.py | 2 +- .../modules/cloud/azure/azure_rm_cosmosdbaccount.py | 2 +- .../modules/cloud/azure/azure_rm_deployment.py | 3 +-- .../modules/cloud/azure/azure_rm_deployment_info.py | 3 +-- .../cloud/azure/azure_rm_devtestlabenvironment.py | 2 +- .../cloud/azure/azure_rm_devtestlabschedule.py | 2 +- .../cloud/azure/azure_rm_devtestlabvirtualnetwork.py | 2 +- .../modules/cloud/azure/azure_rm_galleryimage.py | 2 +- lib/ansible/modules/cloud/azure/azure_rm_iothub.py | 2 +- .../modules/cloud/azure/azure_rm_keyvaultkey_info.py | 4 ++-- lib/ansible/modules/cloud/azure/azure_rm_lock.py | 2 +- .../modules/cloud/azure/azure_rm_lock_info.py | 4 ++-- .../modules/cloud/azure/azure_rm_resource_info.py | 10 +++++----- .../modules/cloud/azure/azure_rm_roledefinition.py | 4 ++-- .../cloud/azure/azure_rm_roledefinition_info.py | 2 +- .../modules/cloud/azure/azure_rm_securitygroup.py | 2 +- .../modules/cloud/azure/azure_rm_servicebus_info.py | 2 +- .../modules/cloud/azure/azure_rm_virtualmachine.py | 4 ++-- .../modules/cloud/azure/azure_rm_webappslot.py | 2 +- .../cloud/centurylink/clc_blueprint_package.py | 2 +- .../modules/cloud/centurylink/clc_firewall_policy.py | 2 +- lib/ansible/modules/cloud/centurylink/clc_server.py | 2 +- .../modules/cloud/cloudscale/cloudscale_server.py | 2 +- .../modules/cloud/cloudscale/cloudscale_volume.py | 6 +++--- .../modules/cloud/cloudstack/_cs_zone_facts.py | 2 +- lib/ansible/modules/cloud/cloudstack/cs_instance.py | 8 ++++---- .../modules/cloud/cloudstack/cs_ip_address.py | 4 ++-- lib/ansible/modules/cloud/cloudstack/cs_network.py | 2 +- .../modules/cloud/cloudstack/cs_network_offering.py | 4 ++-- .../modules/cloud/cloudstack/cs_sshkeypair.py | 2 +- .../modules/cloud/cloudstack/cs_storage_pool.py | 2 +- lib/ansible/modules/cloud/cloudstack/cs_vpc.py | 2 +- .../cloud/digital_ocean/digital_ocean_image_info.py | 2 +- .../cloud/dimensiondata/dimensiondata_vlan.py | 2 +- lib/ansible/modules/cloud/docker/docker_container.py | 2 +- lib/ansible/modules/cloud/google/_gcdns_record.py | 2 +- .../modules/cloud/google/_gcp_target_proxy.py | 6 +++--- lib/ansible/modules/cloud/google/_gcp_url_map.py | 12 ++++++------ lib/ansible/modules/cloud/google/gce_labels.py | 4 ++-- .../modules/cloud/google/gcp_compute_subnetwork.py | 2 +- .../modules/cloud/google/gcp_storage_bucket.py | 2 +- lib/ansible/modules/cloud/google/gcpubsub.py | 2 +- .../modules/cloud/hcloud/hcloud_server_info.py | 2 +- .../modules/cloud/hcloud/hcloud_ssh_key_info.py | 2 +- lib/ansible/modules/cloud/kubevirt/kubevirt_pvc.py | 4 ++-- lib/ansible/modules/cloud/kubevirt/kubevirt_rs.py | 2 +- .../modules/cloud/kubevirt/kubevirt_template.py | 6 +++--- lib/ansible/modules/cloud/kubevirt/kubevirt_vm.py | 2 +- lib/ansible/modules/cloud/lxc/lxc_container.py | 2 +- .../modules/cloud/memset/memset_zone_domain.py | 2 +- lib/ansible/modules/cloud/misc/proxmox_kvm.py | 4 ++-- lib/ansible/modules/cloud/misc/rhevm.py | 2 +- .../cloud/oneandone/oneandone_firewall_policy.py | 2 +- .../cloud/oneandone/oneandone_load_balancer.py | 2 +- lib/ansible/modules/cloud/opennebula/one_host.py | 2 +- lib/ansible/modules/cloud/opennebula/one_service.py | 6 +++--- lib/ansible/modules/cloud/opennebula/one_vm.py | 6 +++--- .../modules/cloud/openstack/os_floating_ip.py | 2 +- .../modules/cloud/openstack/os_ironic_inspect.py | 2 +- .../modules/cloud/openstack/os_ironic_node.py | 2 +- .../modules/cloud/openstack/os_loadbalancer.py | 8 ++++---- lib/ansible/modules/cloud/openstack/os_recordset.py | 2 +- lib/ansible/modules/cloud/openstack/os_server.py | 2 +- .../cloud/ovh/ovh_ip_loadbalancing_backend.py | 4 ++-- .../modules/cloud/ovirt/ovirt_affinity_group.py | 2 +- lib/ansible/modules/cloud/ovirt/ovirt_auth.py | 2 +- .../modules/cloud/ovirt/ovirt_host_network.py | 2 +- .../modules/cloud/ovirt/ovirt_instance_type.py | 2 +- lib/ansible/modules/cloud/ovirt/ovirt_quota.py | 2 +- .../modules/cloud/ovirt/ovirt_storage_domain.py | 2 +- lib/ansible/modules/cloud/ovirt/ovirt_template.py | 4 ++-- lib/ansible/modules/cloud/ovirt/ovirt_vm.py | 12 ++++++------ .../modules/cloud/ovirt/ovirt_vnic_profile.py | 2 +- lib/ansible/modules/cloud/packet/packet_device.py | 4 ++-- lib/ansible/modules/cloud/packet/packet_sshkey.py | 2 +- lib/ansible/modules/cloud/podman/podman_image.py | 12 ++++++------ .../modules/cloud/podman/podman_image_info.py | 2 +- .../cloud/scaleway/scaleway_security_group.py | 4 ++-- .../modules/cloud/smartos/smartos_image_info.py | 2 +- lib/ansible/modules/cloud/vmware/vca_vapp.py | 4 ++-- .../cloud/vmware/vmware_content_deploy_template.py | 2 +- .../modules/cloud/vmware/vmware_datastore_cluster.py | 2 +- lib/ansible/modules/cloud/vmware/vmware_drs_group.py | 4 ++-- lib/ansible/modules/cloud/vmware/vmware_guest.py | 8 ++++---- .../modules/cloud/vmware/vmware_guest_disk.py | 2 +- .../modules/cloud/vmware/vmware_guest_powerstate.py | 2 +- lib/ansible/modules/cloud/vmware/vmware_host.py | 2 +- .../cloud/vmware/vmware_host_active_directory.py | 2 +- .../cloud/vmware/vmware_host_firewall_manager.py | 2 +- .../cloud/vmware/vmware_local_role_manager.py | 2 +- lib/ansible/modules/cloud/vultr/vultr_server.py | 2 +- .../modules/cloud/xenserver/xenserver_guest.py | 4 ++-- .../cloud/xenserver/xenserver_guest_powerstate.py | 6 +++--- test/integration/targets/redshift/tasks/main.yml | 2 +- 135 files changed, 211 insertions(+), 213 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/aws_batch_job_queue.py b/lib/ansible/modules/cloud/amazon/aws_batch_job_queue.py index 943cd0a109c..15c2fa025a2 100644 --- a/lib/ansible/modules/cloud/amazon/aws_batch_job_queue.py +++ b/lib/ansible/modules/cloud/amazon/aws_batch_job_queue.py @@ -233,7 +233,7 @@ def manage_state(module, aws): if state == 'present': if current_state == 'present': updates = False - # Update Batch Job Queuet configuration + # Update Batch Job Queue configuration job_kwargs = {'jobQueue': job_queue_name} # Update configuration if needed diff --git a/lib/ansible/modules/cloud/amazon/aws_codebuild.py b/lib/ansible/modules/cloud/amazon/aws_codebuild.py index 8bc0ffa6862..9d7f692379c 100644 --- a/lib/ansible/modules/cloud/amazon/aws_codebuild.py +++ b/lib/ansible/modules/cloud/amazon/aws_codebuild.py @@ -190,7 +190,7 @@ EXAMPLES = ''' RETURN = ''' project: - description: Returns the dictionary desribing the code project configuration. + description: Returns the dictionary describing the code project configuration. returned: success type: complex contains: @@ -208,7 +208,7 @@ project: description: A description of the build project returned: always type: string - sample: My nice little proejct + sample: My nice little project source: description: Information about the build input source code. returned: always @@ -304,7 +304,7 @@ def create_or_update_project(client, params, module): formatted_create_params = dict((k, v) for k, v in formatted_params.items() if k in permitted_create_params) formatted_update_params = dict((k, v) for k, v in formatted_params.items() if k in permitted_update_params) - # Check if project with that name aleady exists and if so update existing: + # Check if project with that name already exists and if so update existing: found = describe_project(client=client, name=name, module=module) changed = False diff --git a/lib/ansible/modules/cloud/amazon/aws_codepipeline.py b/lib/ansible/modules/cloud/amazon/aws_codepipeline.py index ff00fd9db7e..e76f9ae92ce 100644 --- a/lib/ansible/modules/cloud/amazon/aws_codepipeline.py +++ b/lib/ansible/modules/cloud/amazon/aws_codepipeline.py @@ -139,7 +139,7 @@ EXAMPLES = ''' RETURN = ''' pipeline: - description: Returns the dictionary desribing the code pipeline configuration. + description: Returns the dictionary describing the code pipeline configuration. returned: success type: complex contains: diff --git a/lib/ansible/modules/cloud/amazon/aws_direct_connect_link_aggregation_group.py b/lib/ansible/modules/cloud/amazon/aws_direct_connect_link_aggregation_group.py index 6b3bbdb76d2..8d1d449ee3f 100644 --- a/lib/ansible/modules/cloud/amazon/aws_direct_connect_link_aggregation_group.py +++ b/lib/ansible/modules/cloud/amazon/aws_direct_connect_link_aggregation_group.py @@ -36,7 +36,7 @@ options: - The ID of the Direct Connect link aggregation group. num_connections: description: - - The number of connections with which to intialize the link aggregation group. + - The number of connections with which to initialize the link aggregation group. min_links: description: - The minimum number of physical connections that must be operational for the LAG itself to be operational. @@ -353,7 +353,7 @@ def ensure_absent(client, lag_id, lag_name, force_delete, delete_with_disassocia latest_status = lag_status(client, lag_id) - # determinine the associated connections and virtual interfaces to disassociate + # determine the associated connections and virtual interfaces to disassociate virtual_interfaces, connections = get_connections_and_virtual_interfaces(client, lag_id) # If min_links is not 0, there are associated connections, or if there are virtual interfaces, ask for force_delete diff --git a/lib/ansible/modules/cloud/amazon/aws_direct_connect_virtual_interface.py b/lib/ansible/modules/cloud/amazon/aws_direct_connect_virtual_interface.py index e1628fb1237..d0f20bd35a5 100644 --- a/lib/ansible/modules/cloud/amazon/aws_direct_connect_virtual_interface.py +++ b/lib/ansible/modules/cloud/amazon/aws_direct_connect_virtual_interface.py @@ -25,7 +25,7 @@ options: choices: [present, absent] id_to_associate: description: - - The ID of the link aggrecation group or connection to associate with the virtual interface. + - The ID of the link aggregation group or connection to associate with the virtual interface. aliases: [link_aggregation_group_id, connection_id] public: description: diff --git a/lib/ansible/modules/cloud/amazon/aws_netapp_cvs_FileSystems.py b/lib/ansible/modules/cloud/amazon/aws_netapp_cvs_FileSystems.py index 5c655f4f31f..8007a572476 100644 --- a/lib/ansible/modules/cloud/amazon/aws_netapp_cvs_FileSystems.py +++ b/lib/ansible/modules/cloud/amazon/aws_netapp_cvs_FileSystems.py @@ -177,7 +177,7 @@ class AwsCvsNetappFileSystem(object): def __init__(self): """ Parse arguments, setup state variables, - check paramenters and ensure request module is installed + check parameters and ensure request module is installed """ self.argument_spec = netapp_utils.aws_cvs_host_argument_spec() self.argument_spec.update(dict( diff --git a/lib/ansible/modules/cloud/amazon/aws_netapp_cvs_snapshots.py b/lib/ansible/modules/cloud/amazon/aws_netapp_cvs_snapshots.py index 68cb17f5df2..edf60b242e4 100644 --- a/lib/ansible/modules/cloud/amazon/aws_netapp_cvs_snapshots.py +++ b/lib/ansible/modules/cloud/amazon/aws_netapp_cvs_snapshots.py @@ -112,7 +112,7 @@ class AwsCvsNetappSnapshot(object): def __init__(self): """ Parse arguments, setup state variables, - check paramenters and ensure request module is installed + check parameters and ensure request module is installed """ self.argument_spec = netapp_utils.aws_cvs_host_argument_spec() self.argument_spec.update(dict( @@ -145,7 +145,7 @@ class AwsCvsNetappSnapshot(object): def getSnapshotId(self, name): # Check if snapshot exists - # Return snpashot Id If Snapshot is found, None otherwise + # Return snapshot Id If Snapshot is found, None otherwise list_snapshots, error = self.restApi.get('Snapshots') if error: @@ -217,7 +217,7 @@ class AwsCvsNetappSnapshot(object): elif cd_action == "create": if 'from_name' in self.data: - # If cd_action is craete and from_name is given + # If cd_action is create and from_name is given snapshotId = self.getSnapshotId(self.data['from_name']) if snapshotId is not None: # If resource pointed by from_name exists, rename the snapshot to name diff --git a/lib/ansible/modules/cloud/amazon/aws_ses_identity_policy.py b/lib/ansible/modules/cloud/amazon/aws_ses_identity_policy.py index 3e5850a0b09..5b9d510a054 100644 --- a/lib/ansible/modules/cloud/amazon/aws_ses_identity_policy.py +++ b/lib/ansible/modules/cloud/amazon/aws_ses_identity_policy.py @@ -29,7 +29,7 @@ options: description: The name used to identify the policy within the scope of the identity it's attached to. required: true policy: - description: A properly formated JSON sending authorization policy. Required when I(state=present). + description: A properly formatted JSON sending authorization policy. Required when I(state=present). state: description: Whether to create(or update) or delete the authorization policy on the identity. default: present diff --git a/lib/ansible/modules/cloud/amazon/aws_waf_web_acl.py b/lib/ansible/modules/cloud/amazon/aws_waf_web_acl.py index f664a7760c7..7b38ac85c48 100644 --- a/lib/ansible/modules/cloud/amazon/aws_waf_web_acl.py +++ b/lib/ansible/modules/cloud/amazon/aws_waf_web_acl.py @@ -47,7 +47,7 @@ options: description: - A list of rules that the Web ACL will enforce. - Each rule must contain I(name), I(action), I(priority) keys. - - Priorities must be unique, but not necessarily consecutive. Lower numbered priorities are evalauted first. + - Priorities must be unique, but not necessarily consecutive. Lower numbered priorities are evaluated first. - The I(type) key can be passed as C(rate_based), it defaults to C(regular) purge_rules: description: diff --git a/lib/ansible/modules/cloud/amazon/cloudformation.py b/lib/ansible/modules/cloud/amazon/cloudformation.py index 923392c54ae..0ce9e0484b4 100644 --- a/lib/ansible/modules/cloud/amazon/cloudformation.py +++ b/lib/ansible/modules/cloud/amazon/cloudformation.py @@ -153,7 +153,7 @@ options: required: False capabilities: description: - - Specify capabilites that stack template contains. + - Specify capabilities that stack template contains. - Valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM and CAPABILITY_AUTO_EXPAND. type: list version_added: "2.8" diff --git a/lib/ansible/modules/cloud/amazon/cloudfront_invalidation.py b/lib/ansible/modules/cloud/amazon/cloudfront_invalidation.py index 4d292f39434..242f9934fde 100644 --- a/lib/ansible/modules/cloud/amazon/cloudfront_invalidation.py +++ b/lib/ansible/modules/cloud/amazon/cloudfront_invalidation.py @@ -30,7 +30,7 @@ extends_documentation_fragment: options: distribution_id: description: - - The id of the cloudfront distribution to invalidate paths for. Can be specified insted of the alias. + - The id of the cloudfront distribution to invalidate paths for. Can be specified instead of the alias. required: false alias: description: diff --git a/lib/ansible/modules/cloud/amazon/cloudfront_origin_access_identity.py b/lib/ansible/modules/cloud/amazon/cloudfront_origin_access_identity.py index 33f95e6a0f9..559e11ae3e4 100644 --- a/lib/ansible/modules/cloud/amazon/cloudfront_origin_access_identity.py +++ b/lib/ansible/modules/cloud/amazon/cloudfront_origin_access_identity.py @@ -101,7 +101,7 @@ cloud_front_origin_access_identity: returned: always type: str s3_canonical_user_id: - description: the cannonical user id of the user who created the oai + description: the canonical user id of the user who created the oai returned: always type: str e_tag: diff --git a/lib/ansible/modules/cloud/amazon/cloudwatchevent_rule.py b/lib/ansible/modules/cloud/amazon/cloudwatchevent_rule.py index b0371e54fc5..cff7a2ceb94 100644 --- a/lib/ansible/modules/cloud/amazon/cloudwatchevent_rule.py +++ b/lib/ansible/modules/cloud/amazon/cloudwatchevent_rule.py @@ -279,7 +279,7 @@ class CloudWatchEventRule(object): return targets_request def _snakify(self, dict): - """Converts cammel case to snake case""" + """Converts camel case to snake case""" return camel_dict_to_snake_dict(dict) diff --git a/lib/ansible/modules/cloud/amazon/dms_endpoint.py b/lib/ansible/modules/cloud/amazon/dms_endpoint.py index 328ff2cdb90..24d39441630 100644 --- a/lib/ansible/modules/cloud/amazon/dms_endpoint.py +++ b/lib/ansible/modules/cloud/amazon/dms_endpoint.py @@ -209,7 +209,7 @@ def get_endpoint_deleted_waiter(client): def endpoint_exists(endpoint): - """ Returns boolean based on the existance of the endpoint + """ Returns boolean based on the existence of the endpoint :param endpoint: dict containing the described endpoint :return: bool """ diff --git a/lib/ansible/modules/cloud/amazon/dms_replication_subnet_group.py b/lib/ansible/modules/cloud/amazon/dms_replication_subnet_group.py index 55b04cc0870..8e17917fe08 100644 --- a/lib/ansible/modules/cloud/amazon/dms_replication_subnet_group.py +++ b/lib/ansible/modules/cloud/amazon/dms_replication_subnet_group.py @@ -108,7 +108,7 @@ def get_dms_client(module, aws_connect_params, client_region, ec2_url): def replication_subnet_exists(subnet): - """ Returns boolean based on the existance of the endpoint + """ Returns boolean based on the existence of the endpoint :param endpoint: dict containing the described endpoint :return: bool """ @@ -140,7 +140,7 @@ def compare_params(module, param_described): """ modparams = create_module_params(module) changed = False - # need to sanitize values that get retured from the API + # need to sanitize values that get returned from the API if 'VpcId' in param_described.keys(): param_described.pop('VpcId') if 'SubnetGroupStatus' in param_described.keys(): diff --git a/lib/ansible/modules/cloud/amazon/ec2_asg.py b/lib/ansible/modules/cloud/amazon/ec2_asg.py index 58aed764065..9d55795fd0a 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_asg.py +++ b/lib/ansible/modules/cloud/amazon/ec2_asg.py @@ -1410,7 +1410,7 @@ def get_instances_by_launch_config(props, lc_check, initial_instances): def get_instances_by_launch_template(props, lt_check, initial_instances): new_instances = [] old_instances = [] - # old instances are those that have the old launch template or version of the same launch templatec + # old instances are those that have the old launch template or version of the same launch template if lt_check: for i in props['instances']: # Check if migrating from launch_config_name to launch_template_name first diff --git a/lib/ansible/modules/cloud/amazon/ec2_eip.py b/lib/ansible/modules/cloud/amazon/ec2_eip.py index f997bc2eee0..42aafe40546 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_eip.py +++ b/lib/ansible/modules/cloud/amazon/ec2_eip.py @@ -71,7 +71,7 @@ options: version_added: "2.5" tag_name: description: - - When reuse_existing_ip_allowed is true, suppplement with this option to only reuse + - When reuse_existing_ip_allowed is true, supplement with this option to only reuse an Elastic IP if it is tagged with tag_name. default: 'no' version_added: "2.9" diff --git a/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py b/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py index 6fcbadbee3e..0e7ed5456ea 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py +++ b/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py @@ -502,7 +502,7 @@ class ElbManager(object): self._set_cross_az_load_balancing() if self._check_attribute_support('access_log'): self._set_access_log() - # add sitcky options + # add sticky options self.select_stickiness_policy() # ensure backend server policies are correct diff --git a/lib/ansible/modules/cloud/amazon/ec2_eni_info.py b/lib/ansible/modules/cloud/amazon/ec2_eni_info.py index 8cb0a09b5c7..578a549bea5 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_eni_info.py +++ b/lib/ansible/modules/cloud/amazon/ec2_eni_info.py @@ -69,7 +69,7 @@ network_interfaces: public_ip: "52.1.0.63" } attachment: - description: Infor about attached ec2 instance + description: Info about attached ec2 instance returned: always, empty dict if ENI is not attached type: dict sample: { diff --git a/lib/ansible/modules/cloud/amazon/ec2_lc.py b/lib/ansible/modules/cloud/amazon/ec2_lc.py index f08a3beb30e..4833e2fba4c 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_lc.py +++ b/lib/ansible/modules/cloud/amazon/ec2_lc.py @@ -123,7 +123,7 @@ options: version_added: "2.4" placement_tenancy: description: - - Determines whether the instance runs on single-tenant harware or not. + - Determines whether the instance runs on single-tenant hardware or not. default: 'default' version_added: "2.4" diff --git a/lib/ansible/modules/cloud/amazon/ec2_metadata_facts.py b/lib/ansible/modules/cloud/amazon/ec2_metadata_facts.py index 70994088a8f..62bc4f210c6 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_metadata_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_metadata_facts.py @@ -507,7 +507,7 @@ class Ec2Metadata(object): for (key, value) in dict.items(): self._data['%s:%s' % (new_uri, key.lower())] = value except Exception: - self._data['%s' % (new_uri)] = content # not a stringifed JSON string + self._data['%s' % (new_uri)] = content # not a stringified JSON string def fix_invalid_varnames(self, data): """Change ':'' and '-' to '_' to ensure valid template variable names""" diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py index cee5e690193..2b38b0941b6 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py @@ -179,7 +179,7 @@ vpc_id: type: str sample: "vpc-12345" nat_gateway_addresses: - description: List of dictionairies containing the public_ip, network_interface_id, private_ip, and allocation_id. + description: List of dictionaries containing the public_ip, network_interface_id, private_ip, and allocation_id. returned: In all cases. type: str sample: [ diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py index 1d9a3e96c47..cc97d4a7f38 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py @@ -139,7 +139,7 @@ vpc: type: NoneType sample: null dhcp_options_id: - description: the id of the DHCP options assocaited with this VPC + description: the id of the DHCP options associated with this VPC returned: always type: str sample: dopt-0fb8bd6b diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_vgw.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_vgw.py index 0b8905188b7..7b4eb80012c 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_vgw.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_vgw.py @@ -494,7 +494,7 @@ def ensure_vgw_absent(client, module): else: # Check that a name and type argument has been supplied if no vgw-id if not module.params.get('name') or not module.params.get('type'): - module.fail_json(msg='A name and type is required when no vgw-id and a status of \'absent\' is suppled') + module.fail_json(msg='A name and type is required when no vgw-id and a status of \'absent\' is supplied') existing_vgw = find_vgw(client, module) if existing_vgw != [] and existing_vgw[0]['State'] != 'deleted': diff --git a/lib/ansible/modules/cloud/amazon/ecs_service.py b/lib/ansible/modules/cloud/amazon/ecs_service.py index 0cd23b992ec..f46d0f7a62c 100644 --- a/lib/ansible/modules/cloud/amazon/ecs_service.py +++ b/lib/ansible/modules/cloud/amazon/ecs_service.py @@ -134,16 +134,16 @@ options: version_added: 2.8 service_registries: description: - - describes service disovery registries this service will register with. + - describes service discovery registries this service will register with. required: false version_added: 2.8 suboptions: container_name: description: - - container name for service disovery registration + - container name for service discovery registration container_port: description: - - container port for service disovery registration + - container port for service discovery registration arn: description: - Service discovery registry ARN @@ -598,7 +598,7 @@ def main(): loadBalancer['containerPort'] = int(loadBalancer['containerPort']) if update: - # check various parameters and boto versions and give a helpful erro in boto is not new enough for feature + # check various parameters and boto versions and give a helpful error in boto is not new enough for feature if module.params['scheduling_strategy']: if not module.botocore_at_least('1.10.37'): diff --git a/lib/ansible/modules/cloud/amazon/ecs_task.py b/lib/ansible/modules/cloud/amazon/ecs_task.py index 2e80c0ad36f..94b9603e679 100644 --- a/lib/ansible/modules/cloud/amazon/ecs_task.py +++ b/lib/ansible/modules/cloud/amazon/ecs_task.py @@ -126,7 +126,7 @@ EXAMPLES = ''' ''' RETURN = ''' task: - description: details about the tast that was started + description: details about the task that was started returned: success type: complex contains: diff --git a/lib/ansible/modules/cloud/amazon/ecs_taskdefinition.py b/lib/ansible/modules/cloud/amazon/ecs_taskdefinition.py index a1a15fd69dd..4e3f4a1d5e0 100644 --- a/lib/ansible/modules/cloud/amazon/ecs_taskdefinition.py +++ b/lib/ansible/modules/cloud/amazon/ecs_taskdefinition.py @@ -372,7 +372,7 @@ def main(): existing_definitions_in_family = task_mgr.describe_task_definitions(module.params['family']) if 'revision' in module.params and module.params['revision']: - # The definition specifies revision. We must gurantee that an active revision of that number will result from this. + # The definition specifies revision. We must guarantee that an active revision of that number will result from this. revision = int(module.params['revision']) # A revision has been explicitly specified. Attempt to locate a matching revision @@ -381,7 +381,7 @@ def main(): if existing and existing['status'] != "ACTIVE": # We cannot reactivate an inactive revision - module.fail_json(msg="A task in family '%s' already exists for revsion %d, but it is inactive" % (family, revision)) + module.fail_json(msg="A task in family '%s' already exists for revision %d, but it is inactive" % (family, revision)) elif not existing: if not existing_definitions_in_family and revision != 1: module.fail_json(msg="You have specified a revision of %d but a created revision would be 1" % revision) diff --git a/lib/ansible/modules/cloud/amazon/efs.py b/lib/ansible/modules/cloud/amazon/efs.py index 38314dd82d9..f83bfbb9ea9 100644 --- a/lib/ansible/modules/cloud/amazon/efs.py +++ b/lib/ansible/modules/cloud/amazon/efs.py @@ -25,7 +25,7 @@ author: options: encrypt: description: - - A boolean value that, if true, creates an encrypted file system. This can not be modfied after the file + - A boolean value that, if true, creates an encrypted file system. This can not be modified after the file system is created. type: bool default: 'no' diff --git a/lib/ansible/modules/cloud/amazon/elasticache_info.py b/lib/ansible/modules/cloud/amazon/elasticache_info.py index 8d6db928761..fe5ee7c36f3 100644 --- a/lib/ansible/modules/cloud/amazon/elasticache_info.py +++ b/lib/ansible/modules/cloud/amazon/elasticache_info.py @@ -111,7 +111,7 @@ elasticache_clusters: type: str sample: in-sync cache_parameter_group: - description: Contents of the Cache Parameter GGroup + description: Contents of the Cache Parameter Group returned: always type: complex contains: diff --git a/lib/ansible/modules/cloud/amazon/elb_classic_lb.py b/lib/ansible/modules/cloud/amazon/elb_classic_lb.py index fe952509c70..cda01144403 100644 --- a/lib/ansible/modules/cloud/amazon/elb_classic_lb.py +++ b/lib/ansible/modules/cloud/amazon/elb_classic_lb.py @@ -486,7 +486,7 @@ class ElbManager(object): self._set_cross_az_load_balancing() if self._check_attribute_support('access_log'): self._set_access_log() - # add sitcky options + # add sticky options self.select_stickiness_policy() # ensure backend server policies are correct diff --git a/lib/ansible/modules/cloud/amazon/elb_target_info.py b/lib/ansible/modules/cloud/amazon/elb_target_info.py index ac185c24448..b43e6bd30e6 100644 --- a/lib/ansible/modules/cloud/amazon/elb_target_info.py +++ b/lib/ansible/modules/cloud/amazon/elb_target_info.py @@ -159,7 +159,7 @@ instance_target_groups: type: complex contains: target_id: - description: the target ID referiing to this instance + description: the target ID referring to this instance type: str returned: always sample: diff --git a/lib/ansible/modules/cloud/amazon/iam.py b/lib/ansible/modules/cloud/amazon/iam.py index 33ae9848549..a96f8ca1113 100644 --- a/lib/ansible/modules/cloud/amazon/iam.py +++ b/lib/ansible/modules/cloud/amazon/iam.py @@ -265,9 +265,9 @@ def delete_dependencies_first(module, iam, name): except boto.exception.BotoServerError as err: error_msg = boto_exception(err) if 'must detach all policies first' in error_msg: - module.fail_json(changed=changed, msg="All inline polices have been removed. Though it appears" + module.fail_json(changed=changed, msg="All inline policies have been removed. Though it appears" "that %s has Managed Polices. This is not " - "currently supported by boto. Please detach the polices " + "currently supported by boto. Please detach the policies " "through the console and try again." % name) module.fail_json(changed=changed, msg="Failed to delete policies: %s" % err, exception=traceback.format_exc()) @@ -494,9 +494,9 @@ def delete_group(module=None, iam=None, name=None): except boto.exception.BotoServerError as err: error_msg = boto_exception(err) if ('must delete policies first') in error_msg: - module.fail_json(changed=changed, msg="All inline polices have been removed. Though it appears" + module.fail_json(changed=changed, msg="All inline policies have been removed. Though it appears" "that %s has Managed Polices. This is not " - "currently supported by boto. Please detach the polices " + "currently supported by boto. Please detach the policies " "through the console and try again." % name) else: module.fail_json(changed=changed, msg=str(error_msg)) @@ -578,9 +578,9 @@ def delete_role(module, iam, name, role_list, prof_list): except boto.exception.BotoServerError as err: error_msg = boto_exception(err) if ('must detach all policies first') in error_msg: - module.fail_json(changed=changed, msg="All inline polices have been removed. Though it appears" + module.fail_json(changed=changed, msg="All inline policies have been removed. Though it appears" "that %s has Managed Polices. This is not " - "currently supported by boto. Please detach the polices " + "currently supported by boto. Please detach the policies " "through the console and try again." % name) else: module.fail_json(changed=changed, msg=str(err)) diff --git a/lib/ansible/modules/cloud/amazon/rds.py b/lib/ansible/modules/cloud/amazon/rds.py index 91822f6ad24..aa29a27ca80 100644 --- a/lib/ansible/modules/cloud/amazon/rds.py +++ b/lib/ansible/modules/cloud/amazon/rds.py @@ -447,7 +447,7 @@ instance: type: complex contains: name: - description: avaialbility zone + description: availability zone returned: when RDS instance exists type: string sample: "eu-west-1b" diff --git a/lib/ansible/modules/cloud/amazon/rds_snapshot_info.py b/lib/ansible/modules/cloud/amazon/rds_snapshot_info.py index 871e2b84efd..08e2db5d2e1 100644 --- a/lib/ansible/modules/cloud/amazon/rds_snapshot_info.py +++ b/lib/ansible/modules/cloud/amazon/rds_snapshot_info.py @@ -142,7 +142,7 @@ snapshots: type: str sample: default:postgres-9-5 percent_progress: - description: Perecent progress of snapshot + description: Percent progress of snapshot returned: always type: int sample: 100 @@ -244,7 +244,7 @@ cluster_snapshots: type: str sample: shertel percent_progress: - description: Perecent progress of snapshot + description: Percent progress of snapshot returned: always type: int sample: 0 diff --git a/lib/ansible/modules/cloud/amazon/redshift.py b/lib/ansible/modules/cloud/amazon/redshift.py index 94b63435bef..34adf2131cb 100644 --- a/lib/ansible/modules/cloud/amazon/redshift.py +++ b/lib/ansible/modules/cloud/amazon/redshift.py @@ -96,7 +96,7 @@ options: aliases: ['retention_period'] port: description: - - which port the cluster is listining + - which port the cluster is listening cluster_version: description: - which version the cluster should have @@ -172,7 +172,7 @@ cluster: type: float sample: 1430158536.308 status: - description: Stutus of the cluster. + description: Status of the cluster. returned: success type: str sample: "available" @@ -226,7 +226,7 @@ from ansible.module_utils.aws.core import AnsibleAWSModule, is_boto3_error_code def _collect_facts(resource): - """Transfrom cluster information to dict.""" + """Transform cluster information to dict.""" facts = { 'identifier': resource['ClusterIdentifier'], 'status': resource['ClusterStatus'], @@ -516,7 +516,7 @@ def main(): final_cluster_snapshot_identifier = module.params.get('final_cluster_snapshot_identifier') # can't use module basic required_if check for this case if command == 'delete' and skip_final_cluster_snapshot is False and final_cluster_snapshot_identifier is None: - module.fail_json(msg="Need to specifiy final_cluster_snapshot_identifier if skip_final_cluster_snapshot is False") + module.fail_json(msg="Need to specify final_cluster_snapshot_identifier if skip_final_cluster_snapshot is False") conn = module.client('redshift') diff --git a/lib/ansible/modules/cloud/amazon/s3_sync.py b/lib/ansible/modules/cloud/amazon/s3_sync.py index 30dacfe6112..86befbe2381 100644 --- a/lib/ansible/modules/cloud/amazon/s3_sync.py +++ b/lib/ansible/modules/cloud/amazon/s3_sync.py @@ -85,7 +85,7 @@ options: description: - This is a string. - Cache-Control header set on uploaded objects. - - Directives are separated by commmas. + - Directives are separated by commas. required: false version_added: "2.4" delete: @@ -130,7 +130,7 @@ EXAMPLES = ''' RETURN = ''' filelist_initial: - description: file listing (dicts) from inital globbing + description: file listing (dicts) from initial globbing returned: always type: list sample: [{ diff --git a/lib/ansible/modules/cloud/azure/azure_rm_aks.py b/lib/ansible/modules/cloud/azure/azure_rm_aks.py index 328c38a9b7a..ef49340052e 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_aks.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_aks.py @@ -195,7 +195,7 @@ options: type: bool subnet_resource_id: description: - - Subnet associdated to the cluster. + - Subnet associated to the cluster. version_added: "2.8" extends_documentation_fragment: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_applicationsecuritygroup_info.py b/lib/ansible/modules/cloud/azure/azure_rm_applicationsecuritygroup_info.py index 97b1e6e6345..dc993501010 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_applicationsecuritygroup_info.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_applicationsecuritygroup_info.py @@ -71,7 +71,7 @@ applicationsecuritygroups: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationSecurityGroups/MyAsg" location: description: - - Loation of the application security group. + - Location of the application security group. type: str returned: always sample: eastus diff --git a/lib/ansible/modules/cloud/azure/azure_rm_autoscale.py b/lib/ansible/modules/cloud/azure/azure_rm_autoscale.py index 5064571c05d..f9a59bd6d0a 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_autoscale.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_autoscale.py @@ -242,7 +242,7 @@ EXAMPLES = ''' name: scale resource_group: myResourceGroup -- name: Create an auto scale with compicated profile +- name: Create an auto scale with complicated profile azure_rm_autoscale: target: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets /myVmss" diff --git a/lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint.py b/lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint.py index 28c7fbe5153..a2db425d613 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint.py @@ -371,7 +371,7 @@ class AzureRMCdnendpoint(AzureRMModuleBase): if not response: if self.started is None: - # If endpoint dosen't exist and no start/stop operation specified, create endpoint. + # If endpoint doesn't exist and no start/stop operation specified, create endpoint. if self.origins is None: self.fail("Origins is not provided when trying to create endpoint") self.log("Need to create the Azure CDN endpoint") diff --git a/lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint_info.py b/lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint_info.py index de2d869fabc..bd1527c1cec 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint_info.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint_info.py @@ -155,7 +155,7 @@ cdnendpoints: sample: xxxxxxxx.blob.core.windows.net origin_path: description: - - A directory path on the origin that CDN can use to retreive content from. + - A directory path on the origin that CDN can use to retrieve content from. type: str sample: /pic/ tags: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py b/lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py index 43ded0a99bc..8ae6f8be939 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py @@ -142,7 +142,7 @@ credentials: sample: pass2value tags: description: - - Tags assigned to the resource. Dictionary of string:string parirs. + - Tags assigned to the resource. Dictionary of string:string pairs. returned: always type: dict ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_cosmosdbaccount.py b/lib/ansible/modules/cloud/azure/azure_rm_cosmosdbaccount.py index dbc1b961dfd..a6bb1998a8a 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_cosmosdbaccount.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_cosmosdbaccount.py @@ -441,7 +441,7 @@ class AzureRMCosmosDBAccount(AzureRMModuleBase): response = self.mgmt_client.database_accounts.delete(resource_group_name=self.resource_group, account_name=self.name) - # This currently doesnt' work as there is a bug in SDK / Service + # This currently doesn't work as there is a bug in SDK / Service # if isinstance(response, LROPoller) or isinstance(response, AzureOperationPoller): # response = self.get_poller_result(response) except CloudError as e: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_deployment.py b/lib/ansible/modules/cloud/azure/azure_rm_deployment.py index f7eb82e1589..93f4103d4c1 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_deployment.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_deployment.py @@ -327,8 +327,7 @@ deployment: - The Azure ID of the deployment. type: str returned: always - sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/myD - eployment" + sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/myDeployment" instances: description: - Provides the public IP addresses for each VM instance. diff --git a/lib/ansible/modules/cloud/azure/azure_rm_deployment_info.py b/lib/ansible/modules/cloud/azure/azure_rm_deployment_info.py index 9b6ac714a72..4c133e6dbe2 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_deployment_info.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_deployment_info.py @@ -57,8 +57,7 @@ deployments: - The identifier of the resource. returned: always type: str - sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/myD - eployment" + sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Resources/deployments/myDeployment" resource_group: description: - Resource group name. diff --git a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabenvironment.py b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabenvironment.py index a575a4b3f17..be47f354c30 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabenvironment.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabenvironment.py @@ -242,7 +242,7 @@ class AzureRMDtlEnvironment(AzureRMModuleBase): return self.results self.delete_environment() - # This currently doesnt' work as there is a bug in SDK / Service + # This currently doesn't work as there is a bug in SDK / Service if isinstance(response, LROPoller) or isinstance(response, AzureOperationPoller): response = self.get_poller_result(response) else: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabschedule.py b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabschedule.py index c7290f865a9..983e03675b3 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabschedule.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabschedule.py @@ -214,7 +214,7 @@ class AzureRMSchedule(AzureRMModuleBase): return self.results self.delete_schedule() - # This currently doesnt' work as there is a bug in SDK / Service + # This currently doesn't work as there is a bug in SDK / Service if isinstance(response, LROPoller) or isinstance(response, AzureOperationPoller): response = self.get_poller_result(response) else: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork.py b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork.py index 837e2efcf67..5a2b1ef3248 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork.py @@ -208,7 +208,7 @@ class AzureRMDevTestLabVirtualNetwork(AzureRMModuleBase): if self.check_mode: return self.results self.delete_virtualnetwork() - # This currently doesnt' work as there is a bug in SDK / Service + # This currently doesn't work as there is a bug in SDK / Service if isinstance(response, LROPoller) or isinstance(response, AzureOperationPoller): response = self.get_poller_result(response) else: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_galleryimage.py b/lib/ansible/modules/cloud/azure/azure_rm_galleryimage.py index 6261268fde2..539a4f46d33 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_galleryimage.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_galleryimage.py @@ -142,7 +142,7 @@ options: type: int disallowed: description: - - Disalloved parameter values. + - Disallowed parameter values. type: dict suboptions: disk_types: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_iothub.py b/lib/ansible/modules/cloud/azure/azure_rm_iothub.py index 1321c235040..56684afff84 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_iothub.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_iothub.py @@ -139,7 +139,7 @@ options: connection_string: description: - Connection string of the custom endpoint. - - The connection string should have send priviledge. + - The connection string should have send privilege. type: str required: yes container: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_keyvaultkey_info.py b/lib/ansible/modules/cloud/azure/azure_rm_keyvaultkey_info.py index 0e7e7e80ee5..334c39bdafd 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_keyvaultkey_info.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_keyvaultkey_info.py @@ -387,7 +387,7 @@ class AzureRMKeyVaultKeyInfo(AzureRMModuleBase): ''' Lists keys in specific key vault. - :return: deserialized keys, incldues key identifier, attributes and tags. + :return: deserialized keys, includes key identifier, attributes and tags. ''' self.log("Get the key vaults in current subscription") @@ -429,7 +429,7 @@ class AzureRMKeyVaultKeyInfo(AzureRMModuleBase): ''' Lists deleted keys in specific key vault. - :return: deserialized keys, incldues key identifier, attributes and tags. + :return: deserialized keys, includes key identifier, attributes and tags. ''' self.log("Get the key vaults in current subscription") diff --git a/lib/ansible/modules/cloud/azure/azure_rm_lock.py b/lib/ansible/modules/cloud/azure/azure_rm_lock.py index 932a1649f77..88cc5bf3aff 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_lock.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_lock.py @@ -31,7 +31,7 @@ options: managed_resource_id: description: - Manage a lock for the specified resource ID. - - Mututally exclusive with I(resource_group). + - Mutually exclusive with I(resource_group). - If neither I(managed_resource_id) or I(resource_group) are specified, manage a lock for the current subscription. - "'/subscriptions/{subscriptionId}' for subscriptions." - "'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups." diff --git a/lib/ansible/modules/cloud/azure/azure_rm_lock_info.py b/lib/ansible/modules/cloud/azure/azure_rm_lock_info.py index cf8c1d1c2d9..d0761d2175f 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_lock_info.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_lock_info.py @@ -30,7 +30,7 @@ options: description: - ID of the resource where need to manage the lock. - Get this via facts module. - - Cannot be set mutal with I(resource_group). + - Cannot be set mutual with I(resource_group). - Manage subscription if both I(managed_resource_id) and I(resource_group) not defined. - "'/subscriptions/{subscriptionId}' for subscriptions." - "'/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups." @@ -41,7 +41,7 @@ options: description: - Resource group name where need to manage the lock. - The lock is in the resource group level. - - Cannot be set mutal with I(managed_resource_id). + - Cannot be set mutual with I(managed_resource_id). - Query subscription if both I(managed_resource_id) and I(resource_group) not defined. - Can get all locks with 'child scope' in this resource group, use the I(managed_resource_id) in response for further management. type: str diff --git a/lib/ansible/modules/cloud/azure/azure_rm_resource_info.py b/lib/ansible/modules/cloud/azure/azure_rm_resource_info.py index 44c6f2108df..354cd795783 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_resource_info.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_resource_info.py @@ -164,7 +164,7 @@ response: allowExtensionOperations: description: - Specifies whether extension operations should be allowed on the virtual machine. - - This may only be set to False when no extentions are present on the virtual machine. + - This may only be set to False when no extensions are present on the virtual machine. type: bool returned: always sample: true @@ -176,7 +176,7 @@ response: sample: myVM requireGuestProvisionSignale: description: - - Specifies the host require guest provision siganl or not. + - Specifies the host require guest provision signal or not. type: bool returned: always sample: true @@ -188,7 +188,7 @@ response: sample: [] linuxConfiguration: description: - - Specifies the Linux operatiing system settings on the virtual machine. + - Specifies the Linux operating system settings on the virtual machine. type: dict returned: when OS type is Linux sample: { @@ -203,14 +203,14 @@ response: sample: Succeeded vmID: description: - - Specifies the VM unique ID whic is a 128-bits identifier that is encoded and stored in all Azure laaS VMs SMBIOS. + - Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure laaS VMs SMBIOS. - It can be read using platform BIOS commands. type: str returned: always sample: "eb86d9bb-6725-4787-a487-2e497d5b340c" storageProfile: description: - - Specifies the storae account type for the managed disk. + - Specifies the storage account type for the managed disk. type: complex returned: always contains: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_roledefinition.py b/lib/ansible/modules/cloud/azure/azure_rm_roledefinition.py index 719d04d8675..30308eedc5c 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_roledefinition.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_roledefinition.py @@ -28,7 +28,7 @@ options: required: True permissions: description: - - Set of role definition peremissions. + - Set of role definition permissions. - See U(https://docs.microsoft.com/en-us/azure/app-service/app-service-web-overview) for more info. suboptions: actions: @@ -250,7 +250,7 @@ class AzureRMRoleDefinition(AzureRMModuleBase): elif self.state == 'absent': if old_response: - self.log("Delete role defintion") + self.log("Delete role definition") self.results['changed'] = True if self.check_mode: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_roledefinition_info.py b/lib/ansible/modules/cloud/azure/azure_rm_roledefinition_info.py index e8877325383..c8fe8781f15 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_roledefinition_info.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_roledefinition_info.py @@ -24,7 +24,7 @@ description: options: scope: description: - - The scope of role defintion. + - The scope of role definition. required: True id: description: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_securitygroup.py b/lib/ansible/modules/cloud/azure/azure_rm_securitygroup.py index 3fecdd96f03..a399d6a2944 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_securitygroup.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_securitygroup.py @@ -329,7 +329,7 @@ state: sample: "westus" name: description: - - Name of the secrurity group. + - Name of the security group. returned: always type: str sample: "mysecgroup" diff --git a/lib/ansible/modules/cloud/azure/azure_rm_servicebus_info.py b/lib/ansible/modules/cloud/azure/azure_rm_servicebus_info.py index 672edfc14a3..7e91e402442 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_servicebus_info.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_servicebus_info.py @@ -196,7 +196,7 @@ servicebuses: sample: 1 count_details: description: - - Message count deatils. + - Message count details. returned: always type: complex contains: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py index 3edd3fbe9a1..61468a84c43 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py @@ -527,7 +527,7 @@ EXAMPLES = ''' image: id: '{{image_id}}' -- name: Create VM with spcified OS disk size +- name: Create VM with specified OS disk size azure_rm_virtualmachine: resource_group: myResourceGroup name: big-os-disk @@ -1884,7 +1884,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase): return True def delete_vm_storage(self, vhd_uris): - # FUTURE: figure out a cloud_env indepdendent way to delete these + # FUTURE: figure out a cloud_env independent way to delete these for uri in vhd_uris: self.log("Extracting info from blob uri '{0}'".format(uri)) try: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_webappslot.py b/lib/ansible/modules/cloud/azure/azure_rm_webappslot.py index 544075ac9ca..ddba710b9d7 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_webappslot.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_webappslot.py @@ -697,7 +697,7 @@ class AzureRMWebAppSlots(AzureRMModuleBase): return True return False - # comparing deployment source with input, determine wheather it's changed + # comparing deployment source with input, determine whether it's changed def is_deployment_source_changed(self, existing_webapp): if self.deployment_source: if self.deployment_source.get('url') \ diff --git a/lib/ansible/modules/cloud/centurylink/clc_blueprint_package.py b/lib/ansible/modules/cloud/centurylink/clc_blueprint_package.py index dba425faf7b..dfb7ee36b60 100644 --- a/lib/ansible/modules/cloud/centurylink/clc_blueprint_package.py +++ b/lib/ansible/modules/cloud/centurylink/clc_blueprint_package.py @@ -34,7 +34,7 @@ options: required: False state: description: - - Whether to install or un-install the package. Currently it supports only "present" for install action. + - Whether to install or uninstall the package. Currently it supports only "present" for install action. required: False default: present choices: ['present'] diff --git a/lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py b/lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py index bec4663bfcc..b64a98bf690 100644 --- a/lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py +++ b/lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py @@ -16,7 +16,7 @@ DOCUMENTATION = ''' module: clc_firewall_policy short_description: Create/delete/update firewall policies description: - - Create or delete or update firewall polices on Centurylink Cloud + - Create or delete or update firewall policies on Centurylink Cloud version_added: "2.0" options: location: diff --git a/lib/ansible/modules/cloud/centurylink/clc_server.py b/lib/ansible/modules/cloud/centurylink/clc_server.py index 4a307d7ec6e..bb70434e003 100644 --- a/lib/ansible/modules/cloud/centurylink/clc_server.py +++ b/lib/ansible/modules/cloud/centurylink/clc_server.py @@ -49,7 +49,7 @@ options: default: 1 count_group: description: - - Required when exact_count is specified. The Server Group use to determine how many severs to deploy. + - Required when exact_count is specified. The Server Group use to determine how many servers to deploy. cpu: description: - How many CPUs to provision on the server diff --git a/lib/ansible/modules/cloud/cloudscale/cloudscale_server.py b/lib/ansible/modules/cloud/cloudscale/cloudscale_server.py index f9ce8dc2ce7..bf3429b3a4d 100644 --- a/lib/ansible/modules/cloud/cloudscale/cloudscale_server.py +++ b/lib/ansible/modules/cloud/cloudscale/cloudscale_server.py @@ -21,7 +21,7 @@ short_description: Manages servers on the cloudscale.ch IaaS service description: - Create, update, start, stop and delete servers on the cloudscale.ch IaaS service. notes: - - Since version 2.8, I(uuid) and I(name) or not mututally exclusive anymore. + - Since version 2.8, I(uuid) and I(name) or not mutually exclusive anymore. - If I(uuid) option is provided, it takes precedence over I(name) for server selection. This allows to update the server's name. - If no I(uuid) option is provided, I(name) is used for server selection. If more than one server with this name exists, execution is aborted. - Only the I(name) and I(flavor) are evaluated for the update. diff --git a/lib/ansible/modules/cloud/cloudscale/cloudscale_volume.py b/lib/ansible/modules/cloud/cloudscale/cloudscale_volume.py index 12d249a04e6..37b3c1c6d5a 100644 --- a/lib/ansible/modules/cloud/cloudscale/cloudscale_volume.py +++ b/lib/ansible/modules/cloud/cloudscale/cloudscale_volume.py @@ -65,7 +65,7 @@ options: type: list tags: description: - - Tags assosiated with the volume. Set this to C({}) to clear any tags. + - Tags associated with the volume. Set this to C({}) to clear any tags. type: dict version_added: '2.9' extends_documentation_fragment: cloudscale @@ -149,7 +149,7 @@ state: type: str sample: present tags: - description: Tags assosiated with the volume. + description: Tags associated with the volume. returned: state == present type: dict sample: { 'project': 'my project' } @@ -183,7 +183,7 @@ class AnsibleCloudscaleVolume(AnsibleCloudscaleBase): if self._module.params.get('uuid'): self._module.fail_json(msg="The volume with UUID '%s' was not found " "and we would create a new one with different UUID, " - "this is probaly not want you have asked for." % self._module.params.get('uuid')) + "this is probably not want you have asked for." % self._module.params.get('uuid')) self._result['changed'] = True data = { diff --git a/lib/ansible/modules/cloud/cloudstack/_cs_zone_facts.py b/lib/ansible/modules/cloud/cloudstack/_cs_zone_facts.py index d0663b586ab..c7a6cccd9c2 100644 --- a/lib/ansible/modules/cloud/cloudstack/_cs_zone_facts.py +++ b/lib/ansible/modules/cloud/cloudstack/_cs_zone_facts.py @@ -15,7 +15,7 @@ module: cs_zone_facts short_description: Gathering facts of zones from Apache CloudStack based clouds. description: - Gathering facts from the API of a zone. - - Sets Ansible facts accessable by the key C(cloudstack_zone) and since version 2.6 also returns results. + - Sets Ansible facts accessible by the key C(cloudstack_zone) and since version 2.6 also returns results. deprecated: removed_in: "2.13" why: Transformed into an info module. diff --git a/lib/ansible/modules/cloud/cloudstack/cs_instance.py b/lib/ansible/modules/cloud/cloudstack/cs_instance.py index 869fea4da32..468549e698f 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_instance.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_instance.py @@ -922,7 +922,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack): def stop_instance(self): instance = self.get_instance() - # in check mode instance may not be instanciated + # in check mode instance may not be instantiated if instance: if instance['state'].lower() in ['stopping', 'stopped']: return instance @@ -939,7 +939,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack): def start_instance(self): instance = self.get_instance() - # in check mode instance may not be instanciated + # in check mode instance may not be instantiated if instance: if instance['state'].lower() in ['starting', 'running']: return instance @@ -960,7 +960,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack): def restart_instance(self): instance = self.get_instance() - # in check mode instance may not be instanciated + # in check mode instance may not be instantiated if instance: if instance['state'].lower() in ['running', 'starting']: self.result['changed'] = True @@ -978,7 +978,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack): def restore_instance(self): instance = self.get_instance() self.result['changed'] = True - # in check mode instance may not be instanciated + # in check mode instance may not be instantiated if instance: args = {} args['templateid'] = self.get_template_or_iso(key='id') diff --git a/lib/ansible/modules/cloud/cloudstack/cs_ip_address.py b/lib/ansible/modules/cloud/cloudstack/cs_ip_address.py index d0a27f8dd24..ff41ea5eed9 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_ip_address.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_ip_address.py @@ -67,7 +67,7 @@ options: description: - List of tags. Tags are a list of dictionaries having keys I(key) and I(value). - Tags can be used as an unique identifier for the IP Addresses. - - In this case, at least one of them must be unique to ensure idempontency. + - In this case, at least one of them must be unique to ensure idempotency. type: list aliases: [ tag ] version_added: '2.6' @@ -80,7 +80,7 @@ extends_documentation_fragment: cloudstack ''' EXAMPLES = ''' -- name: Associate an IP address conditonally +- name: Associate an IP address conditionally cs_ip_address: network: My Network register: ip_address diff --git a/lib/ansible/modules/cloud/cloudstack/cs_network.py b/lib/ansible/modules/cloud/cloudstack/cs_network.py index 42ea6020e9f..b1d4a0ed357 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_network.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_network.py @@ -189,7 +189,7 @@ EXAMPLES = ''' cs_network: name: my network clean_up: yes - state: restared + state: restarted delegate_to: localhost - name: Remove a network diff --git a/lib/ansible/modules/cloud/cloudstack/cs_network_offering.py b/lib/ansible/modules/cloud/cloudstack/cs_network_offering.py index e43435561a3..d6f70a19327 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_network_offering.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_network_offering.py @@ -104,7 +104,7 @@ options: aliases: [ service_provider ] specify_ip_ranges: description: - - Wheter the network offering supports specifying IP ranges. + - Whether the network offering supports specifying IP ranges. - Defaulted to C(no) by the API if not specified. type: bool specify_vlan: @@ -178,7 +178,7 @@ service_offering_id: type: str sample: c5f7a5fc-43f8-11e5-a151-feff819cdc9f max_connections: - description: The maximum number of concurrents connections to be handled by LB. + description: The maximum number of concurrent connections to be handled by LB. returned: success type: int sample: 300 diff --git a/lib/ansible/modules/cloud/cloudstack/cs_sshkeypair.py b/lib/ansible/modules/cloud/cloudstack/cs_sshkeypair.py index 183dc57d8d0..4b7547b2f58 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_sshkeypair.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_sshkeypair.py @@ -152,7 +152,7 @@ class AnsibleCloudStackSshKey(AnsibleCloudStack): # delete the ssh key with matching fingerprint but wrong name args['name'] = ssh_key['name'] self.query_api('deleteSSHKeyPair', **args) - # First match for key retrievment will be the fingerprint. + # First match for key retrievement will be the fingerprint. # We need to make another lookup if there is a key with identical name. self.ssh_key = None ssh_key = self.get_ssh_key() diff --git a/lib/ansible/modules/cloud/cloudstack/cs_storage_pool.py b/lib/ansible/modules/cloud/cloudstack/cs_storage_pool.py index 82258b6eb76..9b59c94f7ba 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_storage_pool.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_storage_pool.py @@ -217,7 +217,7 @@ suitable_for_migration: type: bool sample: false storage_capabilities: - description: Capabilities of the torage pool. + description: Capabilities of the storage pool. returned: success type: dict sample: {"VOLUME_SNAPSHOT_QUIESCEVM": "false"} diff --git a/lib/ansible/modules/cloud/cloudstack/cs_vpc.py b/lib/ansible/modules/cloud/cloudstack/cs_vpc.py index 9eccfdd5d53..b36575efca6 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_vpc.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_vpc.py @@ -267,7 +267,7 @@ class AnsibleCloudStackVpc(AnsibleCloudStack): vpc_name = self.module.params.get('name') for v in vpcs: if vpc_name in [v['name'], v['displaytext'], v['id']]: - # Fail if the identifyer matches more than one VPC + # Fail if the identifier matches more than one VPC if self.vpc: self.module.fail_json(msg="More than one VPC found with the provided identifyer: %s" % vpc_name) else: diff --git a/lib/ansible/modules/cloud/digital_ocean/digital_ocean_image_info.py b/lib/ansible/modules/cloud/digital_ocean/digital_ocean_image_info.py index 4f3ecc0e88c..fab09195ba7 100644 --- a/lib/ansible/modules/cloud/digital_ocean/digital_ocean_image_info.py +++ b/lib/ansible/modules/cloud/digital_ocean/digital_ocean_image_info.py @@ -28,7 +28,7 @@ version_added: "2.6" options: image_type: description: - - Specifies the type of image information to be retrived. + - Specifies the type of image information to be retrieved. - If set to C(application), then information are gathered related to all application images. - If set to C(distribution), then information are gathered related to all distribution images. - If set to C(private), then information are gathered related to all private images. diff --git a/lib/ansible/modules/cloud/dimensiondata/dimensiondata_vlan.py b/lib/ansible/modules/cloud/dimensiondata/dimensiondata_vlan.py index 12b6e057065..e5a1b027680 100644 --- a/lib/ansible/modules/cloud/dimensiondata/dimensiondata_vlan.py +++ b/lib/ansible/modules/cloud/dimensiondata/dimensiondata_vlan.py @@ -67,7 +67,7 @@ options: default: present allow_expand: description: - - Permit expansion of the target VLAN's network if the module parameters specify a larger network than the VLAN currently posesses? + - Permit expansion of the target VLAN's network if the module parameters specify a larger network than the VLAN currently possesses. - If C(False), the module will fail under these conditions. - This is intended to prevent accidental expansion of a VLAN's network (since this operation is not reversible). type: bool diff --git a/lib/ansible/modules/cloud/docker/docker_container.py b/lib/ansible/modules/cloud/docker/docker_container.py index 4e150e11062..6574b9f09d1 100644 --- a/lib/ansible/modules/cloud/docker/docker_container.py +++ b/lib/ansible/modules/cloud/docker/docker_container.py @@ -476,7 +476,7 @@ options: - For examples of the data structure and usage see EXAMPLES below. - To remove a container from one or more networks, use the C(purge_networks) option. - Note that as opposed to C(docker run ...), M(docker_container) does not remove the default - network if C(networks) is specified. You need to explicity use C(purge_networks) to enforce + network if C(networks) is specified. You need to explicitly use C(purge_networks) to enforce the removal of the default network (and all other networks not explicitly mentioned in C(networks)). type: list suboptions: diff --git a/lib/ansible/modules/cloud/google/_gcdns_record.py b/lib/ansible/modules/cloud/google/_gcdns_record.py index 2856d1e3132..e6e2d7049c8 100644 --- a/lib/ansible/modules/cloud/google/_gcdns_record.py +++ b/lib/ansible/modules/cloud/google/_gcdns_record.py @@ -425,7 +425,7 @@ def create_record(module, gcdns, zone, record): except LibcloudError: # We deleted the old record, couldn't create the new record, and # couldn't roll back. That really sucks. We'll dump the original - # record to the failure output so the user can resore it if + # record to the failure output so the user can restore it if # necessary. module.fail_json( msg='error updating record, and could not restore original record, ' + diff --git a/lib/ansible/modules/cloud/google/_gcp_target_proxy.py b/lib/ansible/modules/cloud/google/_gcp_target_proxy.py index 67c497c947b..57078a8fe1d 100644 --- a/lib/ansible/modules/cloud/google/_gcp_target_proxy.py +++ b/lib/ansible/modules/cloud/google/_gcp_target_proxy.py @@ -125,7 +125,7 @@ def get_target_http_proxy(client, name, project_id=None): """ Get a Target HTTP Proxy from GCP. - :param client: An initialized GCE Compute Disovery resource. + :param client: An initialized GCE Compute Discovery resource. :type client: :class: `googleapiclient.discovery.Resource` :param name: Name of the Target Proxy. @@ -146,7 +146,7 @@ def create_target_http_proxy(client, params, project_id): """ Create a new Target_Proxy. - :param client: An initialized GCE Compute Disovery resource. + :param client: An initialized GCE Compute Discovery resource. :type client: :class: `googleapiclient.discovery.Resource` :param params: Dictionary of arguments from AnsibleModule. @@ -200,7 +200,7 @@ def update_target_http_proxy(client, target_proxy, params, name, project_id): If the target_proxy has not changed, the update will not occur. - :param client: An initialized GCE Compute Disovery resource. + :param client: An initialized GCE Compute Discovery resource. :type client: :class: `googleapiclient.discovery.Resource` :param target_proxy: Name of the Target Proxy. diff --git a/lib/ansible/modules/cloud/google/_gcp_url_map.py b/lib/ansible/modules/cloud/google/_gcp_url_map.py index 7e90cae66a9..34bfcf583c5 100644 --- a/lib/ansible/modules/cloud/google/_gcp_url_map.py +++ b/lib/ansible/modules/cloud/google/_gcp_url_map.py @@ -15,9 +15,9 @@ DOCUMENTATION = ''' --- module: gcp_url_map version_added: "2.4" -short_description: Create, Update or Destory a Url_Map. +short_description: Create, Update or Destroy a Url_Map. description: - - Create, Update or Destory a Url_Map. See + - Create, Update or Destroy a Url_Map. See U(https://cloud.google.com/compute/docs/load-balancing/http/url-map) for an overview. More details on the Url_Map API can be found at U(https://cloud.google.com/compute/docs/reference/latest/urlMaps#resource). @@ -330,7 +330,7 @@ def get_url_map(client, name, project_id=None): """ Get a Url_Map from GCP. - :param client: An initialized GCE Compute Disovery resource. + :param client: An initialized GCE Compute Discovery resource. :type client: :class: `googleapiclient.discovery.Resource` :param name: Name of the Url Map. @@ -353,7 +353,7 @@ def create_url_map(client, params, project_id): """ Create a new Url_Map. - :param client: An initialized GCE Compute Disovery resource. + :param client: An initialized GCE Compute Discovery resource. :type client: :class: `googleapiclient.discovery.Resource` :param params: Dictionary of arguments from AnsibleModule. @@ -379,7 +379,7 @@ def delete_url_map(client, name, project_id): """ Delete a Url_Map. - :param client: An initialized GCE Compute Disover resource. + :param client: An initialized GCE Compute Discover resource. :type client: :class: `googleapiclient.discovery.Resource` :param name: Name of the Url Map. @@ -405,7 +405,7 @@ def update_url_map(client, url_map, params, name, project_id): If the url_map has not changed, the update will not occur. - :param client: An initialized GCE Compute Disovery resource. + :param client: An initialized GCE Compute Discovery resource. :type client: :class: `googleapiclient.discovery.Resource` :param url_map: Name of the Url Map. diff --git a/lib/ansible/modules/cloud/google/gce_labels.py b/lib/ansible/modules/cloud/google/gce_labels.py index 0b6992b9cdd..004da50c091 100644 --- a/lib/ansible/modules/cloud/google/gce_labels.py +++ b/lib/ansible/modules/cloud/google/gce_labels.py @@ -18,10 +18,10 @@ version_added: '2.4' short_description: Create, Update or Destroy GCE Labels. description: - Create, Update or Destroy GCE Labels on instances, disks, snapshots, etc. - When specifying the GCE resource, users may specifiy the full URL for + When specifying the GCE resource, users may specify the full URL for the resource (its 'self_link'), or the individual parameters of the resource (type, location, name). Examples for the two options can be - seen in the documentaion. + seen in the documentation. See U(https://cloud.google.com/compute/docs/label-or-tag-resources) for more information about GCE Labels. Labels are gradually being added to more GCE resources, so this module will need to be updated as new diff --git a/lib/ansible/modules/cloud/google/gcp_compute_subnetwork.py b/lib/ansible/modules/cloud/google/gcp_compute_subnetwork.py index c203f306901..8a21dfee8a9 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_subnetwork.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_subnetwork.py @@ -40,7 +40,7 @@ description: other resources to communicate with each other via internal, private IP addresses. - Each VPC network is subdivided into subnets, and each subnet is contained within a single region. You can have more than one subnet in a region for a given VPC network. - Each subnet has a contiguous private RFC1918 IP space. You create instances, containers, + Each subnet has a continuous private RFC1918 IP space. You create instances, containers, and the like in these subnets. - When you create an instance, you must create it in a subnet, and the instance draws its internal IP address from that subnet. diff --git a/lib/ansible/modules/cloud/google/gcp_storage_bucket.py b/lib/ansible/modules/cloud/google/gcp_storage_bucket.py index 243c61b4125..c69f1d3d3d3 100644 --- a/lib/ansible/modules/cloud/google/gcp_storage_bucket.py +++ b/lib/ansible/modules/cloud/google/gcp_storage_bucket.py @@ -541,7 +541,7 @@ defaultObjectAcl: type: str id: description: - - The ID of the bucket. For buckets, the id and name properities are the same. + - The ID of the bucket. For buckets, the id and name properties are the same. returned: success type: str lifecycle: diff --git a/lib/ansible/modules/cloud/google/gcpubsub.py b/lib/ansible/modules/cloud/google/gcpubsub.py index e86a2328e20..4d0add65e3b 100644 --- a/lib/ansible/modules/cloud/google/gcpubsub.py +++ b/lib/ansible/modules/cloud/google/gcpubsub.py @@ -279,7 +279,7 @@ def main(): push_endpoint=mod_params['subscription'].get('push_endpoint', None)) if mod_params['state'] == 'absent': - # Remove the most granular resource. If subcription is specified + # Remove the most granular resource. If subscription is specified # we remove it. If only topic is specified, that is what is removed. # Note that a topic can be removed without first removing the subscription. # TODO(supertom): Enhancement: Provide an option to only delete a topic diff --git a/lib/ansible/modules/cloud/hcloud/hcloud_server_info.py b/lib/ansible/modules/cloud/hcloud/hcloud_server_info.py index 0e10ea150cd..10f6b45a1cf 100644 --- a/lib/ansible/modules/cloud/hcloud/hcloud_server_info.py +++ b/lib/ansible/modules/cloud/hcloud/hcloud_server_info.py @@ -41,7 +41,7 @@ options: type: str label_selector: description: - - The label selector for the servery you want to get. + - The label selector for the server you want to get. type: str extends_documentation_fragment: hcloud """ diff --git a/lib/ansible/modules/cloud/hcloud/hcloud_ssh_key_info.py b/lib/ansible/modules/cloud/hcloud/hcloud_ssh_key_info.py index 078b4a1ccdf..531ba20a933 100644 --- a/lib/ansible/modules/cloud/hcloud/hcloud_ssh_key_info.py +++ b/lib/ansible/modules/cloud/hcloud/hcloud_ssh_key_info.py @@ -76,7 +76,7 @@ hcloud_ssh_key_info: type: str sample: 0e:e0:bd:c7:2d:1f:69:49:94:44:91:f1:19:fd:35:f3 public_key: - description: The acctual public key + description: The actual public key returned: always type: str sample: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGpl/tnk74nnQJxxLAtutUApUZMRJxryKh7VXkNbd4g9 john@example.com" diff --git a/lib/ansible/modules/cloud/kubevirt/kubevirt_pvc.py b/lib/ansible/modules/cloud/kubevirt/kubevirt_pvc.py index f28bccbaca1..c78cbf14c0d 100644 --- a/lib/ansible/modules/cloud/kubevirt/kubevirt_pvc.py +++ b/lib/ansible/modules/cloud/kubevirt/kubevirt_pvc.py @@ -131,7 +131,7 @@ options: - "If set, this module will wait for the PVC to become bound and CDI (if enabled) to finish its operation before returning." - "Used only if I(state) set to C(present)." - - "Unless used in conjuction with I(cdi_source), this might result in a timeout, as clusters may be configured + - "Unless used in conjunction with I(cdi_source), this might result in a timeout, as clusters may be configured to not bind PVCs until first usage." default: false type: bool @@ -161,7 +161,7 @@ EXAMPLES = ''' cdi_source: http: url: https://www.source.example/path/of/data/vm.img - # If the URL points to a tar.gz containing the disk image, ucomment the line below: + # If the URL points to a tar.gz containing the disk image, uncomment the line below: #content_type: archive - name: Create a PVC as a clone from a different PVC diff --git a/lib/ansible/modules/cloud/kubevirt/kubevirt_rs.py b/lib/ansible/modules/cloud/kubevirt/kubevirt_rs.py index d7b8d0ffefb..ebab40c18b2 100644 --- a/lib/ansible/modules/cloud/kubevirt/kubevirt_rs.py +++ b/lib/ansible/modules/cloud/kubevirt/kubevirt_rs.py @@ -68,7 +68,7 @@ requirements: EXAMPLES = ''' - name: Create virtual machine replica set 'myvmir' kubevirt_rs: - state: presnet + state: present name: myvmir namespace: vms wait: true diff --git a/lib/ansible/modules/cloud/kubevirt/kubevirt_template.py b/lib/ansible/modules/cloud/kubevirt/kubevirt_template.py index 9970d5b484e..166880e6808 100644 --- a/lib/ansible/modules/cloud/kubevirt/kubevirt_template.py +++ b/lib/ansible/modules/cloud/kubevirt/kubevirt_template.py @@ -129,7 +129,7 @@ options: Then, that value is substituted wherever the parameter is referenced. References can be defined in any field in the objects list field. This is useful for generating random passwords or allowing the user to supply a host name or other user-specific value that is required to customize the template." - - "More information can be foud at: U(https://docs.openshift.com/container-platform/3.6/dev_guide/templates.html#writing-parameters)" + - "More information can be found at: U(https://docs.openshift.com/container-platform/3.6/dev_guide/templates.html#writing-parameters)" type: list version: description: @@ -335,7 +335,7 @@ class KubeVirtVMTemplate(KubeVirtRawModule): if self.params.get('default_network'): annotations['defaults.template.cnv.io/network'] = self.params.get('default_network').get('name') - # Proccess objects: + # Process objects: self.client = self.get_api_client() definition['objects'] = [] objects = self.params.get('objects') or [] @@ -358,7 +358,7 @@ class KubeVirtVMTemplate(KubeVirtRawModule): # Set kubevirt API version: vm_definition['apiVersion'] = '%s/%s' % (API_GROUP, MAX_SUPPORTED_API_VERSION) - # Contruct k8s vm API object: + # Construct k8s vm API object: vm_template = vm_definition['spec']['template'] dummy, vm_def = self.construct_vm_template_definition('VirtualMachine', vm_definition, vm_template, obj) diff --git a/lib/ansible/modules/cloud/kubevirt/kubevirt_vm.py b/lib/ansible/modules/cloud/kubevirt/kubevirt_vm.py index 30d4c63f3f0..99731c6a7e0 100644 --- a/lib/ansible/modules/cloud/kubevirt/kubevirt_vm.py +++ b/lib/ansible/modules/cloud/kubevirt/kubevirt_vm.py @@ -52,7 +52,7 @@ options: type: str ephemeral: description: - - If (true) ephemeral vitual machine will be created. When destroyed it won't be accessible again. + - If (true) ephemeral virtual machine will be created. When destroyed it won't be accessible again. - Works only with C(state) I(present) and I(absent). type: bool default: false diff --git a/lib/ansible/modules/cloud/lxc/lxc_container.py b/lib/ansible/modules/cloud/lxc/lxc_container.py index dc417a9778e..1661bb1e8ee 100644 --- a/lib/ansible/modules/cloud/lxc/lxc_container.py +++ b/lib/ansible/modules/cloud/lxc/lxc_container.py @@ -165,7 +165,7 @@ notes: is "stopped" and the container does not exist it will be first created, "started", the command executed, and then "stopped". If you use a "|" in the variable you can use common script formatting within the variable - iteself The "container_command" option will always execute as BASH. + itself The "container_command" option will always execute as BASH. When using "container_command" a log file is created in the /tmp/ directory which contains both stdout and stderr of any command executed. - If "archive" is **true** the system will attempt to create a compressed diff --git a/lib/ansible/modules/cloud/memset/memset_zone_domain.py b/lib/ansible/modules/cloud/memset/memset_zone_domain.py index 366adef41b7..589bb0d9f3b 100644 --- a/lib/ansible/modules/cloud/memset/memset_zone_domain.py +++ b/lib/ansible/modules/cloud/memset/memset_zone_domain.py @@ -165,7 +165,7 @@ def delete_zone_domain(args=None, payload=None): if not has_failed: has_changed = True memset_api = response.json() - # unset msg as we don't want to return unecessary info to the user. + # unset msg as we don't want to return unnecessary info to the user. msg = None return(has_failed, has_changed, memset_api, msg) diff --git a/lib/ansible/modules/cloud/misc/proxmox_kvm.py b/lib/ansible/modules/cloud/misc/proxmox_kvm.py index f3d8c9dc8cf..fcc587735e5 100644 --- a/lib/ansible/modules/cloud/misc/proxmox_kvm.py +++ b/lib/ansible/modules/cloud/misc/proxmox_kvm.py @@ -72,7 +72,7 @@ options: - Enable booting from specified disk. C((ide|sata|scsi|virtio)\d+) clone: description: - - Name of VM to be cloned. If C(vmid) is setted, C(clone) can take arbitrary value but required for intiating the clone. + - Name of VM to be cloned. If C(vmid) is setted, C(clone) can take arbitrary value but required for initiating the clone. cores: description: - Specify number of cores per socket. @@ -302,7 +302,7 @@ options: state: description: - Indicates desired state of the instance. - - If C(current), the current state of the VM will be fecthed. You can access it with C(results.status) + - If C(current), the current state of the VM will be fetched. You can access it with C(results.status) choices: ['present', 'started', 'absent', 'stopped', 'restarted','current'] default: present storage: diff --git a/lib/ansible/modules/cloud/misc/rhevm.py b/lib/ansible/modules/cloud/misc/rhevm.py index 58a908dfb3c..727aa9d56aa 100644 --- a/lib/ansible/modules/cloud/misc/rhevm.py +++ b/lib/ansible/modules/cloud/misc/rhevm.py @@ -41,7 +41,7 @@ options: default: 127.0.0.1 port: description: - - The port on which the API is reacheable. + - The port on which the API is reachable. type: int default: 443 insecure_api: diff --git a/lib/ansible/modules/cloud/oneandone/oneandone_firewall_policy.py b/lib/ansible/modules/cloud/oneandone/oneandone_firewall_policy.py index e3f17383a3e..2d2c16bcef2 100644 --- a/lib/ansible/modules/cloud/oneandone/oneandone_firewall_policy.py +++ b/lib/ansible/modules/cloud/oneandone/oneandone_firewall_policy.py @@ -44,7 +44,7 @@ options: api_url: description: - Custom API URL. Overrides the - ONEANDONE_API_URL environement variable. + ONEANDONE_API_URL environment variable. required: false name: description: diff --git a/lib/ansible/modules/cloud/oneandone/oneandone_load_balancer.py b/lib/ansible/modules/cloud/oneandone/oneandone_load_balancer.py index 4e8b9dde500..ee83889bbd7 100644 --- a/lib/ansible/modules/cloud/oneandone/oneandone_load_balancer.py +++ b/lib/ansible/modules/cloud/oneandone/oneandone_load_balancer.py @@ -65,7 +65,7 @@ options: required: true health_check_path: description: - - Url to call for cheking. Required for HTTP health check. maxLength=1000 + - Url to call for checking. Required for HTTP health check. maxLength=1000 required: false health_check_parse: description: diff --git a/lib/ansible/modules/cloud/opennebula/one_host.py b/lib/ansible/modules/cloud/opennebula/one_host.py index 93e2f7052ad..7b278d3069a 100644 --- a/lib/ansible/modules/cloud/opennebula/one_host.py +++ b/lib/ansible/modules/cloud/opennebula/one_host.py @@ -249,7 +249,7 @@ class HostModule(OpenNebulaModule): if desired_template_changes is None: desired_template_changes = dict() - # complete the template with speficic ansible parameters + # complete the template with specific ansible parameters if self.is_parameter('labels'): desired_template_changes['LABELS'] = self.get_parameter('labels') diff --git a/lib/ansible/modules/cloud/opennebula/one_service.py b/lib/ansible/modules/cloud/opennebula/one_service.py index 6c32068e96a..4ec273f3f9a 100644 --- a/lib/ansible/modules/cloud/opennebula/one_service.py +++ b/lib/ansible/modules/cloud/opennebula/one_service.py @@ -49,7 +49,7 @@ options: - Password of the user to login into OpenNebula OneFlow API server. If not set then the value of the C(ONEFLOW_PASSWORD) environment variable is used. template_name: description: - - Name of service template to use to create a new instace of a service + - Name of service template to use to create a new instance of a service template_id: description: - ID of a service template to use to create a new instance of a service @@ -132,7 +132,7 @@ EXAMPLES = ''' public_network_id: 21 private_network_id: 26 -# Instiate a new service 'foo' if the service doesn't already exist, otherwise do nothing +# Instantiate a new service 'foo' if the service doesn't already exist, otherwise do nothing - one_service: template_id: 53 service_name: 'foo' @@ -731,7 +731,7 @@ def main(): if template_id and state == 'absent': module.fail_json(msg="State absent is not valid for template") - if template_id and state == 'present': # Intantiate a service + if template_id and state == 'present': # Instantiate a service result = create_service_and_operation(module, auth, template_id, service_name, owner_id, group_id, permissions, custom_attrs, unique, wait, wait_timeout) else: diff --git a/lib/ansible/modules/cloud/opennebula/one_vm.py b/lib/ansible/modules/cloud/opennebula/one_vm.py index 4e692ee2d58..6c327ef1e15 100644 --- a/lib/ansible/modules/cloud/opennebula/one_vm.py +++ b/lib/ansible/modules/cloud/opennebula/one_vm.py @@ -167,8 +167,8 @@ options: disk_saveas: description: - Creates an image from a VM disk. - - It is a dictionary where you have to specife C(name) of the new image. - - Optionally you can specife C(disk_id) of the disk you want to save. By default C(disk_id) is 0. + - It is a dictionary where you have to specify C(name) of the new image. + - Optionally you can specify C(disk_id) of the disk you want to save. By default C(disk_id) is 0. - I(NOTE)':' This operation will only be performed on the first VM (if more than one VM ID is passed) - and the VM has to be in the C(poweredoff) state. - Also this operation will fail if an image with specified C(name) already exists. @@ -1386,7 +1386,7 @@ def main(): if exact_count is not None and exact_count < 0: module.fail_json(msg='`exact_count` cannot be less than 0') if count <= 0: - module.fail_json(msg='`count` has to be grater than 0') + module.fail_json(msg='`count` has to be greater than 0') if permissions is not None: import re diff --git a/lib/ansible/modules/cloud/openstack/os_floating_ip.py b/lib/ansible/modules/cloud/openstack/os_floating_ip.py index fed9f9d86a8..b11048599e0 100644 --- a/lib/ansible/modules/cloud/openstack/os_floating_ip.py +++ b/lib/ansible/modules/cloud/openstack/os_floating_ip.py @@ -182,7 +182,7 @@ def main(): network_id = cloud.get_network(name_or_id=network)["id"] else: network_id = None - # check if we have floting ip on given nat_destination network + # check if we have floating ip on given nat_destination network if nat_destination: nat_floating_addrs = [addr for addr in server.addresses.get( cloud.get_network(nat_destination)['name'], []) diff --git a/lib/ansible/modules/cloud/openstack/os_ironic_inspect.py b/lib/ansible/modules/cloud/openstack/os_ironic_inspect.py index f115f9732b5..2ebb8eebbda 100644 --- a/lib/ansible/modules/cloud/openstack/os_ironic_inspect.py +++ b/lib/ansible/modules/cloud/openstack/os_ironic_inspect.py @@ -64,7 +64,7 @@ ansible_facts: type: str sample: "x86_64" local_gb: - description: Total size of local disk storage as updaed in node properties. + description: Total size of local disk storage as updated in node properties. type: str sample: "10" cpus: diff --git a/lib/ansible/modules/cloud/openstack/os_ironic_node.py b/lib/ansible/modules/cloud/openstack/os_ironic_node.py index 8e80556cc26..78abb0592df 100644 --- a/lib/ansible/modules/cloud/openstack/os_ironic_node.py +++ b/lib/ansible/modules/cloud/openstack/os_ironic_node.py @@ -246,7 +246,7 @@ def main(): wait = module.params['wait'] timeout = module.params['timeout'] - # User has reqeusted desired state to be in maintenance state. + # User has requested desired state to be in maintenance state. if module.params['state'] == 'maintenance': module.params['maintenance'] = True diff --git a/lib/ansible/modules/cloud/openstack/os_loadbalancer.py b/lib/ansible/modules/cloud/openstack/os_loadbalancer.py index 0c8ff86cf5f..f1ff83eea7b 100644 --- a/lib/ansible/modules/cloud/openstack/os_loadbalancer.py +++ b/lib/ansible/modules/cloud/openstack/os_loadbalancer.py @@ -150,19 +150,19 @@ loadbalancer: type: str sample: "lingxian_test" vip_network_id: - description: Network ID the load balancer virutal IP port belongs in. + description: Network ID the load balancer virtual IP port belongs in. type: str sample: "f171db43-56fd-41cf-82d7-4e91d741762e" vip_subnet_id: - description: Subnet ID the load balancer virutal IP port belongs in. + description: Subnet ID the load balancer virtual IP port belongs in. type: str sample: "c53e3c70-9d62-409a-9f71-db148e7aa853" vip_port_id: - description: The load balancer virutal IP port ID. + description: The load balancer virtual IP port ID. type: str sample: "2061395c-1c01-47ab-b925-c91b93df9c1d" vip_address: - description: The load balancer virutal IP address. + description: The load balancer virtual IP address. type: str sample: "192.168.2.88" public_vip_address: diff --git a/lib/ansible/modules/cloud/openstack/os_recordset.py b/lib/ansible/modules/cloud/openstack/os_recordset.py index 30248ebf4ac..3bd4b6f0a81 100644 --- a/lib/ansible/modules/cloud/openstack/os_recordset.py +++ b/lib/ansible/modules/cloud/openstack/os_recordset.py @@ -78,7 +78,7 @@ EXAMPLES = ''' name: www ttl: 7200 -# Delete recorset named "www.example.net." +# Delete recordset named "www.example.net." - os_recordset: cloud: mycloud state: absent diff --git a/lib/ansible/modules/cloud/openstack/os_server.py b/lib/ansible/modules/cloud/openstack/os_server.py index 51772cfde73..830ca643d7e 100644 --- a/lib/ansible/modules/cloud/openstack/os_server.py +++ b/lib/ansible/modules/cloud/openstack/os_server.py @@ -120,7 +120,7 @@ options: boot_from_volume: description: - Should the instance boot from a persistent volume created based on - the image given. Mututally exclusive with boot_volume. + the image given. Mutually exclusive with boot_volume. type: bool default: 'no' volume_size: diff --git a/lib/ansible/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py b/lib/ansible/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py index 34e71cb574a..106d250b98d 100644 --- a/lib/ansible/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py +++ b/lib/ansible/modules/cloud/ovh/ovh_ip_loadbalancing_backend.py @@ -22,7 +22,7 @@ version_added: "2.2" author: Pascal Heraud (@pascalheraud) notes: - Uses the python OVH Api U(https://github.com/ovh/python-ovh). - You have to create an application (a key and secret) with a consummer + You have to create an application (a key and secret) with a consumer key as described into U(https://eu.api.ovh.com/g934.first_step_with_api) requirements: - ovh > 0.3.5 @@ -270,7 +270,7 @@ def main(): .format(timeout)) except APIError as apiError: module.fail_json( - msg='Unable to call OVH api for updating the propbe of ' + msg='Unable to call OVH api for updating the probe of ' 'the backend, check application key, secret, ' 'consumerkey and parameters. Error returned by OVH api ' 'was : {0}' diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_affinity_group.py b/lib/ansible/modules/cloud/ovirt/ovirt_affinity_group.py index 88194a60bbb..5cf3fac3799 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_affinity_group.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_affinity_group.py @@ -146,7 +146,7 @@ class AffinityGroupsModule(BaseModule): def update_vms(self, affinity_group): """ - This method iterate via the affinity VM assignnments and datech the VMs + This method iterate via the affinity VM assignments and datech the VMs which should not be attached to affinity and attach VMs which should be attached to affinity. """ diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_auth.py b/lib/ansible/modules/cloud/ovirt/ovirt_auth.py index b13ed6f8352..ad4b3356bea 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_auth.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_auth.py @@ -144,7 +144,7 @@ EXAMPLES = ''' # User can login the oVirt using environment variable instead of variables # in yaml file. # This is mainly useful when using Ansible Tower or AWX, as it will work -# for Red Hat Virtualization creadentials type. +# for Red Hat Virtualization credentials type. - name: Obtain SSO token ovirt_auth: state: present diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_host_network.py b/lib/ansible/modules/cloud/ovirt/ovirt_host_network.py index a665d0b548c..7c78cbad7e7 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_host_network.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_host_network.py @@ -296,7 +296,7 @@ class HostNetworksModule(BaseModule): # Check if labels need to be updated on interface/bond: if labels: net_labels = nic_service.network_labels_service().list() - # If any lables which user passed aren't assigned, relabel the interface: + # If any labels which user passed aren't assigned, relabel the interface: if sorted(labels) != sorted([lbl.id for lbl in net_labels]): return True diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py b/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py index d32a3c9abc2..63e0471c17b 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py @@ -210,7 +210,7 @@ EXAMPLES = ''' nics: - name: nic1 -# Enable usb suppport and serial console +# Enable usb support and serial console - ovirt_instance_type: name: myit usb_support: True diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_quota.py b/lib/ansible/modules/cloud/ovirt/ovirt_quota.py index 61e3d902fc1..8e614737894 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_quota.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_quota.py @@ -217,7 +217,7 @@ class QuotasModule(BaseModule): # -- FIXME -- # Note that we here always remove all cluster/storage limits, because # it's not currently possible to update them and then re-create the limits - # appropriatelly, this shouldn't have any side-effects, but it's not considered + # appropriately, this shouldn't have any side-effects, but it's not considered # as a correct approach. # This feature is tracked here: https://bugzilla.redhat.com/show_bug.cgi?id=1398576 # diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py index c7c94eac9df..26d5d12d0db 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py @@ -667,7 +667,7 @@ def control_state(sd_module): sd_service = sd_module._service.service(sd.id) # In the case of no status returned, it's an attached storage domain. - # Redetermine the corresponding serivce and entity: + # Redetermine the corresponding service and entity: if sd.status is None: sd_service = sd_module._attached_sd_service(sd) sd = get_entity(sd_service) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_template.py b/lib/ansible/modules/cloud/ovirt/ovirt_template.py index 2c7df5978f3..d885d882376 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_template.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_template.py @@ -454,7 +454,7 @@ EXAMPLES = ''' storage_domain: mystorage cluster: mycluster -# Edit template subeversion +# Edit template subversion - ovirt_template: cluster: mycluster name: mytemplate @@ -463,7 +463,7 @@ EXAMPLES = ''' number: 2 name: subversion -# Create new template subeversion +# Create new template subversion - ovirt_template: cluster: mycluster name: mytemplate diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_vm.py b/lib/ansible/modules/cloud/ovirt/ovirt_vm.py index fadc940c9ab..9980ec4d102 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_vm.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_vm.py @@ -105,12 +105,12 @@ options: version_added: "2.5" affinity_group_mappings: description: - - "Mapper which maps affinty name between VM's OVF and the destination affinity this VM should be registered to, + - "Mapper which maps affinity name between VM's OVF and the destination affinity this VM should be registered to, relevant when C(state) is registered." version_added: "2.5" affinity_label_mappings: description: - - "Mappper which maps affinity label name between VM's OVF and the destination label this VM should be registered to, + - "Mapper which maps affinity label name between VM's OVF and the destination label this VM should be registered to, relevant when C(state) is registered." version_added: "2.5" lun_mappings: @@ -151,7 +151,7 @@ options: description: - Name of the storage domain where all template disks should be created. - This parameter is considered only when C(template) is provided. - - IMPORTANT - This parameter is not idempotent, if the VM exists and you specfiy different storage domain, + - IMPORTANT - This parameter is not idempotent, if the VM exists and you specify different storage domain, disk won't move. version_added: "2.4" disk_format: @@ -274,7 +274,7 @@ options: host_devices: description: - Single Root I/O Virtualization - technology that allows single device to expose multiple endpoints that can be passed to VMs - - host_devices is an list which contain dictinary with name and state of device + - host_devices is an list which contain dictionary with name and state of device version_added: "2.7" delete_protected: description: @@ -1163,7 +1163,7 @@ EXAMPLES = ''' - spice - vnc -# Execute remote viever to VM +# Execute remote viewer to VM - block: - name: Create a ticket for console for a running VM ovirt_vm: @@ -1723,7 +1723,7 @@ class VmsModule(BaseModule): """ This function will first wait for the status DOWN of the VM. Then it will find the active snapshot and wait until it's state is OK for - stateless VMs and statless snaphot is removed. + stateless VMs and stateless snapshot is removed. """ vm_service = self._service.vm_service(vm.id) wait( diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_vnic_profile.py b/lib/ansible/modules/cloud/ovirt/ovirt_vnic_profile.py index e36b9e3fbba..6013e3de465 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_vnic_profile.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_vnic_profile.py @@ -244,7 +244,7 @@ class EntityVnicPorfileModule(BaseModule): return ( check_custom_properties() and # The reason why we can't use equal method, is we get None from _get_network_filter_id or _get_qos_id method, when passing empty string. - # And when first param of equal method is None it retruns true. + # And when first param of equal method is None it returns true. self._get_network_filter_id() == getattr(entity.network_filter, 'id', None) and self._get_qos_id() == getattr(entity.qos, 'id', None) and equal(self.param('migratable'), getattr(entity, 'migratable', None)) and diff --git a/lib/ansible/modules/cloud/packet/packet_device.py b/lib/ansible/modules/cloud/packet/packet_device.py index 470d4d413a6..4387ce4898d 100644 --- a/lib/ansible/modules/cloud/packet/packet_device.py +++ b/lib/ansible/modules/cloud/packet/packet_device.py @@ -290,7 +290,7 @@ ALLOWED_STATES = ['absent', 'active', 'inactive', 'rebooted', 'present'] def serialize_device(device): """ - Standard represenation for a device as returned by various tasks:: + Standard representation for a device as returned by various tasks:: { 'id': 'device_id' @@ -450,7 +450,7 @@ def create_single_device(module, packet_conn, hostname): if operating_system != 'custom_ipxe': for param in ('ipxe_script_url', 'always_pxe'): if module.params.get(param): - raise Exception('%s paramater is not valid for non custom_ipxe operating_system.' % param) + raise Exception('%s parameter is not valid for non custom_ipxe operating_system.' % param) device = packet_conn.create_device( project_id=project_id, diff --git a/lib/ansible/modules/cloud/packet/packet_sshkey.py b/lib/ansible/modules/cloud/packet/packet_sshkey.py index f649e62fee2..f2bca96ec94 100644 --- a/lib/ansible/modules/cloud/packet/packet_sshkey.py +++ b/lib/ansible/modules/cloud/packet/packet_sshkey.py @@ -200,7 +200,7 @@ def act_on_sshkeys(target_state, module, packet_conn): matching_sshkeys.append(new_key_response) else: - # state is 'absent' => delete mathcing keys + # state is 'absent' => delete matching keys for k in matching_sshkeys: try: k.delete() diff --git a/lib/ansible/modules/cloud/podman/podman_image.py b/lib/ansible/modules/cloud/podman/podman_image.py index ad9eb406eea..7efd4b67c14 100644 --- a/lib/ansible/modules/cloud/podman/podman_image.py +++ b/lib/ansible/modules/cloud/podman/podman_image.py @@ -67,11 +67,11 @@ DOCUMENTATION = """ - tls_verify password: description: - - Password to use when authenticating to remote regstries. + - Password to use when authenticating to remote registries. type: str username: description: - - username to use when authenticating to remote regstries. + - username to use when authenticating to remote registries. type: str auth_file: description: @@ -86,7 +86,7 @@ DOCUMENTATION = """ suboptions: annotation: description: - - Dictionory of key=value pairs to add to the image. Only works with OCI images. Ignored for Docker containers. + - Dictionary of key=value pairs to add to the image. Only works with OCI images. Ignored for Docker containers. type: str force_rm: description: @@ -207,7 +207,7 @@ EXAMPLES = """ push_args: dest: quay.io/acme -- name: Build and push an image to mulitple registries +- name: Build and push an image to multiple registries podman_image: name: "{{ item }}" path: /path/to/build/dir @@ -217,7 +217,7 @@ EXAMPLES = """ - quay.io/acme/nginx - docker.io/acme/nginx -- name: Build and push an image to mulitple registries with separate parameters +- name: Build and push an image to multiple registries with separate parameters podman_image: name: "{{ item.name }}" tag: "{{ item.tag }}" @@ -589,7 +589,7 @@ class PodmanImageManager(object): if '/' not in self.name: self.module.fail_json(msg="'push_args['dest']' is required when pushing images that do not have the remote registry in the image name") - # If the push destinaton contains the image name and/or the tag + # If the push destination contains the image name and/or the tag # remove it and warn since it's not needed. elif regexp.search(dest): dest = regexp.sub('', dest) diff --git a/lib/ansible/modules/cloud/podman/podman_image_info.py b/lib/ansible/modules/cloud/podman/podman_image_info.py index f57869d495e..dbfacfb7b9b 100644 --- a/lib/ansible/modules/cloud/podman/podman_image_info.py +++ b/lib/ansible/modules/cloud/podman/podman_image_info.py @@ -51,7 +51,7 @@ EXAMPLES = """ RETURN = """ images: - description: info from all or specificed images + description: info from all or specified images returned: always type: dict sample: [ diff --git a/lib/ansible/modules/cloud/scaleway/scaleway_security_group.py b/lib/ansible/modules/cloud/scaleway/scaleway_security_group.py index a287bdb878d..d71c1d6e8aa 100644 --- a/lib/ansible/modules/cloud/scaleway/scaleway_security_group.py +++ b/lib/ansible/modules/cloud/scaleway/scaleway_security_group.py @@ -71,13 +71,13 @@ options: inbound_default_policy: description: - - Default policy for incoming trafic. + - Default policy for incoming traffic. type: str choices: [ accept, drop ] outbound_default_policy: description: - - Default policy for outcoming trafic. + - Default policy for outcoming traffic. type: str choices: [ accept, drop ] diff --git a/lib/ansible/modules/cloud/smartos/smartos_image_info.py b/lib/ansible/modules/cloud/smartos/smartos_image_info.py index 2772b703ebc..f38d17693f7 100644 --- a/lib/ansible/modules/cloud/smartos/smartos_image_info.py +++ b/lib/ansible/modules/cloud/smartos/smartos_image_info.py @@ -28,7 +28,7 @@ options: description: - Criteria for selecting image. Can be any value from image manifest and 'published_date', 'published', 'source', 'clones', - and 'size'. More informaton can be found at U(https://smartos.org/man/1m/imgadm) + and 'size'. More information can be found at U(https://smartos.org/man/1m/imgadm) under 'imgadm list'. ''' diff --git a/lib/ansible/modules/cloud/vmware/vca_vapp.py b/lib/ansible/modules/cloud/vmware/vca_vapp.py index 9a9a615d25a..01a9dc7e9da 100644 --- a/lib/ansible/modules/cloud/vmware/vca_vapp.py +++ b/lib/ansible/modules/cloud/vmware/vca_vapp.py @@ -62,7 +62,7 @@ options: description: - The amount of memory in MB to allocate to VMs in the vApp. If the I(vm_name) argument is provided, then this becomes a per VM setting - otherise it is applied to all VMs in the vApp. + otherwise it is applied to all VMs in the vApp. operation: description: - Specifies an operation to be performed on the vApp. @@ -167,7 +167,7 @@ def create(module): module.vca.block_until_completed(task) - # Connect the network to the Vapp/VM and return asigned IP + # Connect the network to the Vapp/VM and return assigned IP if network_name is not None: vm_ip = connect_to_network(module, vdc_name, vapp_name, network_name, network_mode) return vm_ip diff --git a/lib/ansible/modules/cloud/vmware/vmware_content_deploy_template.py b/lib/ansible/modules/cloud/vmware/vmware_content_deploy_template.py index e9dd2c7da10..9e1c0e4f39c 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_content_deploy_template.py +++ b/lib/ansible/modules/cloud/vmware/vmware_content_deploy_template.py @@ -75,7 +75,7 @@ options: required: False state: description: - - The state of Virutal Machine deployed from template in content library. + - The state of Virtual Machine deployed from template in content library. - If set to C(present) and VM does not exists, then VM is created. - If set to C(present) and VM exists, no action is taken. - If set to C(poweredon) and VM does not exists, then VM is created with powered on state. diff --git a/lib/ansible/modules/cloud/vmware/vmware_datastore_cluster.py b/lib/ansible/modules/cloud/vmware/vmware_datastore_cluster.py index ee26ff0bb20..f5e65b62012 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_datastore_cluster.py +++ b/lib/ansible/modules/cloud/vmware/vmware_datastore_cluster.py @@ -164,7 +164,7 @@ class VMwareDatastoreClusterManager(PyVmomi): try: self.folder_obj.CreateStoragePod(name=self.datastore_cluster_name) except Exception as generic_exc: - self.module.fail_json(msg="Failed to create datstore cluster" + self.module.fail_json(msg="Failed to create datastore cluster" " '%s' due to %s" % (self.datastore_cluster_name, to_native(generic_exc))) results['changed'] = True diff --git a/lib/ansible/modules/cloud/vmware/vmware_drs_group.py b/lib/ansible/modules/cloud/vmware/vmware_drs_group.py index 17d734e797b..8eb83e06909 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_drs_group.py +++ b/lib/ansible/modules/cloud/vmware/vmware_drs_group.py @@ -238,9 +238,9 @@ class VmwareDrsGroupManager(PyVmomi): def __set_result(self, group_obj): """ - Creates result for successfull run + Creates result for successful run Args: - group_obj: group pbject + group_obj: group object Returns: None diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest.py b/lib/ansible/modules/cloud/vmware/vmware_guest.py index f2e89001d25..17b25b1fb30 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest.py @@ -39,7 +39,7 @@ notes: - " Resource > Assign Virtual Machine to Resource Pool" - "Module may require additional privileges as well, which may be required for gathering facts - e.g. ESXi configurations." - Tested on vSphere 5.5, 6.0, 6.5 and 6.7 - - Use SCSI disks instead of IDE when you want to expand online disks by specifing a SCSI controller + - Use SCSI disks instead of IDE when you want to expand online disks by specifying a SCSI controller - "For additional information please visit Ansible VMware community wiki - U(https://github.com/ansible/community/wiki/VMware)." options: state: @@ -165,7 +165,7 @@ options: - This parameter is case sensitive. - 'Examples:' - " virtual machine with RHEL7 64 bit, will be 'rhel7_64Guest'" - - " virtual machine with CensOS 64 bit, will be 'centos64Guest'" + - " virtual machine with CentOS 64 bit, will be 'centos64Guest'" - " virtual machine with Ubuntu 64 bit, will be 'ubuntu64Guest'" - This field is required when creating a virtual machine, not required when creating from the template. - > @@ -295,7 +295,7 @@ options: description: - A list of networks (in the order of the NICs). - Removing NICs is not allowed, while reconfiguring the virtual machine. - - All parameters and VMware object names are case sensetive. + - All parameters and VMware object names are case sensitive. - 'One of the below parameters is required per entry:' - ' - C(name) (string): Name of the portgroup or distributed virtual portgroup for this interface. When specifying distributed virtual portgroup make sure given C(esxi_hostname) or C(cluster) is associated with it.' @@ -782,7 +782,7 @@ class PyVmomiDeviceHelper(object): """ Function to return int value for given input, else return error Args: - input_value: Input value to retrive int value from + input_value: Input value to retrieve int value from name: Name of the Input value (used to build error message) Returns: (int) if integer value can be obtained, otherwise will send a error message. """ diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_disk.py b/lib/ansible/modules/cloud/vmware/vmware_guest_disk.py index 07d7776f2f6..a22809fca1a 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_disk.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_disk.py @@ -100,7 +100,7 @@ options: - ' Only 4 SCSI controllers are allowed per VM.' - ' Care should be taken while specifying C(scsi_controller) is 0 and C(unit_number) as 0 as this disk may contain OS.' - ' - C(unit_number) (integer): Disk Unit Number. Valid value range from 0 to 15. Only 15 disks are allowed per SCSI Controller.' - - ' - C(scsi_type) (string): Type of SCSI controller. This value is required only for the first occurance of SCSI Controller.' + - ' - C(scsi_type) (string): Type of SCSI controller. This value is required only for the first occurrence of SCSI Controller.' - ' This value is ignored, if SCSI Controller is already present or C(state) is C(absent).' - ' Valid values are C(buslogic), C(lsilogic), C(lsilogicsas) and C(paravirtual).' - ' C(paravirtual) is default value for this parameter.' diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py b/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py index a4c2da57f3a..c134c29ad6a 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_powerstate.py @@ -75,7 +75,7 @@ options: type: str scheduled_at: description: - - Date and time in string format at which specificed task needs to be performed. + - Date and time in string format at which specified task needs to be performed. - "The required format for date and time - 'dd/mm/yyyy hh:mm'." - Scheduling task requires vCenter server. A standalone ESXi server does not support this option. type: str diff --git a/lib/ansible/modules/cloud/vmware/vmware_host.py b/lib/ansible/modules/cloud/vmware/vmware_host.py index c9a3311c1c5..39361c07871 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host.py @@ -564,7 +564,7 @@ class VMwareHost(PyVmomi): if self.esxi_username and self.esxi_password: # Build the connection spec as well and fetch thumbprint if enabled - # Usefull if you reinstalled a host and it uses a new self-signed certificate + # Useful if you reinstalled a host and it uses a new self-signed certificate reconnecthost_args['cnxSpec'] = self.get_host_connect_spec() try: task = host_object.ReconnectHost_Task(**reconnecthost_args) diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_active_directory.py b/lib/ansible/modules/cloud/vmware/vmware_host_active_directory.py index 66d033e457a..3690eef3986 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_active_directory.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_active_directory.py @@ -45,7 +45,7 @@ options: type: str ad_state: description: - - Wheter the ESXi host is joined to an AD domain or not. + - Whether the ESXi host is joined to an AD domain or not. type: str choices: [ present, absent ] default: 'absent' diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_firewall_manager.py b/lib/ansible/modules/cloud/vmware/vmware_host_firewall_manager.py index 2b0d5947f55..23ce2aea177 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_firewall_manager.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_firewall_manager.py @@ -317,7 +317,7 @@ class VmwareFirewallManager(PyVmomi): " rule set : %s" % (rule_name, to_native(host_config_fault.msg))) except vim.fault.RuntimeFault as runtime_fault: - self.module.fail_json(msg="Failed to conifgure the rule set %s as a runtime" + self.module.fail_json(msg="Failed to configure the rule set %s as a runtime" " error happened while applying the reconfiguration:" " %s" % (rule_name, to_native(runtime_fault.msg))) diff --git a/lib/ansible/modules/cloud/vmware/vmware_local_role_manager.py b/lib/ansible/modules/cloud/vmware/vmware_local_role_manager.py index 833070c5bb5..3b06a6c7a5f 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_local_role_manager.py +++ b/lib/ansible/modules/cloud/vmware/vmware_local_role_manager.py @@ -384,7 +384,7 @@ class VMwareLocalRoleManager(PyVmomi): details=no_permission.msg ) else: - results['msg'] = "Role priviledges are properly configured" + results['msg'] = "Role privileges are properly configured" self.module.exit_json(changed=changed, result=results) diff --git a/lib/ansible/modules/cloud/vultr/vultr_server.py b/lib/ansible/modules/cloud/vultr/vultr_server.py index e1a1ce36bfb..cbeb77772af 100644 --- a/lib/ansible/modules/cloud/vultr/vultr_server.py +++ b/lib/ansible/modules/cloud/vultr/vultr_server.py @@ -286,7 +286,7 @@ vultr_server: type: str sample: "CentOS 6 x64" firewall_group: - description: Firewall group the server is assinged to + description: Firewall group the server is assigned to returned: success and available type: str sample: "CentOS 6 x64" diff --git a/lib/ansible/modules/cloud/xenserver/xenserver_guest.py b/lib/ansible/modules/cloud/xenserver/xenserver_guest.py index a92cfda5961..fc2c97cd36d 100644 --- a/lib/ansible/modules/cloud/xenserver/xenserver_guest.py +++ b/lib/ansible/modules/cloud/xenserver/xenserver_guest.py @@ -116,7 +116,7 @@ options: disks: description: - A list of disks to add to VM. - - All parameters are case sensetive. + - All parameters are case sensitive. - Removing or detaching existing disks of VM is not supported. - 'Required parameters per entry:' - ' - C(size_[tb,gb,mb,kb,b]) (integer): Disk storage size in specified unit. VM needs to be shut down to reconfigure this parameter.' @@ -139,7 +139,7 @@ options: networks: description: - A list of networks (in the order of the NICs). - - All parameters are case sensetive. + - All parameters are case sensitive. - 'Required parameters per entry:' - ' - C(name) (string): Name of a XenServer network to attach the network interface to. You can also use C(name_label) as an alias.' - 'Optional parameters per entry (used for VM hardware):' diff --git a/lib/ansible/modules/cloud/xenserver/xenserver_guest_powerstate.py b/lib/ansible/modules/cloud/xenserver/xenserver_guest_powerstate.py index d50680c8b01..ce01e948bbc 100644 --- a/lib/ansible/modules/cloud/xenserver/xenserver_guest_powerstate.py +++ b/lib/ansible/modules/cloud/xenserver/xenserver_guest_powerstate.py @@ -16,7 +16,7 @@ DOCUMENTATION = r''' module: xenserver_guest_powerstate short_description: Manages power states of virtual machines running on Citrix XenServer host or pool description: > - This module can be used to power on, power off, restart or suspend virtual machine and grecefully reboot or shutdown guest OS of virtual machine. + This module can be used to power on, power off, restart or suspend virtual machine and gracefully reboot or shutdown guest OS of virtual machine. version_added: '2.8' author: - Bojan Vitnik (@bvitnik) @@ -38,7 +38,7 @@ options: description: - Specify the state VM should be in. - If C(state) is set to value other than C(present), then VM is transitioned into required state and facts are returned. - - If C(state) is set to C(present), then VM is just checked for existance and facts are returned. + - If C(state) is set to C(present), then VM is just checked for existence and facts are returned. type: str default: present choices: [ powered-on, powered-off, restarted, shutdown-guest, reboot-guest, suspended, present ] @@ -64,7 +64,7 @@ options: default: no state_change_timeout: description: - - 'By default, module will wait indefinitely for VM to change state or accquire an IP address if C(wait_for_ip_address: yes).' + - 'By default, module will wait indefinitely for VM to change state or acquire an IP address if C(wait_for_ip_address: yes).' - If this parameter is set to positive value, the module will instead wait specified number of seconds for the state change. - In case of timeout, module will generate an error message. type: int diff --git a/test/integration/targets/redshift/tasks/main.yml b/test/integration/targets/redshift/tasks/main.yml index 6f93fc6856f..591ebc8c8d5 100644 --- a/test/integration/targets/redshift/tasks/main.yml +++ b/test/integration/targets/redshift/tasks/main.yml @@ -195,7 +195,7 @@ assert: that: - 'result.failed' - - 'result.msg == "Need to specifiy final_cluster_snapshot_identifier if skip_final_cluster_snapshot is False"' + - 'result.msg == "Need to specify final_cluster_snapshot_identifier if skip_final_cluster_snapshot is False"' # ============================================================