]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler: Do not do CentOS to Stream conversion hack on CentOS9
authorDavid Galloway <dgallowa@redhat.com>
Thu, 25 Aug 2022 18:29:47 +0000 (14:29 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 25 Aug 2022 19:16:03 +0000 (15:16 -0400)
It's not necessary and breaks profile import.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler_profile/tasks/import_distro.yml

index a6f906e14751ef9fa68bceace9972df672fdbaff..d8eade6bba87f32d465d09f62821e2de74b4cff0 100644 (file)
@@ -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