From 52913011674bafa47e2c072c9ff33cf517d4a2b1 Mon Sep 17 00:00:00 2001
From: "gioacchino.vino" <gioacchino.vino@infn.it>
Date: Wed, 6 Dec 2023 12:08:08 +0100
Subject: [PATCH] Increase log level

---
 tasks/2-scan.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/tasks/2-scan.yml b/tasks/2-scan.yml
index 9404f4c..1448c93 100644
--- a/tasks/2-scan.yml
+++ b/tasks/2-scan.yml
@@ -43,6 +43,19 @@
   debug:
     var: imported_depdep_log
 
+- name: Show BEFORE paas_ci_test.endpoints_to_scan log
+  debug:
+    var: paas_ci_test.endpoints_to_scan
+
+- name: Fail if "bar" is undefined
+  set_fact:
+    paas_ci_test.endpoints_to_scan: "None"
+  when: paas_ci_test.endpoints_to_scan is undefined
+
+- name: Show AFTER paas_ci_test.endpoints_to_scan log
+  debug:
+    var: paas_ci_test.endpoints_to_scan
+
 - 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 }}" 
   register: scan_output
-- 
GitLab