Add --no-stream support for tripleo-repos

--no-stream is being added in preparation for switching to stream by
default.

Depends-On: https://review.opendev.org/c/openstack/tripleo-repos/+/766061
Change-Id: I3394f930b7fe0ba1b53e5452db7320ed4554a048
This commit is contained in:
Alex Schultz 2020-12-09 09:11:13 -07:00
parent d29707fcae
commit e6711cccad
3 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,7 @@ Role Variables
* `tripleo_repos_repo_base`: (String) Url base to RDO (default: <https://trunk.rdoproject.org>)
* `tripleo_repos_repos`: (List) List of repos to install
* `tripleo_repos_mirror`: (String) Base OS mirror to use
* `tripleo_repos_no_stream`: (Boolean) Flag for tripleo-repos to disable stream if CentOS8 Stream is not being used. Default: false
* `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

View File

@ -5,6 +5,7 @@ tripleo_repos_debug: false
tripleo_repos_distro:
tripleo_repos_extra_args: []
tripleo_repos_mirror:
tripleo_repos_no_stream: false
tripleo_repos_output_path:
tripleo_repos_rdo_mirror:
tripleo_repos_repo_base: https://trunk.rdoproject.org

View File

@ -26,6 +26,7 @@
{{ 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_no_stream | ternary('--no-stream', '') }}
{{ tripleo_repos_extra_args | join(' ') }}
{{ tripleo_repos_repos | join( ' ') }}