Don't enable module stream in rhel9
On Rhel-9, modules streams are no longer shipped. Updating condition with this patch to only try to enable module stream for rhel-8 case. Closes-Bug: #1956449 Change-Id: I4b9bc141925f9ef9ec790b4c790df2aaf4fedd2d
This commit is contained in:
parent
8a88f495ae
commit
6688b56221
|
@ -15,7 +15,7 @@ tcib_actions:
|
||||||
crudini --set /etc/dnf/dnf.conf main skip_missing_names_on_install False &&
|
crudini --set /etc/dnf/dnf.conf main skip_missing_names_on_install False &&
|
||||||
crudini --set /etc/dnf/dnf.conf main tsflags nodocs
|
crudini --set /etc/dnf/dnf.conf main tsflags nodocs
|
||||||
- run: >-
|
- run: >-
|
||||||
if [ '{{ tcib_distro }}' == 'rhel' ]; then
|
if [ '{{ tcib_distro }}' == 'rhel' && '{{ tcib_release }}' == '8' ]; then
|
||||||
{%- if "el" ~ tcib_release in tcib_packages.modules %}
|
{%- if "el" ~ tcib_release in tcib_packages.modules %}
|
||||||
{% for item in tcib_packages.modules["el" ~ tcib_release] %}{% set key, value = (item.items() | list).0 %}dnf module -y {{ key }} {{ value }}; {% endfor %}
|
{% for item in tcib_packages.modules["el" ~ tcib_release] %}{% set key, value = (item.items() | list).0 %}dnf module -y {{ key }} {{ value }}; {% endfor %}
|
||||||
{%- else %}
|
{%- else %}
|
||||||
|
|
Loading…
Reference in New Issue