tripleo-validations/roles/repos
Cédric Jeanneret fa974b9fb9 Correct "repos" validation and adds Molecule tests
The way `yum repolist' works isn't consistent on CentOS-7 and Fedora. On
the first, it does fail on a broken repository, spitting an error on
STDERR and exiting with 1.

On Fedora, it sadly just ignores the failing repository with a single
line, and exits with 0.

This patch intends to make the validation more resilient, and adds
Molecule testing in order to ensure it's actually working as expected.

Change-Id: Ib46f5993eeac6ec39a603da3b8e943c960d7c52d
2019-07-25 15:26:34 +02:00
..
molecule/default Correct "repos" validation and adds Molecule tests 2019-07-25 15:26:34 +02:00
tasks Correct "repos" validation and adds Molecule tests 2019-07-25 15:26:34 +02:00
vars Add repos validations role. 2019-03-22 11:25:09 +00:00
README.md Add repos validations role. 2019-03-22 11:25:09 +00:00

README.md

Repos

An Ansible role to check the correctness of current repositories.

Requirements

This role could be used before/after an Undercloud or an Overcloud has been deployed.

Role Variables

  • None

Dependencies

No dependencies.

Example Playbook

- hosts: undercloud
  roles:
     - role: repos

- hosts: overcloud
  roles:
     - role: repos

License

Apache

Author Information

Red Hat TripleO Validations Team