validations-common/validations_common/callback_plugins
Jiri Podivin 26ea5efffc callback adjustment for no hosts matched
The validation_json callback will now consider the no hosts being matched
case as a validation failure. And record the result as such.

To prevent unnecessary confusion, the host indicated in the created
log file will be designated as 'No host matched'. And will be displayed
as such on the VF stdout.

Basic test coverage included.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I613203698b726941162239185de77949bf30254c
2021-08-24 06:47:42 +00:00
..
__init__.py explanation why plugins don't respect normal naming coventions 2021-02-22 10:02:50 +01:00
fail_if_no_hosts.py Make file permission uniform and remove python shebangs 2020-03-25 12:37:27 +00:00
http_json.py Add external http logging callback 2021-01-28 09:28:52 +01:00
validation_json.py callback adjustment for no hosts matched 2021-08-24 06:47:42 +00:00
validation_output.py Stop to use the __future__ module. 2020-06-02 21:06:44 +02:00
validation_stdout.py functools provide reduce instead of the ansible 2021-06-09 13:07:07 +02:00