RETIRED, A collection of Ansible playbooks to detect and report potential issues during TripleO deployments
Go to file
Gael Chamoulaud (Strider) b7b6b3f3c8
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)
(cherry picked from commit 07c1e0f9b8)
2021-03-22 12:19:15 +01:00
.ansible-lint_rules Add custom ansible-lint rule for Role Names 2020-02-19 09:02:18 +01:00
_skeleton_role_ Use the UBI8 image for testing 2021-03-19 07:05:17 +01:00
callback_plugins Remove callback plugin from tripleo-validation 2020-09-24 15:25:19 +02:00
doc Use the UBI8 image for testing 2021-03-19 07:05:17 +01:00
library Remove useless __init__.py file in library 2021-01-21 12:24:49 +01:00
lookup_plugins Use the default flavor name when flavor parameter is not defined 2020-11-05 14:58:43 +00:00
playbooks Introducing the overcloud-service-status role 2021-02-12 12:44:57 -05:00
releasenotes Introducing the overcloud-service-status role 2021-02-12 12:44:57 -05:00
roles Optionally fail ceph-health if HEALTH_WARN 2021-03-19 07:05:26 +01:00
scripts Use the UBI8 image for testing 2021-03-19 07:05:17 +01:00
tests Remove the useless pytest import. 2020-05-15 11:49:46 +02:00
tools Use the UBI8 image for testing 2021-03-19 07:05:17 +01:00
tripleo_validations Generate inventory without any overcloud 2021-01-26 06:39:06 +01:00
zuul.d Merge "Use the UBI8 image for testing" into stable/ussuri 2021-03-19 16:31:19 +00:00
.ansible-lint Remove ceph-pg from openstack tripleo validator run groups 2020-11-02 07:46:03 +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/ussuri 2020-05-26 17:16:35 +00:00
.mailmap Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
.pre-commit-config.yaml Removed workaround for ansible-lint issue 2019-12-09 16:44:34 +00: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 Documentation update with the new validations architecture 2019-06-21 11:09:28 +02:00
ansible-role-requirements.yml Correct how the image_serve validation works 2020-10-05 14:01:31 +00:00
ansible-test-env.rc Use the UBI8 image for testing 2021-03-19 07:05:17 +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-03-19 07:05:17 +01:00
groups.yaml Add new Upgrades validation groups. 2020-08-28 05:58:22 +00:00
hosts.sample Documentation how validations work 2016-08-01 15:20:52 +02:00
molecule-requirements.txt Use the UBI8 image for testing 2021-03-19 07:05:17 +01:00
requirements.txt tripleo-validations failing on lower constraints 2020-03-27 07:37:53 +00:00
role-addition.yml Add new Upgrades validation groups. 2020-08-28 05:58:22 +00:00
setup.cfg Change path for validation Ansible files 2020-10-05 11:34:45 +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 2021-01-19 09:46:20 +01:00
tox.ini Introduce tox-ansible to tripleo-validations 2021-03-22 12:19:15 +01:00

README.rst

Team and repository tags

image

TripleO Validations

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.