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>
pull/25593/head
Abhijeet Kasurde 8 years ago committed by John R Barker
parent 460d932aa8
commit b89cb95609

@ -1195,7 +1195,7 @@ Module fixes:
running rsync. In 1.9.x and previous, sudo was run on the host that rsync
connected to. 2.0.1 restores the 1.9.x behaviour.
* Additionally, several other problems with where synchronize chose to run when
combined with delegate_to were fixed. In particular, if a playbook targetted
combined with delegate_to were fixed. In particular, if a playbook targeted
localhost and then delegated_to a remote host the prior behavior (in 1.9.x
and 2.0.0.x) was to copy files between the src and destination directories on
the delegated host. This has now been fixed to copy between localhost and
@ -2728,7 +2728,7 @@ the variable is still registered for the host, with the attribute skipped: True.
* added basename and dirname as Jinja2 filters available to all templates
* pip works better when sudoing from unprivileged users
* fix for user creation with groups specification reporting 'changed' incorrectly in some cases
* fix for some unicode encoding errors in outputing some data in verbose mode
* fix for some unicode encoding errors in outputting some data in verbose mode
* improved FreeBSD, NetBSD and Solaris facts
* debug module always outputs data without having to specify -v
* fix for sysctl module creating new keys (must specify checks=none)
@ -3102,7 +3102,7 @@ New Modules:
* new LSB facts (release, distro, etc)
* pause module -- (pause seconds=10) (pause minutes=1) (pause prompt=foo) -- it's an action plugin
* a module for adding entries to the main crontab (though you may still wish to just drop template files into cron.d)
* debug module can be used for outputing messages without using 'shell echo'
* debug module can be used for outputting messages without using 'shell echo'
* a fail module is now available for causing errors, you might want to use it with only_if to fail in certain conditions
Other module Changes, Upgrades, and Fixes:

@ -27,7 +27,7 @@ of hosts, groups the hosts are in, and even variables to assign to each host.
To use this:
- copy this file over /etc/ansible/hosts and chmod +x the file.
- Copy both files (.py and .ini) in your prefered directory
- Copy both files (.py and .ini) in your preferred directory
More information about Ansible Dynamic Inventory here
http://unix.stackexchange.com/questions/205479/in-ansible-dynamic-inventory-json-can-i-render-hostvars-based-on-the-hostname

@ -12,7 +12,7 @@ variables needed for Boto have already been set:
export AWS_ACCESS_KEY_ID='AK123'
export AWS_SECRET_ACCESS_KEY='abc123'
optional region environement variable if region is 'auto'
optional region environment variable if region is 'auto'
This script also assumes there is an ec2.ini file alongside it. To specify a
different path to ec2.ini, define the EC2_INI_PATH environment variable:
@ -723,7 +723,7 @@ class Ec2Inventory(object):
''' Makes an AWS API call to the list of ElastiCache clusters (with
nodes' info) in a particular region.'''
# ElastiCache boto module doesn't provide a get_all_intances method,
# ElastiCache boto module doesn't provide a get_all_instances method,
# that's why we need to call describe directly (it would be called by
# the shorthand method anyway...)
try:
@ -759,7 +759,7 @@ class Ec2Inventory(object):
''' Makes an AWS API call to the list of ElastiCache replication groups
in a particular region.'''
# ElastiCache boto module doesn't provide a get_all_intances method,
# ElastiCache boto module doesn't provide a get_all_instances method,
# that's why we need to call describe directly (it would be called by
# the shorthand method anyway...)
try:

@ -19,7 +19,7 @@
# default field group for host: groups
# Uncomment to override:
# group_field=state
# default fields retrieved: address, alias, display_name, childs, parents
# default fields retrieved: address, alias, display_name, children, parents
# To override, uncomment the following line
# fields_to_retrieve=address,alias,display_name
#

@ -94,7 +94,7 @@ if __name__ == '__main__':
myclass = "%sCLI" % libname.capitalize()
output[libname] = 'ansible-%s.1.asciidoc.in' % libname
# instanciate each cli and ask its options
# instantiate each cli and ask its options
mycli = getattr(__import__("ansible.cli.%s" % libname, fromlist=[myclass]), myclass)
cli_object = mycli([])
try:

@ -29,6 +29,7 @@ Although it's tempting to get straight into coding, there are a few things to be
* Although not required, unit and/or integration tests are strongly recommended. Unit tests are especially valuable when external resources (such as cloud or network devices) are required. For more information see :doc:`testing` and the `Testing Working Group <https://github.com/ansible/community/blob/master/MEETINGS.md>`_.
* Starting with Ansible 2.4 all :doc:`../list_of_network_modules` MUST have unit tests.
Naming Convention
`````````````````
@ -142,7 +143,7 @@ We realise this may be your first use of Git or GitHub. The following guides may
* `How to sync (update) your fork <https://help.github.com/articles/syncing-a-fork/>`_
* `How to create a Pull Request (PR) <https://help.github.com/articles/about-pull-requests/>`_
Please note that in the Ansible Git Repo the main branch is called ``devel`` rather than ``master``, which is used in the offical GitHub documentation
Please note that in the Ansible Git Repo the main branch is called ``devel`` rather than ``master``, which is used in the official GitHub documentation
After your first PR has been merged ensure you "sync your fork" with ``ansible/ansible`` to ensure you've pulled in the directory structure and and shared code or documentation previously created.

@ -169,9 +169,9 @@ Ansible allows you to use conditionals to control the flow of your playbooks. An
* contains - Object contains specified item
Conditional statements evalute the results from the commands that are
Conditional statements evaluate the results from the commands that are
executed remotely on the device. Once the task executes the command
set, the waitfor argument can be used to evalute the results before
set, the waitfor argument can be used to evaluate the results before
returning control to the Ansible playbook.
For example::

@ -55,7 +55,7 @@ At the prompt you can quickly start using the Ansible devel branch by running th
git clone https://github.com/ansible/ansible.git
source ansible/hacking/env-setup
After you've successfully run these commands, you can start to create your inventory, write example playbooks and start targetting systems using the plethora of available Windows modules.
After you've successfully run these commands, you can start to create your inventory, write example playbooks and start targeting systems using the plethora of available Windows modules.
.. Note:: Ansible is also reported to work on Cygwin, but this is more cumbersome and doesn't scale as well as WSL.
@ -469,7 +469,7 @@ You may wind up with a more readable playbook by using the PowerShell equivalent
- name: Move file on remote Windows Server from one location to another
win_command: Powershell.exe "Move-Item C:\teststuff\myfile.conf C:\builds\smtp.conf"
Bear in mind that using ``win_command`` or ``win_shell`` will always report ``changed``, and it is your responsiblity to ensure PowerShell will need to handle idempotency as appropriate (the move examples above are inherently not idempotent), so where possible use (or write) a module.
Bear in mind that using ``win_command`` or ``win_shell`` will always report ``changed``, and it is your responsibility to ensure PowerShell will need to handle idempotency as appropriate (the move examples above are inherently not idempotent), so where possible use (or write) a module.
Here's an example of how to use the ``win_stat`` module to test for file existence. Note that the data returned by the ``win_stat`` module is slightly different than what is provided by the Linux equivalent::

@ -3,7 +3,7 @@ Module Support
.. toctree:: :maxdepth: 1
Ansible has many modules, but not all of them are maintained by the core project commiters. Each module should have associated metadata that indicates which of the following categories they fall into. This should be visible in each module's documentation.
Ansible has many modules, but not all of them are maintained by the core project committers. Each module should have associated metadata that indicates which of the following categories they fall into. This should be visible in each module's documentation.
Documentation updates for each module can also be edited directly in the module and by submitting a pull request to the module source code; just look for the "DOCUMENTATION" block in the source tree.

@ -473,7 +473,7 @@ Since there are too many parameters for this lookup method, below is a sample pl
#optional query parameters
#we accept any parameter from the normal mongodb query.
# the offical documentation is here
# the official documentation is here
# https://api.mongodb.org/python/current/api/pymongo/collection.html?highlight=find#pymongo.collection.Collection.find
# filter: { "hostname": "batman" }
projection: { "pid": True , "_id" : False , "hostname" : True }

@ -45,7 +45,7 @@
## beta.example.org:
# Ex 4: all vars
# keeping withing 'all' group you can define common 'all' vars here with lowest precedence
# keeping within 'all' group you can define common 'all' vars here with lowest precedence
## vars:
## commontoall: thisvar

@ -16,7 +16,7 @@
# a 10-year valid certificate.
#
# Use option -ForceNewSSLCert if the system has been SysPreped and a new
# SSL Certifcate must be forced on the WinRM Listener when re-running this
# SSL Certificate must be forced on the WinRM Listener when re-running this
# script. This is necessary when a new SID and CN name is created.
#
# Use option -SkipNetworkProfileCheck to skip the network profile check.

@ -398,7 +398,7 @@ def write_metadata(filename, new_metadata, version=None, overwrite=False):
raise ParseError('Could not add metadata to {}'.format(filename))
if current_metadata is None:
# No curent metadata so we can just add it
# No current metadata so we can just add it
start_line = find_documentation(module_data)
if start_line < 0:
if os.path.basename(filename) in NONMODULE_PY_FILES:

@ -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:

@ -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):

@ -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(

@ -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

@ -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)

@ -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

@ -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

@ -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

@ -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:

@ -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')

@ -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

@ -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:

@ -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

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

@ -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:

@ -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:

@ -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"

@ -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
'''

@ -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
'''

@ -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"]
'''

@ -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"

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

@ -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
'''

@ -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"]

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

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

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

@ -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"

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

@ -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"

@ -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"

@ -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"]
'''

@ -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
'''

@ -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:

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

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

@ -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
'''

@ -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"

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

@ -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

@ -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"

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

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

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

@ -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"

@ -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
'''

@ -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"

@ -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"

@ -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"

@ -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"

@ -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
'''

@ -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"

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

@ -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"

@ -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"

@ -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"

@ -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"

@ -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)."

@ -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
'''

@ -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:

@ -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']:

@ -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:

@ -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,

@ -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,

@ -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,

@ -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:

@ -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)

@ -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:

@ -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'),

@ -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"]

@ -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

@ -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

@ -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:

@ -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.

@ -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

@ -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:

@ -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')

@ -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')

@ -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')

@ -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.

@ -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:

@ -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.

@ -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.

@ -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

@ -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:

@ -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:

@ -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'])

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

Loading…
Cancel
Save