RETIRED, A collection of Ansible playbooks to detect and report potential issues during TripleO deployments
Go to file
Gael Chamoulaud (Strider) 07c1e0f9b8
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
(cherry picked from commit edb1ad9210)
2021-03-22 12:11:20 +01:00
.ansible-lint_rules Remove six usage in ValidationHasMetadataRule.py 2021-02-11 07:24:01 +00:00
_skeleton_role_ Use the UBI8 image for testing 2021-01-05 09:35:23 +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-11 07:25:18 +00:00
doc Introducing the overcloud-service-status role 2021-02-16 01:35:05 +00:00
library Remove useless __init__.py file in library 2021-01-21 12:21:10 +01:00
lookup_plugins Use the default flavor name when flavor parameter is not defined 2020-10-26 14:00:01 +09:00
playbooks Introducing the overcloud-service-status role 2021-02-16 01:35:05 +00:00
releasenotes Introducing the overcloud-service-status role 2021-02-16 01:35:05 +00:00
roles Optionally fail ceph-health if HEALTH_WARN 2021-02-25 11:29:46 +01:00
scripts Fix molecule jobs after release of cryptography3.4 2021-02-11 07:25:18 +00:00
tests Remove the useless pytest import. 2020-05-15 11:49:46 +02:00
tools Convert docker molecule usage to podman 2020-10-11 17:20:26 +02:00
tripleo_validations Generate inventory without any overcloud 2021-01-26 06:36:29 +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 Update .gitreview for stable/victoria 2020-10-30 15:52:01 +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
.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
.zuul.yaml Remove linters dependency from content-provider in gate 2021-03-17 13:40:34 +02: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 2021-01-05 09:35:23 +01:00
ansible.cfg Add a validation-specific Ansible output callback 2016-10-13 14:37:42 +02:00
babel.cfg Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
bindep.txt Use the UBI8 image for testing 2021-01-05 09:35:23 +01:00
groups.yaml Add new Upgrades validation groups. 2020-08-19 16:36:59 +02:00
hosts.sample Documentation how validations work 2016-08-01 15:20:52 +02:00
molecule-requirements.txt Remove workaround for broken dogpile.cache and lower-constraints file 2020-12-18 09:42:35 +01:00
requirements.txt tripleo-validations failing on lower constraints 2020-03-27 07:37:53 +00:00
role-addition.yml Use a Literal Block Scalar instead of Folding one for validation 2020-10-19 07:40:00 +02:00
setup.cfg Revert "Revert "Change path for validation Ansible files"" 2020-09-25 08:31:35 +00:00
setup.py Cleanup py27 support 2020-04-13 19:03:51 +02:00
test-requirements.txt Remove workaround for broken dogpile.cache and lower-constraints file 2020-12-18 09:42:35 +01:00
tox.ini Introduce tox-ansible to tripleo-validations 2021-03-22 12:11:20 +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.