Minor typos (#50371)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-01-15 17:07:00 +05:30 committed by John R Barker
parent 67b455a8ac
commit 4817dcd0fc
9 changed files with 10 additions and 11 deletions

View file

@ -233,7 +233,7 @@ class InventoryData(object):
g.remove_host(host)
def set_variable(self, entity, varname, value):
''' sets a varible for an inventory object '''
''' sets a variable for an inventory object '''
if entity in self.groups:
inv_object = self.groups[entity]

View file

@ -179,7 +179,7 @@ options:
implicit_flow_enabled:
description:
- Enable implicit flow for this client or not (OpenID connect).
This is 'implictFlowEnabled' in the Keycloak REST API.
This is 'implicitFlowEnabled' in the Keycloak REST API.
aliases:
- implicitFlowEnabled
type: bool

View file

@ -140,7 +140,7 @@ class DataLoader:
:arg file_name: The name of the file to read. If this is a relative
path, it will be expanded relative to the basedir
:raises AnsibleFileNotFOund: if the file_name does not refer to a file
:raises AnsibleFileNotFound: if the file_name does not refer to a file
:raises AnsibleParserError: if we were unable to read the file
:return: Returns a byte string of the file contents
'''

View file

@ -158,7 +158,6 @@ class Task(Base, Conditional, Taggable, Become):
raise AnsibleError("you must specify a value when using %s" % k, obj=ds)
new_ds['loop_with'] = loop_name
new_ds['loop'] = v
# FIXME: reenable afte 2.5
# display.deprecated("with_ type loops are being phased out, use the 'loop' keyword instead", version="2.10")
def preprocess_data(self, ds):
@ -441,7 +440,7 @@ class Task(Base, Conditional, Taggable, Become):
if _parent and (value is None or extend):
if getattr(_parent, 'statically_loaded', True):
# vars are always inheritable, other attributes might not be for the partent but still should be for other ancestors
# vars are always inheritable, other attributes might not be for the parent but still should be for other ancestors
if attr != 'vars' and hasattr(_parent, '_get_parent_attribute'):
parent_value = _parent._get_parent_attribute(attr)
else:

View file

@ -10,7 +10,7 @@ DOCUMENTATION = '''
callback: osx_say
type: notification
requirements:
- whitelising in configuration
- whitelisting in configuration
- the '/usr/bin/say' command line program (standard on macOS)
short_description: oneline Ansible screen output
version_added: historical

View file

@ -19,7 +19,7 @@ DOCUMENTATION = '''
- inventory_cache
options:
plugin:
description: the name of this plugin, it should alwys be set to 'foreman' for this plugin to recognize it as it's own.
description: the name of this plugin, it should always be set to 'foreman' for this plugin to recognize it as it's own.
required: True
choices: ['foreman']
url:

View file

@ -40,7 +40,7 @@ EXAMPLES = '''
http_port=8080 # all members of 'web' will inherit these
myvar=23 # defined in a :vars section, interpreted as a string
[web:children] # child groups will automatically add their hosts to partent group
[web:children] # child groups will automatically add their hosts to parent group
apache
nginx

View file

@ -95,7 +95,7 @@ class CryptHash(BaseHash):
def _rounds(self, rounds):
if rounds == self.algo_data.implicit_rounds:
# Passlib does not include the rounds if it is the same as implict_rounds.
# Passlib does not include the rounds if it is the same as implicit_rounds.
# Make crypt lib behave the same, by not explicitly specifying the rounds in that case.
return None
else:
@ -155,7 +155,7 @@ class PasslibHash(BaseHash):
return None
def _hash(self, secret, salt, salt_size, rounds):
# Not every hash algorithm supports every paramter.
# Not every hash algorithm supports every parameter.
# Thus create the settings dict only with set parameters.
settings = {}
if salt: