RETIRED, A collection of Ansible playbooks to detect and report potential issues during TripleO deployments
Go to file
Gael Chamoulaud (Strider) 1a737336c5
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)
(cherry picked from commit b7b6b3f3c8)
2021-03-22 12:25:21 +01:00
.ansible-lint_rules Add custom ansible-lint rule for Role Names 2020-03-03 13:47:31 +00:00
_skeleton_role_ Use the UBI8 image for testing 2021-03-19 07:07:51 +01:00
callback_plugins Remove callback plugin from tripleo-validation 2020-11-10 09:39:04 +01:00
doc Use the UBI8 image for testing 2021-03-19 07:07:51 +01:00
library Remove useless __init__.py file in library 2021-01-21 12:26:28 +01:00
lookup_plugins Use the default flavor name when flavor parameter is not defined 2020-11-05 14:55:19 +00:00
playbooks Introducing the overcloud-service-status role 2021-02-15 06:26:13 -05:00
releasenotes Introducing the overcloud-service-status role 2021-02-15 06:26:13 -05:00
roles Use the UBI8 image for testing 2021-03-19 07:07:51 +01:00
scripts Use the UBI8 image for testing 2021-03-19 07:07:51 +01:00
tests Convert tox to native zuul 2019-08-09 09:24:17 +02:00
tools Use the UBI8 image for testing 2021-03-19 07:07:51 +01:00
tripleo_validations Generate inventory without any overcloud 2021-01-26 06:41:25 +01:00
zuul.d Merge "Use the UBI8 image for testing" into stable/train 2021-03-19 23:57:20 +00:00
.ansible-lint Remove ceph-pg from openstack tripleo validator run groups 2020-10-27 01:28:10 +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/train 2019-10-23 09:43:50 +00:00
.mailmap Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
.pre-commit-config.yaml Removed workaround for ansible-lint issue 2020-01-23 14:56:22 +01:00
.testr.conf Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
.yamllint Validate the playboooks metadata structure 2020-01-23 14:56:25 +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-08 06:10:51 +00:00
ansible-test-env.rc Use the UBI8 image for testing 2021-03-19 07:07:51 +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:07:51 +01:00
groups.yaml Add new Upgrades validation groups. 2020-09-01 17:10:09 +02: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:07:51 +01:00
requirements.txt tripleo-validations failing on lower constraints 2020-04-09 15:22:19 +01:00
role-addition.yml Use the UBI8 image for testing 2021-03-19 07:07:51 +01:00
setup.cfg Change path for validation Ansible files 2021-01-21 15:36:47 +01:00
setup.py Updated from global requirements 2017-03-02 17:55:09 +00:00
test-requirements.txt Linting hardening with pre-commit 2019-08-06 15:21:25 +02:00
tox.ini Introduce tox-ansible to tripleo-validations 2021-03-22 12:25:21 +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.