Skip to content
Snippets Groups Projects
Commit a268cc55 authored by qweqweasdasd's avatar qweqweasdasd
Browse files

SSH link

parent 2e9d4ec8
No related branches found
No related tags found
No related merge requests found
......@@ -62,8 +62,8 @@
- block:
- debug: var=ansible_all_ipv4_addresses
- debug: var=ansible_default_ipv4.address
- name: Set ssh bind
command: ssh -f -N -L "{{ ansible_default_ipv4.address }}":9390:192.168.187.162:9390 jenkins@scans.cloud.infn.it
- set_fact:
endpoints_to_scan: "{{ paas_ci_test.endpoints_to_scan }}"
......@@ -75,10 +75,10 @@
command: python3 /home/gmp/script.py "{{ endpoints_to_scan }}" "{{ paas_ci_workdir + '/dep.json'}}" "{{ paas_ci_workdir }}"
register: scan_output
- name: display report
ansible.builtin.debug: var=item
with_file:
- "{{ paas_ci_workdir + '/report.txt' }}"
#- name: display report
# ansible.builtin.debug: var=item
# with_file:
# - "{{ paas_ci_workdir + '/report.txt' }}"
- name: get Severity file content
shell: cat "{{ paas_ci_workdir + '/severity.json'}}"
......@@ -103,6 +103,7 @@
- block:
- set_fact:
deployment: "{{ lookup('file', paas_ci_workdir + '/dep.json') }}"
- name: Delete deployment
command: orchent depdel "{{ deployment.uuid }}"
register: depdel_output
......
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