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

fix ssh tunneling issue

parent a43f82f0
No related branches found
No related tags found
No related merge requests found
- name: "Ping scans"
shell:
cmd: "ping -c1 -w 2 {{ pinging_host }}"
register: pingged_host
ignore_errors: yes
with_items:
- scans.cloud.infn.it
loop_control:
loop_var: pinging_host
- name: "Result ping"
debug:
var: pingged_host
- name: " ***Ip ping"
debug:
msg: "{{ pingged_host.results|map(attribute='rc')|list }}"
- name: Set SSH tunnel
command: ssh -f -N -L localhost:9390:192.168.187.162:9390 jenkins@scans.cloud.infn.it
......
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