10:25
This commit is contained in:
@@ -433,13 +433,12 @@
|
||||
echo "== ss -ltnp on :${P} =="
|
||||
{ ss -ltnp 2>/dev/null || true; } | awk -v p=":${P}$" '$0 ~ p {print}'
|
||||
echo "== lsof LISTEN on :${P} =="
|
||||
{ lsof -nP -iTCP:"{{ P }}" -sTCP:LISTEN 2>/dev/null || true; }
|
||||
echo "== ps/grep ControlMaster by ControlPath =="
|
||||
ps -ef | grep -F " -S {{ _ctrl_sock }}" | grep -v grep || true
|
||||
{ lsof -nP -iTCP:"${P}" -sTCP:LISTEN 2>/dev/null || true; }
|
||||
register: port_listeners_after
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
|
||||
- name: Debug listeners on picked port (after starting tunnel)
|
||||
when: dev2_conn_method == "tunnel"
|
||||
delegate_to: localhost
|
||||
|
||||
Reference in New Issue
Block a user