mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 16:11:22 -07:00
Minor typos (#50371)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
67b455a8ac
commit
4817dcd0fc
9 changed files with 10 additions and 11 deletions
|
@ -233,7 +233,7 @@ class InventoryData(object):
|
||||||
g.remove_host(host)
|
g.remove_host(host)
|
||||||
|
|
||||||
def set_variable(self, entity, varname, value):
|
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:
|
if entity in self.groups:
|
||||||
inv_object = self.groups[entity]
|
inv_object = self.groups[entity]
|
||||||
|
|
|
@ -179,7 +179,7 @@ options:
|
||||||
implicit_flow_enabled:
|
implicit_flow_enabled:
|
||||||
description:
|
description:
|
||||||
- Enable implicit flow for this client or not (OpenID connect).
|
- 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:
|
aliases:
|
||||||
- implicitFlowEnabled
|
- implicitFlowEnabled
|
||||||
type: bool
|
type: bool
|
||||||
|
|
|
@ -140,7 +140,7 @@ class DataLoader:
|
||||||
|
|
||||||
:arg file_name: The name of the file to read. If this is a relative
|
:arg file_name: The name of the file to read. If this is a relative
|
||||||
path, it will be expanded relative to the basedir
|
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
|
:raises AnsibleParserError: if we were unable to read the file
|
||||||
:return: Returns a byte string of the file contents
|
:return: Returns a byte string of the file contents
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -158,7 +158,6 @@ class Task(Base, Conditional, Taggable, Become):
|
||||||
raise AnsibleError("you must specify a value when using %s" % k, obj=ds)
|
raise AnsibleError("you must specify a value when using %s" % k, obj=ds)
|
||||||
new_ds['loop_with'] = loop_name
|
new_ds['loop_with'] = loop_name
|
||||||
new_ds['loop'] = v
|
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")
|
# display.deprecated("with_ type loops are being phased out, use the 'loop' keyword instead", version="2.10")
|
||||||
|
|
||||||
def preprocess_data(self, ds):
|
def preprocess_data(self, ds):
|
||||||
|
@ -441,7 +440,7 @@ class Task(Base, Conditional, Taggable, Become):
|
||||||
|
|
||||||
if _parent and (value is None or extend):
|
if _parent and (value is None or extend):
|
||||||
if getattr(_parent, 'statically_loaded', True):
|
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'):
|
if attr != 'vars' and hasattr(_parent, '_get_parent_attribute'):
|
||||||
parent_value = _parent._get_parent_attribute(attr)
|
parent_value = _parent._get_parent_attribute(attr)
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -47,7 +47,7 @@ DOCUMENTATION = '''
|
||||||
key: ssl_key
|
key: ssl_key
|
||||||
verify_certs:
|
verify_certs:
|
||||||
description:
|
description:
|
||||||
- Toggle to decidewhether to verify the Foreman certificate.
|
- Toggle to decide whether to verify the Foreman certificate.
|
||||||
- It can be set to '1' to verify SSL certificates using the installed CAs or to a path pointing to a CA bundle.
|
- It can be set to '1' to verify SSL certificates using the installed CAs or to a path pointing to a CA bundle.
|
||||||
- Set to '0' to disable certificate checking.
|
- Set to '0' to disable certificate checking.
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -10,7 +10,7 @@ DOCUMENTATION = '''
|
||||||
callback: osx_say
|
callback: osx_say
|
||||||
type: notification
|
type: notification
|
||||||
requirements:
|
requirements:
|
||||||
- whitelising in configuration
|
- whitelisting in configuration
|
||||||
- the '/usr/bin/say' command line program (standard on macOS)
|
- the '/usr/bin/say' command line program (standard on macOS)
|
||||||
short_description: oneline Ansible screen output
|
short_description: oneline Ansible screen output
|
||||||
version_added: historical
|
version_added: historical
|
||||||
|
|
|
@ -19,7 +19,7 @@ DOCUMENTATION = '''
|
||||||
- inventory_cache
|
- inventory_cache
|
||||||
options:
|
options:
|
||||||
plugin:
|
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
|
required: True
|
||||||
choices: ['foreman']
|
choices: ['foreman']
|
||||||
url:
|
url:
|
||||||
|
|
|
@ -40,7 +40,7 @@ EXAMPLES = '''
|
||||||
http_port=8080 # all members of 'web' will inherit these
|
http_port=8080 # all members of 'web' will inherit these
|
||||||
myvar=23 # defined in a :vars section, interpreted as a string
|
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
|
apache
|
||||||
nginx
|
nginx
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ class CryptHash(BaseHash):
|
||||||
|
|
||||||
def _rounds(self, rounds):
|
def _rounds(self, rounds):
|
||||||
if rounds == self.algo_data.implicit_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.
|
# Make crypt lib behave the same, by not explicitly specifying the rounds in that case.
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
|
@ -155,7 +155,7 @@ class PasslibHash(BaseHash):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def _hash(self, secret, salt, salt_size, rounds):
|
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.
|
# Thus create the settings dict only with set parameters.
|
||||||
settings = {}
|
settings = {}
|
||||||
if salt:
|
if salt:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue