cobbler: Fix ansible conditional 631/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 8 Jun 2021 14:54:11 +0000 (10:54 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 8 Jun 2021 14:54:11 +0000 (10:54 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler_profile/tasks/import_distro.yml

index af3e24474cbbd5bd60b4586c7c6fef5f4b7d0588..adc30c237705dc9c987b86560304550b4c3edf7b 100644 (file)
@@ -42,7 +42,7 @@
   changed_when: false
 
 - import_tasks: import_distro_iso.yml
-  when: profile_type|default('') == 'iso' and not '"stream" in distro_name'
+  when: profile_type|default('') == 'iso' and '"stream" not in distro_name'
 
 - import_tasks: import_distro_image.yml
   when: profile_type|default('') == 'image'