mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
minor spelling changes
This commit is contained in:
committed by
Brian Coca
parent
054a3fccf8
commit
0b8011436d
@@ -77,7 +77,7 @@ notes:
|
||||
pause to delay further playbook execution until the instance is reachable,
|
||||
if necessary.
|
||||
- This module returns multiple changed statuses on disassociation or release.
|
||||
It returns an overall status based on any changes occuring. It also returns
|
||||
It returns an overall status based on any changes occurring. It also returns
|
||||
individual changed statuses for disassociation and release.
|
||||
'''
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ def create_scaling_policy(connection, module):
|
||||
if getattr(policy, 'min_adjustment_step') != module.params.get('min_adjustment_step'):
|
||||
changed = True
|
||||
|
||||
# set the min adjustment step incase the user decided to change their
|
||||
# set the min adjustment step in case the user decided to change their
|
||||
# adjustment type to percentage
|
||||
setattr(policy, 'min_adjustment_step', module.params.get('min_adjustment_step'))
|
||||
|
||||
|
||||
@@ -582,7 +582,7 @@ def main():
|
||||
elif inst is not None:
|
||||
volume, changed = attach_volume(module, ec2, volume, inst)
|
||||
|
||||
# Add device, volume_id and volume_type parameters separately to maintain backward compatability
|
||||
# Add device, volume_id and volume_type parameters separately to maintain backward compatibility
|
||||
volume_info = get_volume_info(volume, state)
|
||||
module.exit_json(changed=changed, volume=volume_info, device=volume_info['attachment_set']['device'], volume_id=volume_info['id'], volume_type=volume_info['type'])
|
||||
elif state == 'absent':
|
||||
|
||||
@@ -960,7 +960,7 @@ def remove(client, nat_gateway_id, wait=False, wait_timeout=0,
|
||||
changed = True
|
||||
success = True
|
||||
err_msg = (
|
||||
'NAT gateway {0} is in a deleting state. Delete was successfull'
|
||||
'NAT gateway {0} is in a deleting state. Delete was successful'
|
||||
.format(nat_gateway_id)
|
||||
)
|
||||
|
||||
|
||||
@@ -284,7 +284,7 @@ class AzureRMSubnet(AzureRMModuleBase):
|
||||
subnet)
|
||||
new_subnet = self.get_poller_result(poller)
|
||||
except Exception as exc:
|
||||
self.fail("Error creating or updateing subnet {0} - {1}".format(self.name, str(exc)))
|
||||
self.fail("Error creating or updating subnet {0} - {1}".format(self.name, str(exc)))
|
||||
self.check_provisioning_state(new_subnet)
|
||||
return subnet_to_dict(new_subnet)
|
||||
|
||||
|
||||
@@ -287,7 +287,7 @@ class AnsibleCloudStackCluster(AnsibleCloudStack):
|
||||
clusters = self.cs.listClusters(**args)
|
||||
if clusters:
|
||||
self.cluster = clusters['cluster'][0]
|
||||
# fix differnt return from API then request argument given
|
||||
# fix different return from API then request argument given
|
||||
self.cluster['hypervisor'] = self.cluster['hypervisortype']
|
||||
self.cluster['clustername'] = self.cluster['name']
|
||||
return self.cluster
|
||||
|
||||
@@ -175,7 +175,7 @@ options:
|
||||
default: null
|
||||
zone:
|
||||
description:
|
||||
- Name of the zone in which the instance shoud be deployed.
|
||||
- Name of the zone in which the instance should be deployed.
|
||||
- If not set, default zone is used.
|
||||
required: false
|
||||
default: null
|
||||
@@ -621,7 +621,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
|
||||
instance = self.recover_instance(instance=instance)
|
||||
instance = self.update_instance(instance=instance, start_vm=start_vm)
|
||||
|
||||
# In check mode, we do not necessarely have an instance
|
||||
# In check mode, we do not necessarily have an instance
|
||||
if instance:
|
||||
instance = self.ensure_tags(resource=instance, resource_type='UserVm')
|
||||
# refresh instance data
|
||||
|
||||
@@ -108,7 +108,7 @@ options:
|
||||
default: null
|
||||
zone:
|
||||
description:
|
||||
- Name of the zone in which the rule shoud be created.
|
||||
- Name of the zone in which the rule should be created.
|
||||
- If not set, default zone is used.
|
||||
required: false
|
||||
default: null
|
||||
|
||||
@@ -38,7 +38,7 @@ options:
|
||||
required: true
|
||||
architecture:
|
||||
description:
|
||||
- The archiecture for the container (e.g. "x86_64" or "i686").
|
||||
- The architecture for the container (e.g. "x86_64" or "i686").
|
||||
See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1)
|
||||
required: false
|
||||
config:
|
||||
|
||||
@@ -419,7 +419,7 @@ options:
|
||||
state:
|
||||
description:
|
||||
- Indicates desired state of the instance.
|
||||
- If C(current), the current state of the VM will be fecthed. You can acces it with C(results.status)
|
||||
- If C(current), the current state of the VM will be fecthed. You can access it with C(results.status)
|
||||
choices: ['present', 'started', 'absent', 'stopped', 'restarted','current']
|
||||
required: false
|
||||
default: present
|
||||
|
||||
@@ -667,7 +667,7 @@ class RHEVConn(object):
|
||||
setChanged()
|
||||
try:
|
||||
NIC.update()
|
||||
setMsg('iface has succesfully been updated.')
|
||||
setMsg('iface has successfully been updated.')
|
||||
except Exception as e:
|
||||
setMsg("Failed to update the iface.")
|
||||
setMsg(str(e))
|
||||
|
||||
@@ -17,7 +17,7 @@ Naming
|
||||
detail. A good example of this are floating IPs, which can come from either
|
||||
Nova or Neutron, but which one they come from is immaterial to an end user.
|
||||
* If the module is one that a cloud admin would expect to use, it should be
|
||||
be named with the service and the resouce, such as os\_keystone\_domain.
|
||||
be named with the service and the resource, such as os\_keystone\_domain.
|
||||
* If the module is one that a cloud admin and a cloud consumer could both use,
|
||||
the cloud consumer rules apply.
|
||||
|
||||
@@ -53,7 +53,7 @@ Libraries
|
||||
OpenStack Client libraries. The OpenStack Client libraries do no have end
|
||||
users as a primary audience, they are for intra-server communication. The
|
||||
python-openstacksdk is the future there, and shade will migrate to it when
|
||||
its ready in a manner that is not noticable to ansible users.
|
||||
its ready in a manner that is not noticeable to ansible users.
|
||||
|
||||
Testing
|
||||
-------
|
||||
|
||||
@@ -284,7 +284,7 @@ def ensure_user_role_exists(keystone, user_name, tenant_name, role_name,
|
||||
|
||||
Return (True, id) if a new role was created or if the role was newly
|
||||
assigned to the user for the tenant. (False, id) if the role already
|
||||
exists and was already assigned to the user ofr the tenant.
|
||||
exists and was already assigned to the user for the tenant.
|
||||
|
||||
"""
|
||||
# Check if the user has the role in the tenant
|
||||
|
||||
@@ -153,7 +153,7 @@ def main():
|
||||
if server:
|
||||
cloud.inspect_machine(server['uuid'], module.params['wait'])
|
||||
# TODO(TheJulia): diff properties, ?and ports? and determine
|
||||
# if a change occured. In theory, the node is always changed
|
||||
# if a change occurred. In theory, the node is always changed
|
||||
# if introspection is able to update the record.
|
||||
module.exit_json(changed=True,
|
||||
ansible_facts=server['properties'])
|
||||
|
||||
@@ -58,7 +58,7 @@ options:
|
||||
default: null
|
||||
project:
|
||||
description:
|
||||
- Name or ID of the project to scope the role assocation to.
|
||||
- Name or ID of the project to scope the role association to.
|
||||
If you are using keystone version 2, then this value is required.
|
||||
required: false
|
||||
default: null
|
||||
|
||||
@@ -45,7 +45,7 @@ options:
|
||||
default: present
|
||||
choices: ['present', 'absent']
|
||||
description:
|
||||
- Determines wether the backend is to be created/modified
|
||||
- Determines whether the backend is to be created/modified
|
||||
or deleted
|
||||
probe:
|
||||
required: false
|
||||
|
||||
@@ -401,7 +401,7 @@ class VmsModule(BaseModule):
|
||||
"""
|
||||
oVirt in version 4.1 doesn't support search by template+version_number,
|
||||
so we need to list all templates with specific name and then iterate
|
||||
throught it's version until we find the version we look for.
|
||||
through it's version until we find the version we look for.
|
||||
"""
|
||||
template = None
|
||||
if self._module.params['template']:
|
||||
|
||||
@@ -109,12 +109,12 @@ options:
|
||||
default: 1
|
||||
subscription_user:
|
||||
description:
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environement variable.
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environment variable.
|
||||
required: false
|
||||
default: null
|
||||
subscription_password:
|
||||
description:
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environement variable.
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environment variable.
|
||||
required: false
|
||||
default: null
|
||||
wait:
|
||||
|
||||
@@ -42,11 +42,11 @@ options:
|
||||
choices: [ "us/las", "de/fra", "de/fkb" ]
|
||||
subscription_user:
|
||||
description:
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environement variable.
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environment variable.
|
||||
required: false
|
||||
subscription_password:
|
||||
description:
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environement variable.
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environment variable.
|
||||
required: false
|
||||
wait:
|
||||
description:
|
||||
|
||||
@@ -44,11 +44,11 @@ options:
|
||||
required: true
|
||||
subscription_user:
|
||||
description:
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environement variable.
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environment variable.
|
||||
required: false
|
||||
subscription_password:
|
||||
description:
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environement variable.
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environment variable.
|
||||
required: false
|
||||
wait:
|
||||
description:
|
||||
|
||||
@@ -87,11 +87,11 @@ options:
|
||||
required: false
|
||||
subscription_user:
|
||||
description:
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environement variable.
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environment variable.
|
||||
required: false
|
||||
subscription_password:
|
||||
description:
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environement variable.
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environment variable.
|
||||
required: false
|
||||
wait:
|
||||
description:
|
||||
|
||||
@@ -40,11 +40,11 @@ options:
|
||||
required: true
|
||||
subscription_user:
|
||||
description:
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environement variable.
|
||||
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environment variable.
|
||||
required: false
|
||||
subscription_password:
|
||||
description:
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environement variable.
|
||||
- THe ProfitBricks password. Overrides the PB_PASSWORD environment variable.
|
||||
required: false
|
||||
wait:
|
||||
description:
|
||||
|
||||
@@ -118,7 +118,7 @@ options:
|
||||
default: null
|
||||
post_uri:
|
||||
description:
|
||||
- URL of a post provisioning script ot be loaded and exectued on virtual instance
|
||||
- URL of a post provisioning script to be loaded and executed on virtual instance
|
||||
required: false
|
||||
default: null
|
||||
state:
|
||||
|
||||
@@ -794,7 +794,7 @@ class PyVmomiHelper(object):
|
||||
clonespec_kwargs['config'].memoryMB = \
|
||||
int(self.params['hardware']['memory_mb'])
|
||||
|
||||
# lets try and assign a static ip addresss
|
||||
# lets try and assign a static ip address
|
||||
if self.params['customize'] is True:
|
||||
ip_settings = list()
|
||||
if self.params['ips']:
|
||||
|
||||
@@ -84,7 +84,7 @@ options:
|
||||
default: None
|
||||
vm_shell_env:
|
||||
description:
|
||||
- Comma seperated list of envirnoment variable, specified in the guest OS notation
|
||||
- Comma separated list of envirnoment variable, specified in the guest OS notation
|
||||
required: False
|
||||
default: None
|
||||
vm_shell_cwd:
|
||||
|
||||
Reference in New Issue
Block a user