diff --git a/app/tasks.py b/app/tasks.py index 9a0cb51d73267ccc4cd1d9b0dcee7b6a41652774..6bef63714a9488e7111efd7026215e32e322c52d 100644 --- a/app/tasks.py +++ b/app/tasks.py @@ -114,7 +114,11 @@ def trigger_vm_creation( extra_vars=extra_vars, timeout=500, ) - if post_job_template and not skip_post_install_job: + if ( + post_job_template + and (not skip_post_install_job) + and (not vm_osversion.startswith("windows")) + ): current_user.launch_task( "trigger_post_install_job", resource="job",