d6858a3315
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 |
||
---|---|---|
.. | ||
cli | ||
__init__.py | ||
fakes.py | ||
test_ansible.py | ||
test_group.py | ||
test_utils.py | ||
test_validation_actions.py | ||
test_validation_log.py | ||
test_validation_logs.py | ||
test_validation.py |