RETIRED, A collection of Ansible playbooks to detect and report potential issues during TripleO deployments
Go to file
Gael Chamoulaud (Strider) edb1ad9210
Introduce tox-ansible to tripleo-validations
This patch adds basic configuration for tox-ansible[1].

Tox-ansible is a plugin for tox which auto-generates tox environments
for running quality assurance tools like ansible-test or molecule. This
tool is rather tightly integrated for the official Molecule testing tool
that integrates with Ansible.

At first, it will allow us to list very quickly all the Ansible Molecule
tests for each roles with their scenario(s):

Example:

    $ tox -l
    ...
    roles-ceph-ceph-ansible-installed
    roles-ceph-default
    roles-check_kernel_version-default
    roles-check_network_gateway-default
    roles-check_rhsm_version-default
    roles-check_rhsm_version-rhsm_mismatch
    roles-check_undercloud_conf-config_OK
    roles-check_undercloud_conf-default
    roles-check_undercloud_conf-deprecated_drivers
    roles-check_undercloud_conf-deprecated_params
    roles-check_undercloud_conf-required_missing
    ...

However, we won't be able to execute them as it for now without to make
some small manual modifications in the molecule.yml file first before to
execute them. This will be covered as soon as possible in a following-patch.

[1] - https://github.com/ansible-community/tox-ansible

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: Ia1606db814f37a11e48508139b90cdd43c083f6b
2021-03-19 15:01:46 +01:00
.ansible-lint_rules Remove six usage in ValidationHasMetadataRule.py 2021-02-09 13:30:44 +01:00
_skeleton_role_ Use the UBI8 image for testing 2020-11-20 13:45:02 +01:00
callback_plugins Remove callback plugin from tripleo-validation 2020-09-23 11:35:21 +02:00
ci/playbooks Fix molecule jobs after release of cryptography3.4 2021-02-10 04:53:07 +00:00
doc Introducing the overcloud-service-status role 2021-02-16 01:35:38 +00:00
library Remove useless __init__.py file in library 2021-01-21 11:55:36 +01:00
lookup_plugins Use the default flavor name when flavor parameter is not defined 2020-10-26 14:00:01 +09:00
playbooks Merge "Rename system_encoding playbooks." 2021-03-18 15:26:01 +00:00
releasenotes Introducing the overcloud-service-status role 2021-02-16 01:35:38 +00:00
roles Use static inventory for component CI role and clean component list 2021-03-17 17:08:38 +01:00
scripts Merge "Activate virtual environment" 2021-03-11 21:32:06 +00:00
tests Replace user with openssh_keypair 2021-03-10 09:55:42 +01:00
tools Python tests are now run trough stestr. 2021-03-10 11:38:34 +01:00
tripleo_validations Fix api call to get_deployment_status 2021-02-24 16:08:13 -05:00
zuul.d Trigger molecule tests when modifying CI scripts 2021-03-10 09:55:07 +01:00
.ansible-lint Remove ceph-pg from openstack tripleo validator run groups 2020-10-21 19:35:27 +00:00
.coveragerc Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
.gitignore Add Ansible specific files to .gitignore 2017-10-06 13:31:28 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:30:05 +00:00
.mailmap Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
.pre-commit-config.yaml Bumps pre-commit config 2020-10-05 15:23:08 +02:00
.stestr.conf Python tests are now run trough stestr. 2021-03-10 11:38:34 +01:00
.testr.conf Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
.yamllint Validate the playboooks metadata structure 2020-01-13 14:03:10 +01:00
CONTRIBUTING.rst Update the bugs link to storyboard 2019-01-10 14:21:08 +00:00
HACKING.rst Update the doc links to the newest ones 2018-03-14 01:19:54 -07:00
LICENSE Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
MANIFEST.in Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
README.rst Docs: Use correct spec link 2020-09-30 15:42:29 +00:00
ansible-test-env.rc Use the UBI8 image for testing 2020-11-20 13:45:02 +01:00
ansible.cfg Update role-addition.yml playbook to manage molecule.yaml file again 2020-12-15 10:18:45 +01:00
babel.cfg Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
bindep.txt Use the UBI8 image for testing 2020-11-20 13:45:02 +01:00
groups.yaml Add new Update validation groups. 2021-01-30 09:02:58 -05:00
hosts.sample Documentation how validations work 2016-08-01 15:20:52 +02:00
molecule-requirements.txt Restrict Ansible dependency 2020-12-15 10:18:52 +01:00
requirements.txt Add setuptools. 2021-01-11 12:08:44 +01:00
role-addition.yml Trigger molecule tests when modifying CI scripts 2021-03-10 09:55:07 +01:00
setup.cfg Move tripleo validations CLI from tripleoclient to tripleo-validations repo 2021-01-11 12:05:01 +01:00
setup.py Cleanup py27 support 2020-04-13 19:03:51 +02:00
test-requirements.txt Python tests are now run trough stestr. 2021-03-10 11:38:34 +01:00
tox.ini Introduce tox-ansible to tripleo-validations 2021-03-19 15:01:46 +01:00

README.rst

TripleO Validations

image

A collection of Ansible roles and playbooks to detect and report potential issues during TripleO deployments.

The validations will help detect issues early in the deployment process and prevent field engineers from wasting time on misconfiguration or hardware issues in their environments.

All validations are written in Ansible and are written in a way that's consumable by the Mistral validation framework or by Ansible directly. They are available independently from the UI or the command line client.