diff --git a/tasks/main.yml b/tasks/main.yml
index 1638aaf133a4991c7d6d9cc7cd04d1741b80f463..15926a1e4b76e3a4318628e79a09b04a4e7f108b 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -62,7 +62,7 @@
 
 - block:
   - set_fact:
-      endpoints_to_scan: "{{  paas_ci_test.endpoints_to_scan }}" 
+      endpoints_to_scan: "{{ paas_ci_test.endpoints_to_scan }}" 
 
   - debug: 
       var: endpoints_to_scan
diff --git a/tests/test-jupyter-vm.yml b/tests/test-jupyter-vm.yml
index 8d3a4481f293bf2f0c7608e17e37faa79e609bb8..0cd7540582b9931208f6442dde0c488c69423db8 100644
--- a/tests/test-jupyter-vm.yml
+++ b/tests/test-jupyter-vm.yml
@@ -14,4 +14,5 @@
         template_url: https://baltig.infn.it/infn-cloud/tosca-templates/-/raw/master/jupyter/jupyter_vm.yaml
         inputs: |
           '{ "users": [{"os_user_add_to_sudoers": true, "os_user_name": "scans", "os_user_ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmQvE3sXtg4D/KYzhCdP6cICvy5foeSkHenKTisxdGJK8L0cDmV+4k7fIah1GIXrldjQBGWHSTbIj1qRTXG2OPWFxeDoXIN1FyKxwdOgwIfzIRtVq18VZEqt9eOiNUXN8jGoEAgcU7obqXuPqKAndk4tyOnSDuVnfnZWAiesVvWK16GEq0PAxBhJoX3eq501ilsNnJZDMEnvQEgtFuIbADEanrhRV3yaEca+9vFyOQRkyxDF8Gn6P/wZ4oe35bdgXxi/hg8JVKYbDCLlT+Fdi+OC3trRhwCcBSvDFD0ZQ8oLemzUk+732TqR+I8gVjPE9fiNF+/mrj5OX55SDr8Qgf scans"}]}'
-        endpoints_to_scan: ["jupyter_notebook", "grafana_endpoint"]
\ No newline at end of file
+        endpoints_to_scan: |
+          '{"jupyter_notebook", "grafana_endpoint"}'
\ No newline at end of file
diff --git a/vars/main.yml b/vars/main.yml
index 833b4deba262e05a23aa2a915299a0f2a425fce8..b698f437aea470a5979741c56737c7bb1f67596a 100644
--- a/vars/main.yml
+++ b/vars/main.yml
@@ -5,4 +5,5 @@ paas_ci_test:
   template_url: https://baltig.infn.it/infn-cloud/tosca-templates/-/raw/master/jupyter/jupyter_vm.yaml
   inputs: |
     '{ "users": [{"os_user_add_to_sudoers": true, "os_user_name": "scans", "os_user_ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmQvE3sXtg4D/KYzhCdP6cICvy5foeSkHenKTisxdGJK8L0cDmV+4k7fIah1GIXrldjQBGWHSTbIj1qRTXG2OPWFxeDoXIN1FyKxwdOgwIfzIRtVq18VZEqt9eOiNUXN8jGoEAgcU7obqXuPqKAndk4tyOnSDuVnfnZWAiesVvWK16GEq0PAxBhJoX3eq501ilsNnJZDMEnvQEgtFuIbADEanrhRV3yaEca+9vFyOQRkyxDF8Gn6P/wZ4oe35bdgXxi/hg8JVKYbDCLlT+Fdi+OC3trRhwCcBSvDFD0ZQ8oLemzUk+732TqR+I8gVjPE9fiNF+/mrj5OX55SDr8Qgf scans"}]}'
-  endpoints_to_scan: ["jupyter_notebook", "grafana_endpoint"]
+  endpoints_to_scan: |
+          '{"jupyter_notebook", "grafana_endpoint"}'