This commit is contained in:
2025-11-14 10:25:11 +02:00
parent 33a584dada
commit 09a8cdbabe

View File

@@ -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