From: David Galloway Date: Tue, 23 Aug 2022 17:35:47 +0000 (-0400) Subject: cobbler: make sure subscription-manager is installed on RHEL X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6fa26c958d4b2ffd63ef5f546cdbb0c63022ae46;p=ceph-cm-ansible.git cobbler: make sure subscription-manager is installed on RHEL Apparently it isn't by default on EL9? Signed-off-by: David Galloway --- diff --git a/roles/cobbler/templates/snippets/cephlab_packages_rhel b/roles/cobbler/templates/snippets/cephlab_packages_rhel index 09b18c44..e17e60fd 100644 --- a/roles/cobbler/templates/snippets/cephlab_packages_rhel +++ b/roles/cobbler/templates/snippets/cephlab_packages_rhel @@ -13,6 +13,9 @@ python3 #if $distro == 'RHEL' or $distro == 'CentOS' #set distro_ver_major = $distro_ver.split(".")[0] #set distro_ver_minor = $distro_ver.split(".")[1] +#if $distro == 'RHEL' +subscription-manager +#end if ## These packages are available in all RHEL/CentOS versions but not Fedora perl ## These packages are not available in CentOS 9 Stream