diff --git a/lib/ansible/inventory/data.py b/lib/ansible/inventory/data.py index e1838458910..6de14575218 100644 --- a/lib/ansible/inventory/data.py +++ b/lib/ansible/inventory/data.py @@ -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] diff --git a/lib/ansible/modules/identity/keycloak/keycloak_client.py b/lib/ansible/modules/identity/keycloak/keycloak_client.py index 7c1fe806dda..425304ca8df 100644 --- a/lib/ansible/modules/identity/keycloak/keycloak_client.py +++ b/lib/ansible/modules/identity/keycloak/keycloak_client.py @@ -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 diff --git a/lib/ansible/parsing/dataloader.py b/lib/ansible/parsing/dataloader.py index 390d0c25626..24c5d7ee0f3 100644 --- a/lib/ansible/parsing/dataloader.py +++ b/lib/ansible/parsing/dataloader.py @@ -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 ''' diff --git a/lib/ansible/playbook/task.py b/lib/ansible/playbook/task.py index 34cd15568f3..3a7e9395616 100644 --- a/lib/ansible/playbook/task.py +++ b/lib/ansible/playbook/task.py @@ -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: diff --git a/lib/ansible/plugins/callback/foreman.py b/lib/ansible/plugins/callback/foreman.py index 3d02dc9e0cf..5b0e2257292 100644 --- a/lib/ansible/plugins/callback/foreman.py +++ b/lib/ansible/plugins/callback/foreman.py @@ -47,7 +47,7 @@ DOCUMENTATION = ''' key: ssl_key verify_certs: 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. - Set to '0' to disable certificate checking. env: diff --git a/lib/ansible/plugins/callback/osx_say.py b/lib/ansible/plugins/callback/osx_say.py index dd20c4bfac8..d264e154bad 100644 --- a/lib/ansible/plugins/callback/osx_say.py +++ b/lib/ansible/plugins/callback/osx_say.py @@ -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 diff --git a/lib/ansible/plugins/inventory/foreman.py b/lib/ansible/plugins/inventory/foreman.py index c31b337286f..814e5828dc0 100644 --- a/lib/ansible/plugins/inventory/foreman.py +++ b/lib/ansible/plugins/inventory/foreman.py @@ -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: diff --git a/lib/ansible/plugins/inventory/ini.py b/lib/ansible/plugins/inventory/ini.py index a0b17d4409c..5728a4b9f85 100644 --- a/lib/ansible/plugins/inventory/ini.py +++ b/lib/ansible/plugins/inventory/ini.py @@ -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 diff --git a/lib/ansible/utils/encrypt.py b/lib/ansible/utils/encrypt.py index 2c359145b48..4a35d8cf0e6 100644 --- a/lib/ansible/utils/encrypt.py +++ b/lib/ansible/utils/encrypt.py @@ -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: