Misc typo for Ansible

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/24641/merge
Abhijeet Kasurde 8 years ago committed by Brian Coca
parent 33c61d1cdf
commit e8072ee616

@ -96,7 +96,7 @@ class VaultCLI(CLI):
self.parser = CLI.base_parser(
vault_opts=True,
usage="usage: %%prog [%s] [options] [vaultfile.yml]" % "|".join(self.VALID_ACTIONS),
desc="encryption/decryption utility for Ansbile data files",
desc="encryption/decryption utility for Ansible data files",
epilog="\nSee '%s <command> --help' for more information on a specific command.\n\n" % os.path.basename(sys.argv[0])
)

@ -79,7 +79,7 @@ def fail_if_missing(module, found, service, msg=''):
This function will return an error or exit gracefully depending on check mode status
and if the service is missing or not.
:arg module: is an AnsbileModule object, used for it's utility methods
:arg module: is an AnsibleModule object, used for it's utility methods
:arg found: boolean indicating if services was found or not
:arg service: name of service
:kw msg: extra info to append to error/success msg when missing
@ -95,7 +95,7 @@ def daemonize(module, cmd):
'''
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 module: is an AnsibleModule object, used for it's utility methods
:arg cmd: is a list or string representing the command and options to run
This is complex because daemonization is hard for people.

@ -335,7 +335,7 @@ def listify_string_name_or_id(s):
def get_hostname_list(module):
# hostname is a list-typed param, so I guess it should return list
# (and it does, in Ansbile 2.2.1) but in order to be defensive,
# (and it does, in Ansible 2.2.1) but in order to be defensive,
# I keep here the code to convert an eventual string to list
hostnames = module.params.get('hostnames')
count = module.params.get('count')

@ -17,7 +17,7 @@
'''
DOCUMENTATION:
callback: default
short_description: default Ansbile screen output
short_description: default Ansible screen output
version_added: historical
description:
- This is the default output callback for ansible-playbook.

@ -192,7 +192,7 @@ class CallbackModule(CallbackBase):
'ansible_task': result._task,
'ansible_result': self._dump_results(result._result)
}
self.logger.error("ansbile unreachable", extra=data)
self.logger.error("ansible unreachable", extra=data)
def v2_runner_on_async_failed(self, result, **kwargs):
data = {

Loading…
Cancel
Save