tripleo-validations/roles/undercloud_process_count
Gael Chamoulaud (Strider) 8bd52a2fba
Add shared configuration for all molecule test
This patch adds a molecule configuration file at the repository
level (tripleo-validations/.config/molecule/config.yml) which defines
all the default values for molecule.yml files in all roles.

This patch also introduces a common Dockerfile (UBI8 image) shared
between all the role molecule tests. This Dockerfile will install the
CentOS 8.x Linux Repos and GPG Keys during the image build.

This Dockerfile is located in tripleo-validations/.config/molecule
directory and it is shared through a relative symbolic link between all
the molecule directories.

NOTE: tox-ansible doesn't manage shared molecule configuration at the
project level (see [1]). To be able to use it, we have to explicitly add
the driver name in each molecule.yml file in the roles level. Once [1]
will be fixed, these will be removed.

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

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I4717825e2767dc55016a30fb62aa6a5541f26cfd
(cherry picked from commit 66193a69b7)
(cherry picked from commit 6a3081beac)
2021-06-10 21:51:48 +02:00
..
defaults Replace all references to the old role name 2020-01-23 17:25:43 +01:00
molecule/default Add shared configuration for all molecule test 2021-06-10 21:51:48 +02:00
tasks Get the undercloud.conf file from where it actually is 2021-02-02 09:24:14 +01:00
vars Replace all references to the old role name 2020-01-23 17:25:43 +01:00
README.md Replace all references to the old role name 2020-01-23 17:25:43 +01:00

README.md

Role Name

An Ansible role to check the number of OpenStack processes on the Undercloud

Requirements

This role requires an installed and working Undercloud

Role Variables

  • max_process_count: <'8'> -- Maximum number of process

Dependencies

No dependencies.

Example Playbook

- hosts: servers
  roles:
     - { role: undercloud-process-count }

License

Apache

Author Information

Red Hat TripleO Validations Team