Misc typo for Ansible
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
33c61d1cdf
commit
e8072ee616
5 changed files with 6 additions and 6 deletions
|
@ -96,7 +96,7 @@ class VaultCLI(CLI):
|
||||||
self.parser = CLI.base_parser(
|
self.parser = CLI.base_parser(
|
||||||
vault_opts=True,
|
vault_opts=True,
|
||||||
usage="usage: %%prog [%s] [options] [vaultfile.yml]" % "|".join(self.VALID_ACTIONS),
|
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])
|
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
|
This function will return an error or exit gracefully depending on check mode status
|
||||||
and if the service is missing or not.
|
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 found: boolean indicating if services was found or not
|
||||||
:arg service: name of service
|
:arg service: name of service
|
||||||
:kw msg: extra info to append to error/success msg when missing
|
: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.
|
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
|
:arg cmd: is a list or string representing the command and options to run
|
||||||
|
|
||||||
This is complex because daemonization is hard for people.
|
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):
|
def get_hostname_list(module):
|
||||||
# hostname is a list-typed param, so I guess it should return list
|
# 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
|
# I keep here the code to convert an eventual string to list
|
||||||
hostnames = module.params.get('hostnames')
|
hostnames = module.params.get('hostnames')
|
||||||
count = module.params.get('count')
|
count = module.params.get('count')
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
'''
|
'''
|
||||||
DOCUMENTATION:
|
DOCUMENTATION:
|
||||||
callback: default
|
callback: default
|
||||||
short_description: default Ansbile screen output
|
short_description: default Ansible screen output
|
||||||
version_added: historical
|
version_added: historical
|
||||||
description:
|
description:
|
||||||
- This is the default output callback for ansible-playbook.
|
- This is the default output callback for ansible-playbook.
|
||||||
|
|
|
@ -192,7 +192,7 @@ class CallbackModule(CallbackBase):
|
||||||
'ansible_task': result._task,
|
'ansible_task': result._task,
|
||||||
'ansible_result': self._dump_results(result._result)
|
'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):
|
def v2_runner_on_async_failed(self, result, **kwargs):
|
||||||
data = {
|
data = {
|
||||||
|
|
Loading…
Reference in a new issue