From a9811ec39b0d178ec86f825ce0dcf1240e257ab8 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Thu, 25 Aug 2022 14:29:47 -0400 Subject: [PATCH] cobbler: Do not do CentOS to Stream conversion hack on CentOS9 It's not necessary and breaks profile import. Signed-off-by: David Galloway --- roles/cobbler_profile/tasks/import_distro.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/cobbler_profile/tasks/import_distro.yml b/roles/cobbler_profile/tasks/import_distro.yml index a6f906e1..d8eade6b 100644 --- a/roles/cobbler_profile/tasks/import_distro.yml +++ b/roles/cobbler_profile/tasks/import_distro.yml @@ -45,7 +45,7 @@ when: profile_type|default('') == 'image' - import_tasks: import_stream_profile.yml - when: '"stream" in distro_name' + when: '"8.stream" in distro_name' # If either the profile already existed or we successfully imported the # distro, we might want to update other options in the profile. i.e. kickstarts -- 2.47.3