Fix spelling mistakes (comments only) (#25564)

Original Author : klemens <ka7@github.com>

Taking over previous PR as per
https://github.com/ansible/ansible/pull/23644#issuecomment-307334525

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde
2017-06-12 12:25:19 +05:30
committed by John R Barker
parent 460d932aa8
commit b89cb95609
158 changed files with 202 additions and 201 deletions

View File

@@ -148,7 +148,7 @@ class VaultCLI(CLI):
self.b_new_vault_pass = CLI.read_vault_password_file(self.options.new_vault_password_file, loader)
if not self.b_vault_pass or self.options.ask_vault_pass:
# the 'read' options dont need to ask for password confirmation.
# the 'read' options don't need to ask for password confirmation.
# 'edit' is read/write, but the decrypt will confirm.
if self.action in ['decrypt', 'edit', 'view', 'rekey']:
self.b_vault_pass = self.ask_vault_passwords()
@@ -213,7 +213,7 @@ class VaultCLI(CLI):
b_plaintext_list = []
# remove the non-option '-' arg (used to indicate 'read from stdin') from the candidate args so
# we dont add it to the plaintext list
# we don't add it to the plaintext list
args = [x for x in self.args if x != '-']
# We can prompt and read input, or read from stdin, but not both.
@@ -298,7 +298,7 @@ class VaultCLI(CLI):
# TODO: offer block or string ala eyaml
def _format_output_vault_strings(self, b_plaintext_list):
# If we are only showing one item in the output, we dont need to included commented
# If we are only showing one item in the output, we don't need to included commented
# delimiters in the text
show_delimiter = False
if len(b_plaintext_list) > 1:

View File

@@ -331,7 +331,7 @@ class PlayIterator:
# First, we check for a child task state that is not failed, and if we
# have one recurse into it for the next task. If we're done with the child
# state, we clear it and drop back to geting the next task from the list.
# state, we clear it and drop back to getting the next task from the list.
if state.tasks_child_state:
(state.tasks_child_state, task) = self._get_next_task_from_state(state.tasks_child_state, host=host, peek=peek, in_child=True)
if self._check_failed_state(state.tasks_child_state):

View File

@@ -550,7 +550,7 @@ class BaseModule(object):
)
self.post_update(entity)
# Update diffs only if user specified --diff paramter,
# Update diffs only if user specified --diff parameter,
# so we don't useless overload API:
if self._module._diff:
before = get_dict_of_struct(

View File

@@ -67,7 +67,7 @@ def get_sysv_script(name):
def sysv_exists(name):
'''
This function will return True or False depending on
the existance of an init script corresponding to the service name supplied.
the existence of an init script corresponding to the service name supplied.
:arg name: name of the service to test for
'''
@@ -93,7 +93,7 @@ def fail_if_missing(module, found, service, msg=''):
def daemonize(module, cmd):
'''
Execute a command while detaching as a deamon, returns rc, stdout, and stderr.
Execute a command while detaching as a daemon, returns rc, stdout, and stderr.
:arg module: is an AnsbileModule object, used for it's utility methods
:arg cmd: is a list or string representing the command and options to run

View File

@@ -468,7 +468,7 @@ def generic_urlparse(parts):
# so remove it and convert the port to an integer
port = int(port[1:])
if auth:
# the capture group above inclues the @, so remove it
# the capture group above includes the @, so remove it
# and then split it up based on the first ':' found
auth = auth[:-1]
username, password = auth.split(':', 1)

View File

@@ -45,7 +45,7 @@ options:
description:
- List of firewall inbound rules to enforce in this group (see example). If none are supplied,
no inbound rules will be enabled. Rules list may include its own name in `group_name`.
This allows idempotent loopback additions (e.g. allow group to acccess itself).
This allows idempotent loopback additions (e.g. allow group to access itself).
Rule sources list support was added in version 2.4. This allows to define multiple sources per
source type as well as multiple source types per rule. Prior to 2.4 an individual source is allowed.
required: false

View File

@@ -30,7 +30,7 @@ options:
lookup:
description:
- "Look up route table by either tags or by route table ID. Non-unique tag lookup will fail.
If no tags are specifed then no lookup for an existing route table is performed and a new
If no tags are specified then no lookup for an existing route table is performed and a new
route table will be created. To change tags of a route table or delete a route table,
you must look up by id."
required: false

View File

@@ -253,7 +253,7 @@ EXAMPLES = '''
bucket: mybucket
mode: delete
- name: GET an object but dont download if the file checksums match. New in 2.0
- name: GET an object but don't download if the file checksums match. New in 2.0
s3:
bucket: mybucket
object: /my/desired/key.txt

View File

@@ -207,7 +207,7 @@ def main():
"the 'json' message_structure.")
# .publish() takes full ARN topic id, but I'm lazy and type shortnames
# so do a lookup (topics cannot contain ':', so thats the decider)
# so do a lookup (topics cannot contain ':', so that's the decider)
if ':' in topic:
arn_topic = topic
else:

View File

@@ -872,7 +872,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
def stop_instance(self):
instance = self.get_instance()
# in check mode intance may not be instanciated
# in check mode instance may not be instanciated
if instance:
if instance['state'].lower() in ['stopping', 'stopped']:
return instance
@@ -893,7 +893,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
def start_instance(self):
instance = self.get_instance()
# in check mode intance may not be instanciated
# in check mode instance may not be instanciated
if instance:
if instance['state'].lower() in ['starting', 'running']:
return instance
@@ -914,7 +914,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
def restart_instance(self):
instance = self.get_instance()
# in check mode intance may not be instanciated
# in check mode instance may not be instanciated
if instance:
if instance['state'].lower() in [ 'running', 'starting' ]:
self.result['changed'] = True
@@ -936,7 +936,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
def restore_instance(self):
instance = self.get_instance()
self.result['changed'] = True
# in check mode intance may not be instanciated
# in check mode instance may not be instanciated
if instance:
args = {}
args['templateid'] = self.get_template_or_iso(key='id')

View File

@@ -82,7 +82,7 @@ extends_documentation_fragment: cloudstack
'''
EXAMPLES = '''
# Add VMs to an exising load balancer
# Add VMs to an existing load balancer
- local_action:
module: cs_loadbalancer_rule_member
name: balance_http

View File

@@ -38,7 +38,7 @@ options:
required: true
id:
description:
- uuid of the exising pod.
- uuid of the existing pod.
default: null
required: false
start_ip:

View File

@@ -161,7 +161,7 @@ region_level_vpc:
type: boolean
sample: true
restart_required:
description: "Wheter the VPC router needs a restart or not."
description: "Whether the VPC router needs a restart or not."
returned: success
type: boolean
sample: true

View File

@@ -38,7 +38,7 @@ options:
required: true
id:
description:
- uuid of the exising zone.
- uuid of the existing zone.
default: null
required: false
state:

View File

@@ -56,7 +56,7 @@ options:
- The DNS domain name of the zone (e.g., example.com).
- One of either I(zone) or I(zone_id) must be specified as an
option, or the module will fail.
- If both I(zone) and I(zone_id) are specifed, I(zone_id) will be
- If both I(zone) and I(zone_id) are specified, I(zone_id) will be
used.
required: false
zone_id:
@@ -68,7 +68,7 @@ options:
with dashes. A zone ID will never have any dots in it.
- I(zone_id) can be faster than I(zone) in projects with a large
number of zones.
- If both I(zone) and I(zone_id) are specifed, I(zone_id) will be
- If both I(zone) and I(zone_id) are specified, I(zone_id) will be
used.
required: false
type:

View File

@@ -193,7 +193,7 @@ author: "Eric Johnson (@erjohnso) <erjohnso@google.com>, Tom Melendez (@supertom
EXAMPLES = '''
# Basic provisioning example. Create a single Debian 8 instance in the
# us-central1-a Zone of the n1-standard-1 machine type.
# Create multiple instances by specifying multiple names, seperated by
# Create multiple instances by specifying multiple names, separated by
# commas in the instance_names field
# (e.g. my-test-instance1,my-test-instance2)
gce:

View File

@@ -81,7 +81,7 @@ options:
version_added: "2.3"
alert_bwquota_enabled:
description:
- Set status of bandwidth quota alerts as percentage of network tranfer quota.
- Set status of bandwidth quota alerts as percentage of network transfer quota.
default: "True"
choices: [ "True", "False" ]
version_added: "2.3"

View File

@@ -34,7 +34,7 @@ requirements:
options:
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: openstack
'''

View File

@@ -83,7 +83,7 @@ options:
version_added: "2.3"
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: openstack
'''

View File

@@ -91,7 +91,7 @@ options:
version_added: "2.1"
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements: ["shade"]
'''

View File

@@ -52,7 +52,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -95,7 +95,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements: ["shade"]
'''

View File

@@ -39,7 +39,7 @@ options:
required: true
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: openstack
'''

View File

@@ -121,7 +121,7 @@ options:
default: false
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements: ["shade", "jsonpatch"]

View File

@@ -61,7 +61,7 @@ options:
default: 1200
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements: ["shade"]

View File

@@ -109,7 +109,7 @@ options:
version_added: "2.1"
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
'''

View File

@@ -56,7 +56,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements: []
'''

View File

@@ -54,7 +54,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -44,7 +44,7 @@ options:
default: None
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
'''

View File

@@ -40,7 +40,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -56,7 +56,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -85,7 +85,7 @@ options:
version_added: "2.1"
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements: ["shade"]
'''

View File

@@ -43,7 +43,7 @@ options:
required: false
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: openstack
'''

View File

@@ -85,7 +85,7 @@ options:
default: "auto"
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
extra_specs:
description:

View File

@@ -57,7 +57,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
'''

View File

@@ -104,7 +104,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
'''

View File

@@ -48,7 +48,7 @@ options:
default: null
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: openstack
'''

View File

@@ -61,7 +61,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -49,7 +49,7 @@ options:
default: None
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
'''

View File

@@ -165,7 +165,7 @@ options:
description: Number of LVM volumes to allow.
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false

View File

@@ -64,7 +64,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -76,7 +76,7 @@ options:
default: None
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements: ["shade"]
'''

View File

@@ -48,7 +48,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
'''

View File

@@ -78,7 +78,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements: ["shade"]
'''

View File

@@ -62,7 +62,7 @@ options:
version_added: "2.3"
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -49,7 +49,7 @@ options:
default: false
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: openstack
'''

View File

@@ -50,7 +50,7 @@ options:
required: false
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -52,7 +52,7 @@ options:
default: None
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -69,7 +69,7 @@ options:
default: 3600
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -123,7 +123,7 @@ options:
version_added: "2.1"
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -43,7 +43,7 @@ options:
required: false
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
extends_documentation_fragment: openstack
'''

View File

@@ -77,7 +77,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -49,7 +49,7 @@ options:
default: None
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
'''

View File

@@ -44,7 +44,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -66,7 +66,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -73,7 +73,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -66,7 +66,7 @@ options:
default: present
availability_zone:
description:
- Ignored. Present for backwards compatability
- Ignored. Present for backwards compatibility
required: false
requirements:
- "python >= 2.6"

View File

@@ -138,7 +138,7 @@ options:
migration_bandwidth:
description:
- "The bandwidth settings define the maximum bandwidth of both outgoing and incoming migrations per host."
- "Following bandwith options are supported:"
- "Following bandwidth options are supported:"
- "C(auto) - Bandwidth is copied from the I(rate limit) [Mbps] setting in the data center host network QoS."
- "C(hypervisor_default) - Bandwidth is controlled by local VDSM setting on sending host."
- "C(custom) - Defined by user (in Mbps)."

View File

@@ -51,7 +51,7 @@ options:
- "Default value is set by oVirt/RHV engine to I(false)."
ranges:
description:
- "List of MAC ranges. The from and to should be splitted by comma."
- "List of MAC ranges. The from and to should be split by comma."
- "For example: 00:1a:4a:16:01:51,00:1a:4a:16:01:61"
extends_documentation_fragment: ovirt
'''

View File

@@ -85,7 +85,7 @@ options:
- "C(lun_id) - LUN id(s)."
- "C(username) - A CHAP user name for logging into a target."
- "C(password) - A CHAP password for logging into a target."
- "C(override_luns) - If I(True) ISCSI storage domain luns will be overriden before adding."
- "C(override_luns) - If I(True) ISCSI storage domain luns will be overridden before adding."
- "Note that these parameters are not idempotent."
posixfs:
description:

View File

@@ -683,7 +683,7 @@ def main():
uuid = p['uuid']
state = p['state']
# Translate the state paramter into something we can use later on.
# Translate the state parameter into something we can use later on.
if state in ['present', 'running']:
vm_state = 'running'
elif state in ['stopped', 'created']:

View File

@@ -34,7 +34,7 @@ author: Peter Sprygada (@privateip)
options:
purge_rules:
description:
- If set to true, it will delete all rules in the gateway that are not given as paramter to this module.
- If set to true, it will delete all rules in the gateway that are not given as parameter to this module.
required: false
default: false
nat_rules:

View File

@@ -68,7 +68,7 @@ options:
subjectAltName:
required: false
description:
- SAN extention to attach to the certificate signing request
- SAN extension to attach to the certificate signing request
countryName:
required: false
aliases: [ 'C' ]
@@ -114,7 +114,7 @@ EXAMPLES = '''
privatekey_path: /etc/ssl/private/ansible.com.pem
commonName: www.ansible.com
# Generate an OpenSSL Certificate Signing Request with Subject informations
# Generate an OpenSSL Certificate Signing Request with Subject information
- openssl_csr:
path: /etc/ssl/csr/www.ansible.com.csr
privatekey_path: /etc/ssl/private/ansible.com.pem
@@ -253,7 +253,7 @@ class CertificateSigningRequest(object):
self.changed = False
def dump(self):
'''Serialize the object into a dictionnary.'''
'''Serialize the object into a dictionary.'''
result = {
'csr': self.path,

View File

@@ -182,7 +182,7 @@ class PrivateKey(object):
def dump(self):
"""Serialize the object into a dictionnary."""
"""Serialize the object into a dictionary."""
result = {
'size': self.size,

View File

@@ -53,7 +53,7 @@ options:
privatekey_path:
required: true
description:
- Path to the TLS/SSL private key from which to genereate the public key.
- Path to the TLS/SSL private key from which to generate the public key.
'''
EXAMPLES = '''
@@ -153,7 +153,7 @@ class PublicKey(object):
self.changed = False
def dump(self):
"""Serialize the object into a dictionnary."""
"""Serialize the object into a dictionary."""
result = {
'privatekey': self.privatekey_path,

View File

@@ -110,7 +110,7 @@ url:
returned: success
type: string
timeout:
description: the timout for plugin download
description: the timeout for plugin download
returned: success
type: string
stdout:

View File

@@ -660,7 +660,7 @@ def main():
except psycopg2.Error:
e = get_exception()
conn.rollback()
# psycopg2 errors come in connection encoding, reencode
# psycopg2 errors come in connection encoding, re-encode
msg = e.message.decode(conn.encoding).encode(sys.getdefaultencoding(),
'replace')
module.fail_json(msg=msg)

View File

@@ -71,7 +71,7 @@ options:
- If specified, the block will be inserted after the last match of
specified regular expression. A special value is available; C(EOF) for
inserting the block at the end of the file. If specified regular
expresion has no matches, C(EOF) will be used instead.
expression has no matches, C(EOF) will be used instead.
choices: [ 'EOF', '*regex*' ]
insertbefore:
required: false
@@ -80,7 +80,7 @@ options:
- If specified, the block will be inserted before the last match of
specified regular expression. A special value is available; C(BOF) for
inserting the block at the beginning of the file. If specified regular
expresion has no matches, the block will be inserted at the end of the
expression has no matches, the block will be inserted at the end of the
file.
choices: [ 'BOF', '*regex*' ]
create:

View File

@@ -404,7 +404,7 @@ def format_output(module, path, st):
isgid=bool(mode & stat.S_ISGID),
)
# Platform dependant flags:
# Platform dependent flags:
for other in [
# Some Linux
('st_blocks', 'blocks'),

View File

@@ -73,7 +73,7 @@ options:
description:
- List of Base-64 encoded server certificates.
- If option is omitted certificates will not be checked or changed.
- If an emtpy list is passed all assigned certificates will be removed.
- If an empty list is passed all assigned certificates will be removed.
- Certificates already assigned but not passed will be removed.
required: false
aliases: ["usercertificate"]

View File

@@ -119,7 +119,7 @@ version_added: "2.3"
'''
EXAMPLES = '''
# Ensure sudo rule is present thats allows all every body to execute any command on any host without beeing asked for a password.
# Ensure sudo rule is present that's allows all every body to execute any command on any host without being asked for a password.
- ipa_sudorule:
name: sudo_all_nopasswd
cmdcategory: all

View File

@@ -99,7 +99,7 @@ def main():
return status()
def wait_for_monit_to_stop_pending():
"""Fails this run if there is no status or it's pending/initalizing for timeout"""
"""Fails this run if there is no status or it's pending/initializing for timeout"""
timeout_time = time.time() + timeout
sleep_time = 5

View File

@@ -146,12 +146,12 @@ options:
default: no
low_flap_threshold:
description:
- The low threshhold for flap detection
- The low threshold for flap detection
required: false
default: null
high_flap_threshold:
description:
- The high threshhold for flap detection
- The high threshold for flap detection
required: false
default: null
custom:

View File

@@ -471,7 +471,7 @@ def main():
else:
changed = False
# Transmogrify the headers, replacing '-' with '_', since variables dont
# Transmogrify the headers, replacing '-' with '_', since variables don't
# work with dashes.
# In python3, the headers are title cased. Lowercase them to be
# compatible with the python2 behaviour.

View File

@@ -179,7 +179,7 @@ exo_dns_domain:
type: int
sample: null
whois_protected:
description: Wheter the whois is protected or not
description: Whether the whois is protected or not
returned: success
type: bool
sample: false

View File

@@ -115,7 +115,7 @@ changed:
returned: success
type: string
lease:
description: dictionnary containing host informations
description: dictionary containing host information
returned: success
type: complex
contains:

View File

@@ -247,7 +247,7 @@ def current_iface_config(module):
def build_address(module):
# if addr_method == 'dhcp', dont add IP address
# if addr_method == 'dhcp', don't add IP address
if module.params.get('addr_method') == 'dhcp':
return
_ipv4 = module.params.get('ipv4')

View File

@@ -195,7 +195,7 @@ def current_iface_config(module):
def build_address(module):
# if addr_method == 'dhcp', dont add IP address
# if addr_method == 'dhcp', don't add IP address
if module.params.get('addr_method') == 'dhcp':
return
_ipv4 = module.params.get('ipv4')

View File

@@ -240,7 +240,7 @@ def current_iface_config(module):
def build_address(module):
# if addr_method == 'dhcp', dont add IP address
# if addr_method == 'dhcp', don't add IP address
if module.params.get('addr_method') == 'dhcp':
return
_ipv4 = module.params.get('ipv4')

View File

@@ -251,7 +251,7 @@ class BigIpSslCertificate(object):
key_content = self.params['key_content']
passphrase = self.params['passphrase']
# Technically you dont need to provide us with anything in the form
# Technically you don't need to provide us with anything in the form
# of content for your cert, but that's kind of illogical, so we just
# return saying you didn't "do" anything if you left the cert and keys
# empty.

View File

@@ -126,7 +126,7 @@ options:
logtraffic_start:
version_added: "2.4"
description:
- Logs begining of session as well.
- Logs beginning of session as well.
default: false
choices: ["true", "false"]
comment:
@@ -168,7 +168,7 @@ EXAMPLES = """
RETURN = """
firewall_address_config:
description: full firewall adresses config string
description: full firewall addresses config string
returned: always
type: string
change_string:

View File

@@ -78,7 +78,7 @@ options:
required: No
default: Null
choices: [aggregation-group number, access or mode or trunk, description, auto or full or half,
recieve or send, port-priority, suspend-individual, timeout, receive or transmit or trap-notification,
receive or send, port-priority, suspend-individual, timeout, receive or transmit or trap-notification,
tlv-select, Load interval delay in seconds, counter, Name for the MAC Access List, mac-address in HHHH.HHHH.HHHH format,
THRESHOLD Value in unit of buffer cell, <64-9216> MTU in bytes-<64-9216> for L2 packet,<576-9216> for L3 IPv4 packet,
<1280-9216> for L3 IPv6 packet, enter the instance id, input or output, copp-system-policy,
@@ -94,7 +94,7 @@ options:
mac-phy-status or management-address or max-frame-size or port-description or port-protocol-vlan or
port-vlan or power-mdi or protocol-identity or system-capabilities or system-description or system-name
or vid-management or vlan-name, counter for load interval, policy input name, all or Copp class name to attach,
qos, queing, Enter the allowed traffic level, ipv6]
qos, queueing, Enter the allowed traffic level, ipv6]
interfaceArg4:
description:
- This is an overloaded interface fourth argument. Usage of this argument can be found is the User Guide referenced above.

View File

@@ -65,7 +65,7 @@ options:
required: No
default: Null
choices: [aggregation-group number, access or mode or trunk, description, auto or full or half,
recieve or send, port-priority, suspend-individual, timeout, receive or transmit or trap-notification,
receive or send, port-priority, suspend-individual, timeout, receive or transmit or trap-notification,
tlv-select, Load interval delay in seconds, counter, Name for the MAC Access List, mac-address in HHHH.HHHH.HHHH format,
THRESHOLD Value in unit of buffer cell, <64-9216> MTU in bytes-<64-9216> for L2 packet,<576-9216> for
L3 IPv4 packet, <1280-9216> for L3 IPv6 packet, enter the instance id, input or output, copp-system-policy,
@@ -81,7 +81,7 @@ options:
mac-phy-status or management-address or max-frame-size or port-description or port-protocol-vlan or
port-vlan or power-mdi or protocol-identity or system-capabilities or system-description or system-name
or vid-management or vlan-name, counter for load interval, policy input name, all or Copp class name to attach,
qos, queing, Enter the allowed traffic level, ipv6]
qos, queueing, Enter the allowed traffic level, ipv6]
interfaceArg4:
description:
- This is an overloaded Port Channel fourth argument. Usage of this argument can be found is the User Guide referenced above.

View File

@@ -103,7 +103,7 @@ options:
choices: ['line', 'block']
multiline_delimiter:
description:
- This arugment is used when pushing a multiline configuration
- This argument is used when pushing a multiline configuration
element to the Ordnance router. It specifies the character to use
as the delimiting character. This only applies to the
configuration action

View File

@@ -55,7 +55,7 @@ options:
default: null
cert_cn:
description:
- Certificate CN (common name) embeded in the certificate signature.
- Certificate CN (common name) embedded in the certificate signature.
required: true
default: null
signed_by:
@@ -126,7 +126,7 @@ def generate_cert(module, ip_address, key_filename, password,
client = paramiko.SSHClient()
# add policy to accept all host keys, I haven't found
# a way to retreive the instance SSH key fingerprint from AWS
# a way to retrieve the instance SSH key fingerprint from AWS
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
if not key_filename:

View File

@@ -38,7 +38,7 @@ options:
required: true
msg:
description:
- The message you wish to deliver as a notifcation
- The message you wish to deliver as a notification
required: true
title:
description:

View File

@@ -43,7 +43,7 @@ options:
api_key:
description:
- Mattermost webhook api key. Log into your mattermost site, go to
Menu -> Integration -> Incomming Webhook -> Add Incomming Webhook.
Menu -> Integration -> Incoming Webhook -> Add Incoming Webhook.
This will give you full URL. api_key is the last part.
http://mattermost.example.com/hooks/C(API_KEY)
required: true
@@ -147,7 +147,7 @@ def main():
if module.check_mode is False:
response, info = fetch_url(module=module, url=webhook_url, headers=headers, method='POST', data=payload)
#somthing's wrong
#something's wrong
if info['status'] != 200:
#some problem
result['msg'] = "Failed to send mattermost message, the error was: {0}".format(info['msg'])

View File

@@ -60,7 +60,7 @@ options:
channel:
description:
- Channel to send the message to. If absent, the message goes to the channel selected for the I(token)
specifed during the creation of webhook.
specified during the creation of webhook.
required: false
default: None
username:

View File

@@ -42,7 +42,7 @@ options:
version_added: "2.4"
name:
description:
- A package name, like C(foo), or mutliple packages, like C(foo, bar).
- A package name, like C(foo), or multiple packages, like C(foo, bar).
required: false
default: null
repository:

View File

@@ -404,7 +404,7 @@ class Rhsm(RegistrationBase):
to those pools.
Since a pool id is a more specific match, we only fallback to matching
against names if we didnt match pool ids.
against names if we didn't match pool ids.
Raises:
* Exception - if error occurs while running command

View File

@@ -269,7 +269,7 @@ class Swupd(object):
self.msg = "Failed to check for updates"
def verify_os(self):
"""Verifies filesystem agains specified or current version"""
"""Verifies filesystem against specified or current version"""
if self.module.check_mode:
self.module.exit_json(changed=self._needs_verify())

View File

@@ -133,7 +133,7 @@ class StackiHost:
auth_creds = {'USERNAME': module.params['stacki_user'],
'PASSWORD': module.params['stacki_password']}
# Get Intial CSRF
# Get Initial CSRF
cred_a = self.do_request(self.module, self.endpoint, method="GET")
cookie_a = cred_a.headers.get('Set-Cookie').split(';')
init_csrftoken = None

View File

@@ -248,7 +248,7 @@ EXAMPLES = '''
RETURN = '''
after:
description: last commit revision of the repository retrived during the update
description: last commit revision of the repository retrieved during the update
returned: success
type: string
sample: 4c020102a9cd6fe908c9a4a326a38f972f63a903

View File

@@ -75,7 +75,7 @@ EXAMPLES = '''
password: secret
system: ibox001
- name: Add multiple clients with RO access. Squash root priviledges
- name: Add multiple clients with RO access. Squash root privileges
infini_export_client:
client: "{{ item }}"
access_mode: RO

View File

@@ -54,7 +54,7 @@ options:
required: True
name:
description:
- If the host doesnt yet exist, the label to assign at creation time.
- If the host doesn't yet exist, the label to assign at creation time.
- If the hosts already exists, this is what is used to identify the host to apply any desired changes
required: True
host_type_index:
@@ -204,7 +204,7 @@ class Host(object):
if len(self.available_ports) > 0 and len(self.ports) <= len(self.available_ports):
for port in self.ports:
for free_port in self.available_ports:
# Desired Type matches but also make sure we havent already used the ID
# Desired Type matches but also make sure we haven't already used the ID
if not free_port['id'] in used_ids:
# update the port arg to have an id attribute
used_ids.append(free_port['id'])
@@ -318,7 +318,7 @@ class Host(object):
self.post_body['portsToUpdate'].update(dict(
portRef=self.other_host['hostPortRef'],
hostRef=self.host_obj['id'],
# Doesnt yet address port identifier or chap secret
# Doesn't yet address port identifier or chap secret
))
if apply:

View File

@@ -72,7 +72,7 @@ options:
description:
- The ID of the volume to manage or update.
- In order to create multiple volumes with the same name, but different volume_ids, please declare the I(volume_id)
parameter with an arbitary value. However, the specified volume_id will not be assigned to the newly created
parameter with an arbitrary value. However, the specified volume_id will not be assigned to the newly created
volume (since it's an auto-generated property).
required: false
default: None

View File

@@ -91,7 +91,7 @@ EXAMPLES = '''
state: present
become: yes
# Change inittab enrty startmyservice to runlevel "2" and processaction "wait".
# Change inittab entry startmyservice to runlevel "2" and processaction "wait".
- name: Change startmyservice to inittab
aix_inittab:
name: startmyservice

View File

@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
# Cronvar Plugin: The goal of this plugin is to provide an indempotent
# Cronvar Plugin: The goal of this plugin is to provide an idempotent
# method for set cron variable values. It should play well with the
# existing cron module as well as allow for manually added variables.
# Each variable entered will be preceded with a comment describing the

View File

@@ -34,7 +34,7 @@ options:
name:
description:
- Name of the encrypted block device as it appears in the C(/etc/crypttab) file, or
optionaly prefixed with C(/dev/mapper/), as it appears in the filesystem. I(/dev/mapper/)
optionally prefixed with C(/dev/mapper/), as it appears in the filesystem. I(/dev/mapper/)
will be stripped from I(name).
required: true
default: null

View File

@@ -243,7 +243,7 @@ def main():
# Check if the current value equals the value we want to set. If not, make
# a change
if current_value != value:
# If check mode, we know a change would have occured.
# If check mode, we know a change would have occurred.
if module.check_mode:
# So we will set the change to True
change = True

Some files were not shown because too many files have changed in this diff Show More