validations_libs.callback_plugins.vf_validation_output module

class validations_libs.callback_plugins.vf_validation_output.CallbackModule(display=None)[source]

Bases: CallbackBase

CALLBACK_NAME = 'validation_output'
CALLBACK_TYPE = 'stdout'
CALLBACK_VERSION = 2.0
print_failure_message(host_name, task_name, results, abridged_result)[source]

Print a human-readable error info from Ansible result dictionary.

v2_playbook_on_play_start(play)[source]
v2_playbook_on_stats(stats)[source]
v2_playbook_on_task_start(task, is_conditional)[source]
v2_runner_on_failed(result, **kwargs)[source]
v2_runner_on_ok(result, **kwargs)[source]
v2_runner_on_skipped(result, **kwargs)[source]
v2_runner_on_unreachable(result, **kwargs)[source]
validations_libs.callback_plugins.vf_validation_output.indent(text)[source]

Indent the given text by four spaces.