diff --git a/tasks/main.yml b/tasks/main.yml
index 870726a391686607dc31dc2e1422c9b28f0157e9..f506beb301749e65148e06294a72a3c7231593ce 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -11,7 +11,7 @@
   when: paas_ci_test_step == 'create_deployment'
 
 - include: 2-scan.yml
-  when: paas_ci_test_step == 'scan' and paas_ci_test.endpoints_to_scan is defined
-
+  when: paas_ci_test_step == 'scan' 
+  
 - include: 3-clean.yml
   when: paas_ci_test_step == 'clean'
\ No newline at end of file