505545a4af
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 |
||
---|---|---|
.. | ||
defaults | ||
molecule/default | ||
tasks | ||
README.md |
README.md
Check-uc-hostname
Add Ansible role to check DockerInsecureRegistryAddress matches the UC hostname.
Requirements
This role will be executed pre Overcloud Update, and post Update
Role Variables
check_uc_hostname_debug
: <'false'> -- debugging mode.check_uc_hostname_containers
: <'{{ansible_env.HOME}}/containers-prepare-parameter.yaml'> -- Sets the default path to thecontainers-prepare-parameters.yaml
file on the Undercloud.check_uc_hostname_undercloud
: <'{{ ansible_env.HOME }}/undercloud.conf'> -- Sets the default path to theundercloud.conf
file on the Undercloud.
Dependencies
No Dependencies
Example Playbook
- hosts: servers
roles:
- { role: check_uc_hostname, check_uc_hostname_debug: true }
License
Apache
Author Information
Red Hat TripleO DFG:Upgrades