tripleo-heat-templates/environments/lifecycle/update-prepare.yaml
mciecier 86d4a348a3 Fix 'Ensure DNF modules have the right stream'
This change solves bug [1]. Change introduces a new mandatory field to
DnfStreams parameter and adjusts 'Ensure DNF modules have the right
stream' task to use new field. New field is called distribution_version
and its purpose is to choose modules enabled in centos8 or in centos9.

DnfStreams parameter defines list of dnf module streams to be configured
before updating packages both on undercloud and overcloud.

[1]https://bugs.launchpad.net/tripleo/+bug/1968706

Change-Id: I3f7f3002c985b0b618ba30a2497635a33a318624
2022-06-20 23:12:54 +02:00

11 lines
475 B
YAML

# Environment file used in the first step of an overcloud upgrade.
# This file is required by the tripleoclient and not expected to be updated
# by the operator. Please use additional -e env.yaml for customizations.
resource_registry:
OS::TripleO::Tasks::*PreConfig: OS::Heat::None
OS::TripleO::Tasks::*PostConfig: OS::Heat::None
parameter_defaults:
CephAnsiblePlaybook: default
DnfStreams: [{'module':'container-tools', 'stream':'3.0', 'distribution_version':'8'}]