Skip to content
Snippets Groups Projects
Commit 72f065ee authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

removed debug lines

parent bfd97feb
No related branches found
No related tags found
1 merge request!48Debug paas ci
---
- name: Set SSH tunnel
- name: Set SSH tunel
command: ssh -o StrictHostKeyChecking=no -f -N -L localhost:9390:192.168.235.234:9390 jenkins@scans.cloud.infn.it
- debug:
......@@ -11,11 +11,6 @@
src: files/script.py
dest: "{{ paas_ci_scan_script_path }}"
- name: Remove existing reports
command: "rm -f *report.txt"
args:
chdir: "{{ paas_ci_workdir }}"
- name: Run scan
command: "python3 {{ paas_ci_scan_script_path }} {{ paas_ci_test.endpoints_to_scan }} {{ paas_ci_workdir + '/dep.json'}} {{ paas_ci_workdir }}"
register: scan_output
......@@ -31,15 +26,6 @@
# msg: "{{lookup('file', item.path)}}"
# with_items: "{{report_files.files}}"
- name: Chech reports
command: "cat *report.txt | grep Port | sort | uniq "
args:
chdir: "{{ paas_ci_workdir }}"
register: report_ports_output
- debug:
var: report_ports_output
- name: get Severity file content
shell: cat "{{ paas_ci_workdir + '/severity.json'}}"
register: severity
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment