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

fix ssh tunneling issue

parent c1aa8d9b
No related branches found
No related tags found
No related merge requests found
- name: Set Local IP cmd
set_fact:
local_ip_cmd: "hostname -I | awk '{print $1}'"
- name: Get Local IP
command: "{{ local_ip_cmd }}"
register: local_ip
- debug:
var: local_ip
- name: Set SSH tunnel
command: ssh -f -N -L localhost:9390:192.168.187.162:9390 jenkins@scans.cloud.infn.it
- set_fact:
endpoints_to_scan: "{{ paas_ci_test.endpoints_to_scan }}"
- debug:
var: endpoints_to_scan
......
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