validations-libs/validations_libs
matbu d6858a3315 Provide a way to run non-Ansible Validation
This patch allow the user to provide non-ansible Validation
to run on the hosts.
The Python or bash script given by the user are still run with Ansible
to take benefits of the feature offer by Ansible (running tasks via ssh
on remote hosts).

The python or bash script provided via the CLI is dumped into a generic
playbook and run with Ansible via the script builtin module.

the CLI looks like:
validation run --validation py-val.py \
    --validation-dir /home/stack/validations \
    --type python --limit compute --inventory /home/stack/myhost.yaml

Change-Id: I5eb4b62d30aab823de0a361128d0bff767be69aa
2021-06-02 10:29:19 +02:00
..
cli Provide a way to run non-Ansible Validation 2021-06-02 10:29:19 +02:00
tests Provide a way to run non-Ansible Validation 2021-06-02 10:29:19 +02:00
__init__.py Init python project structure 2020-02-28 11:20:15 +01:00
ansible.py Elevate the verbosity level when running validation(s) 2021-05-14 10:33:56 +00:00
constants.py Provide a way to run non-Ansible Validation 2021-06-02 10:29:19 +02:00
group.py Add Docstrings to validations_libs/group.py file 2020-11-18 12:21:28 +01:00
utils.py Fixes string formatting of the error msg log 2021-03-10 09:13:39 +01:00
validation_actions.py Provide a way to run non-Ansible Validation 2021-06-02 10:29:19 +02:00
validation_logs.py Exceptions now indicate cause where applicable 2021-04-16 16:47:58 +02:00
validation.py Merge "Fix the syntax for groups in documentation." 2021-03-15 21:05:12 +00:00