tripleo-validations/roles/check_uc_hostname
Gael Chamoulaud (Strider) c551910cf5
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
2021-05-19 11:30:17 +02:00
..
defaults Add validation to check DockerInsecureRegistryAddress matches the UC hostname 2021-04-28 10:00:17 -04:00
molecule/default Remove workaround for tox-ansible and global molecule config 2021-05-19 11:30:17 +02:00
tasks Add validation to check DockerInsecureRegistryAddress matches the UC hostname 2021-04-28 10:00:17 -04:00
README.md Add validation to check DockerInsecureRegistryAddress matches the UC hostname 2021-04-28 10:00:17 -04: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