tripleo-ci/roles/tripleo-repos
Ronelle Landy 23b0638641 Added support for CentOS stream 9 container build
In order to build openstack containers on centos stream 9,
build-containers role and playbooks has went through following
changes.
* Make sure /etc/nodepool dir exists in pre
* Moved all required repos config in pre9.yaml to avoid multiple
  failure in main container build inline.
* Added support for unqualified-search-registries
* Added support for passing tcib_extra[1] vars needed for EL9
* use container-tools:latest for c9
* Use tripleo yum config module to generate the tripleo-repos via
  compose_url and compose_id.

[1]. https://review.opendev.org/c/openstack/python-tripleoclient/+/807098

Signed-off-by: Ronelle Landy <rlandy@redhat.com>
CoAuthored-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ic3923fd02875b02adbc0fdf46dace180685e76ef
2021-10-11 13:11:45 +05:30
..
defaults Added support for CentOS stream 9 container build 2021-10-11 13:11:45 +05:30
handlers lint: maintenance chore 2019-11-11 18:01:00 +00:00
meta Future proof ansible test code 2021-07-23 16:48:34 +01:00
molecule/default Future proof ansible test code 2021-07-23 16:48:34 +01:00
tasks Added support for CentOS stream 9 container build 2021-10-11 13:11:45 +05:30
tests lint: maintenance chore 2019-11-11 18:01:00 +00:00
vars lint: maintenance chore 2019-11-11 18:01:00 +00:00
README.rst OpenDev Migration Patch 2 2019-04-22 11:04:00 +05:30

README.rst

tripleo-repos

A role to install and run tripleo-repos to setup the CentOS and RDO yum repositories.

Role Variables

Variables used for chrony
Name Default Value Description
tripleo_repos_repository git+https://opendev.org/openstack/tripleo-repos Git repository to pip install tripleo-repos from
workspace ansible_user_dir Workspace directory to put the venv into
centos_mirror_host http://mirror.centos.org Mirror host for CentOS repositories
rdo_mirror_host https://trunk.rdoproject.org Mirror host for RDO repositories

Requirements

  • ansible >= 2.4
  • python >= 2.6

Dependencies

None

Example Playbooks

- hosts: localhost
  become: true
  roles:
    - tripleo-repos

License

Apache 2.0