Add stream flag for centos8 stream

With the CentOS announcement, Stream will be the new way to consume
centos going forward. We need to expose the stream flag until it becomes
the default.

Change-Id: I3c8142ea463dc03b89ccf13ea1458f18372fb43d
This commit is contained in:
Alex Schultz 2020-12-09 09:08:22 -07:00
parent e4e657359a
commit d29707fcae
3 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ Role Variables
* `tripleo_repos_mirror`: (String) Base OS mirror to use
* `tripleo_repos_rdo_mirror`: (String) RDO mirror to use
* `tripleo_repos_output_path`: (String) Directory to save the repos in
* `tripleo_repos_stream`: (Boolean) Flag for tripleo-repos if CentOS8 Stream is used. Default: false
Dependencies
------------

View File

@ -10,3 +10,4 @@ tripleo_repos_rdo_mirror:
tripleo_repos_repo_base: https://trunk.rdoproject.org
tripleo_repos_repos:
- current-tripleo-dev
tripleo_repos_stream: false

View File

@ -25,6 +25,7 @@
{{ tripleo_repos_output_path | ternary('-o ' ~ tripleo_repos_output_path, '') }}
{{ tripleo_repos_mirror | ternary('--mirror ' ~ tripleo_repos_mirror, '') }}
{{ tripleo_repos_rdo_mirror | ternary('--rdo-mirror ' ~ tripleo_repos_rdo_mirror, '') }}
{{ tripleo_repos_stream | ternary('--stream', '') }}
{{ tripleo_repos_extra_args | join(' ') }}
{{ tripleo_repos_repos | join( ' ') }}