From 7df9a96965ba25e3cac1bfd5d9102c00dffcd4c5 Mon Sep 17 00:00:00 2001 From: pavel Date: Fri, 24 Oct 2025 12:05:26 +0300 Subject: [PATCH] 1205 --- files/ansible-playbooks/sot-updater.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/files/ansible-playbooks/sot-updater.yml b/files/ansible-playbooks/sot-updater.yml index f61a7b2..d4fb200 100644 --- a/files/ansible-playbooks/sot-updater.yml +++ b/files/ansible-playbooks/sot-updater.yml @@ -126,6 +126,9 @@ - "Device: {{ inventory_hostname }}" - "Phase switch: Dev1 done → Dev2 (tunnel, auth, read indoor_fwver)" + - name: Refresh ARP 1 on DEV1’s LAN (send unsolicited ARP from temporary IP) + ansible.builtin.raw: arping -U -I eth0 192.168.1.11 -c 3 + # ───────────────────────── TUNNEL PREP ───────────────────────── - name: Add temporary IP on DEV1 (tolerate 'File exists') ansible.builtin.raw: > @@ -199,6 +202,9 @@ - "_ctrl_dir={{ _ctrl_dir }}" - "_ctrl_sock={{ _ctrl_sock }}" + - name: Refresh ARP 1 on DEV1’s LAN (send unsolicited ARP from temporary IP) + ansible.builtin.raw: arping -U -I eth0 192.168.1.11 -c 3 + - name: Start SSH ControlMaster and forward 127.0.0.1:local → DEV2:22 via DEV1 delegate_to: localhost ansible.builtin.shell: | @@ -249,6 +255,9 @@ - "Device: {{ inventory_hostname }}" - "Phase: Dev2 (auth selection, firmux/banner read)" + - name: Refresh ARP 1 on DEV1’s LAN (send unsolicited ARP from temporary IP) + ansible.builtin.raw: arping -U -I eth0 192.168.1.11 -c 3 + # ───────────────────────── DEV2 AUTH PICK (as per update-indoor) ───────────────────────── - name: Try DEV2 login with 'basicpass' (root) delegate_to: localhost @@ -317,6 +326,9 @@ debug: msg: "DEV2 passfile used: {{ dev2_passfile_used }}" + - name: Refresh ARP 1 on DEV1’s LAN (send unsolicited ARP from temporary IP) + ansible.builtin.raw: arping -U -I eth0 192.168.1.11 -c 3 + # ───────────────────────── DEV2 READS ───────────────────────── - name: Dev2 | Read /usr/lib/release/firmux (if present) when: dev2_passfile_used != "NONE"