diff --git a/ansible/roles/antivirus_check_service/tasks/main.yml b/ansible/roles/antivirus_check_service/tasks/main.yml index 962f087..f29ab23 100644 --- a/ansible/roles/antivirus_check_service/tasks/main.yml +++ b/ansible/roles/antivirus_check_service/tasks/main.yml @@ -31,3 +31,4 @@ template: scanfile-scaled-object.yml.j2 when: - KEDA_ENABLED is defined and KEDA_ENABLED|bool + - SCALED_ANTIVIRUS_SCANFILE_WORKER_ENABLED is defined and SCALED_ANTIVIRUS_SCANFILE_WORKER_ENABLED|bool