Enable idm:DL1 stream only in Centos 8

Change-Id: Ic09a1b30952fcf8fa7dd4cf4252041b03b33857f
This commit is contained in:
Grzegorz Grasza 2022-02-28 10:58:39 +01:00
parent 24da9e5bb7
commit b0271d24fe

View File

@ -29,7 +29,7 @@ sed -i "1i$IPA_SERVER_IP $CA_SERVER_HOSTNAME" /etc/hosts
## * Install required system packages::
DISABLE_REPO_CMD="yum-config-manager --disable"
{% if ansible_distribution_major_version is version("8", ">=") -%}
{% if ansible_distribution_major_version is version("8", "==") -%}
DISABLE_REPO_CMD="dnf config-manager --set-disabled"
dnf module enable -y idm:DL1/{dns,adtrust,client,server,common}