tripleo-validations/roles/check_uc_hostname
Gael Chamoulaud (Strider) 760e0b401c
Remove workaround for tox-ansible and global molecule config
[1] has been merged and released[2] in upstream tox-ansible and it is now
able to manage global molecule configuration. The workaround, which
consisted in adding the molecule driver name in each scenarios
molecule.yml files, is not necessary anymore.

This patch also removes all the relative symlink to the Dockerfile and
adds directly in the global molecule configuration file.

[1] https://github.com/ansible-community/tox-ansible/pull/89
[2] https://github.com/ansible-community/tox-ansible/releases/tag/v1.5.0

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I259c17b7a49ff5bf3476df4da399cc4b2782403d
(cherry picked from commit c551910cf5)
(cherry picked from commit f3cba823d7)
(cherry picked from commit 12dd20e3b5)
(cherry picked from commit 76eb983e98)
2021-07-02 09:51:27 +02:00
..
defaults Add validation to check DockerInsecureRegistryAddress matches the UC hostname 2021-05-11 17:55:48 +02:00
molecule/default Remove workaround for tox-ansible and global molecule config 2021-07-02 09:51:27 +02:00
tasks Add validation to check DockerInsecureRegistryAddress matches the UC hostname 2021-05-11 17:55:48 +02:00
README.md Add validation to check DockerInsecureRegistryAddress matches the UC hostname 2021-05-11 17:55:48 +02:00

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 the containers-prepare-parameters.yaml file on the Undercloud.
  • check_uc_hostname_undercloud: <'{{ ansible_env.HOME }}/undercloud.conf'> -- Sets the default path to the undercloud.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