diff --git a/tasks/2-scan.yml b/tasks/2-scan.yml
index 99ecedfc20fc4d3e7c1dfaa084e4c774a75800fa..ab2845be4a45b9457ea1957071a3346276dfb6f3 100644
--- a/tasks/2-scan.yml
+++ b/tasks/2-scan.yml
@@ -46,7 +46,7 @@
 
 - name: Show scans log
   debug:
-    msg: "{{ imported_scans_log.output }}"
+    var: imported_scans_log
   when: summary_report_json.global == 'NOK'
 
 - name: Detailed report summary