diff --git a/tasks/2-scan.yml b/tasks/2-scan.yml
index 006584b84df6b54b4819d97b91e2c79ff8d297b1..9404f4c74a1bf453d06cf2871f89c326dccc9a1f 100644
--- a/tasks/2-scan.yml
+++ b/tasks/2-scan.yml
@@ -28,8 +28,20 @@
 
 - name: Show dep json file
   debug:
-    msg: "{{lookup('file', item.path)}}"
-  with_items: "{{ paas_ci_workdir + '/dep.json'}}"
+    msg: "{{ lookup('file', item.path) }}"
+  with_items: "{{ paas_ci_workdir + '/dep.json' }}"
+
+- name: Load depdep log
+  command: cat "{{ paas_ci_workdir + '/dep.json' }}"
+  register: dep_json
+
+- name: import depdep_log
+  set_fact:
+    imported_depdep_log: "{{ dep_json.stdout }}"
+
+- name: Show depdep log
+  debug:
+    var: imported_depdep_log
 
 - name:  Run scan
   command: "{{ paas_ci_workdir + '/scan.py' }} --endpoint-keys {{ paas_ci_test.endpoints_to_scan }} --dep-json {{ paas_ci_workdir + '/dep.json'}} --output-dir {{ paas_ci_workdir }}" 
@@ -37,7 +49,7 @@
 
 - name: Scan logs
   debug:
-    msg: "{{lookup('file', item.path)}}"
+    msg: "{{ lookup('file', item.path) }}"
   with_items: "{{ paas_ci_workdir + 'scan.log' }}"
 
 - name: Show scan output
@@ -46,12 +58,12 @@
 
 - name: Find report files
   find:
-    paths: "{{paas_ci_workdir}}"
+    paths: "{{ paas_ci_workdir }}"
     patterns: '*infn.it-report.txt'
   register: report_files
 
 - name: read summary report file
-  shell: cat "{{ paas_ci_workdir + '/summary-report.json'}}"
+  shell: cat "{{ paas_ci_workdir + '/summary-report.json' }}"
   register: summary_report 
 
 - name: import summary_report
@@ -60,12 +72,12 @@
 
 - name: Show reports
   debug:
-    msg: "{{lookup('file', item.path)}}"
-  with_items: "{{report_files.files}}"
+    msg: "{{ lookup('file', item.path) }}"
+  with_items: "{{ report_files.files }}"
   when: summary_report_json.global == 'NOK'
 
 - name: Load scans log
-  command: cat "{{ paas_ci_workdir + '/scans.log'}}"
+  command: cat "{{ paas_ci_workdir + '/scan.log' }}"
   register: scans_log
   when: summary_report_json.global == 'NOK'