1205
This commit is contained in:
@@ -126,6 +126,9 @@
|
|||||||
- "Device: {{ inventory_hostname }}"
|
- "Device: {{ inventory_hostname }}"
|
||||||
- "Phase switch: Dev1 done → Dev2 (tunnel, auth, read indoor_fwver)"
|
- "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 ─────────────────────────
|
# ───────────────────────── TUNNEL PREP ─────────────────────────
|
||||||
- name: Add temporary IP on DEV1 (tolerate 'File exists')
|
- name: Add temporary IP on DEV1 (tolerate 'File exists')
|
||||||
ansible.builtin.raw: >
|
ansible.builtin.raw: >
|
||||||
@@ -199,6 +202,9 @@
|
|||||||
- "_ctrl_dir={{ _ctrl_dir }}"
|
- "_ctrl_dir={{ _ctrl_dir }}"
|
||||||
- "_ctrl_sock={{ _ctrl_sock }}"
|
- "_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
|
- name: Start SSH ControlMaster and forward 127.0.0.1:local → DEV2:22 via DEV1
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
@@ -249,6 +255,9 @@
|
|||||||
- "Device: {{ inventory_hostname }}"
|
- "Device: {{ inventory_hostname }}"
|
||||||
- "Phase: Dev2 (auth selection, firmux/banner read)"
|
- "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) ─────────────────────────
|
# ───────────────────────── DEV2 AUTH PICK (as per update-indoor) ─────────────────────────
|
||||||
- name: Try DEV2 login with 'basicpass' (root)
|
- name: Try DEV2 login with 'basicpass' (root)
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
@@ -317,6 +326,9 @@
|
|||||||
debug:
|
debug:
|
||||||
msg: "DEV2 passfile used: {{ dev2_passfile_used }}"
|
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 ─────────────────────────
|
# ───────────────────────── DEV2 READS ─────────────────────────
|
||||||
- name: Dev2 | Read /usr/lib/release/firmux (if present)
|
- name: Dev2 | Read /usr/lib/release/firmux (if present)
|
||||||
when: dev2_passfile_used != "NONE"
|
when: dev2_passfile_used != "NONE"
|
||||||
|
|||||||
Reference in New Issue
Block a user