0426
This commit is contained in:
@@ -208,7 +208,7 @@
|
|||||||
msg:
|
msg:
|
||||||
- "listeners_before:\n{{ (port_listeners_before.stdout | default('')) | trim }}"
|
- "listeners_before:\n{{ (port_listeners_before.stdout | default('')) | trim }}"
|
||||||
|
|
||||||
- name: Refresh ARP on DEV1’s LAN (send unsolicited ARP from temporary IP)
|
- 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
|
ansible.builtin.raw: arping -U -I eth0 192.168.1.11 -c 3
|
||||||
|
|
||||||
# ---------------------------- Start SSH local forward via DEV1 ----------------------------
|
# ---------------------------- Start SSH local forward via DEV1 ----------------------------
|
||||||
@@ -323,6 +323,9 @@
|
|||||||
- "{{ (dev2_ls.stdout | default('')) | trim }}"
|
- "{{ (dev2_ls.stdout | default('')) | trim }}"
|
||||||
- "{{ (dev2_ls.stderr | default('')) | trim }}"
|
- "{{ (dev2_ls.stderr | default('')) | trim }}"
|
||||||
|
|
||||||
|
- name: Refresh ARP 2 on DEV1’s LAN (send unsolicited ARP from temporary IP)
|
||||||
|
ansible.builtin.raw: arping -U -I eth0 192.168.1.11 -c 3
|
||||||
|
|
||||||
# ---------------------------- Single banner probe (kept) ----------------------------
|
# ---------------------------- Single banner probe (kept) ----------------------------
|
||||||
- name: Probe SSH banner through tunnel (pre-auth, quick)
|
- name: Probe SSH banner through tunnel (pre-auth, quick)
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
@@ -586,6 +589,9 @@
|
|||||||
_blocked: true
|
_blocked: true
|
||||||
_journal: "{{ _journal + [ 'Preparation markers already present on DEV2 (count=' ~ (dev2_prep_count.stdout | trim) ~ '). Skipping staging/write' ] }}"
|
_journal: "{{ _journal + [ 'Preparation markers already present on DEV2 (count=' ~ (dev2_prep_count.stdout | trim) ~ '). Skipping staging/write' ] }}"
|
||||||
|
|
||||||
|
- 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 version firmux primary check ----------------------------
|
# ---------------------------- DEV2 version firmux primary check ----------------------------
|
||||||
- name: Read DEV2 /usr/lib/release/firmux (if present)
|
- name: Read DEV2 /usr/lib/release/firmux (if present)
|
||||||
when: dev2_passfile_used != "NONE"
|
when: dev2_passfile_used != "NONE"
|
||||||
@@ -758,6 +764,9 @@
|
|||||||
_blocked: true
|
_blocked: true
|
||||||
_journal: "{{ _journal + [ 'Local sha256 mismatch/unavailable: have=' ~ ((local_sha256.stdout | default('NA')) | trim) ~ ' expected=' ~ (image_sha256 | trim) ] }}"
|
_journal: "{{ _journal + [ 'Local sha256 mismatch/unavailable: have=' ~ ((local_sha256.stdout | default('NA')) | trim) ~ ' expected=' ~ (image_sha256 | trim) ] }}"
|
||||||
|
|
||||||
|
- name: Refresh ARP 3 on DEV1’s LAN (send unsolicited ARP from temporary IP)
|
||||||
|
ansible.builtin.raw: arping -U -I eth0 192.168.1.11 -c 3
|
||||||
|
|
||||||
# fw_printenv health before upload (soft-fail)
|
# fw_printenv health before upload (soft-fail)
|
||||||
- name: Read fw_printenv size (line count) on DEV2 (soft health)
|
- name: Read fw_printenv size (line count) on DEV2 (soft health)
|
||||||
when: local_img.stat.exists and dev2_passfile_used != "NONE" and not (_blocked | default(false))
|
when: local_img.stat.exists and dev2_passfile_used != "NONE" and not (_blocked | default(false))
|
||||||
@@ -934,6 +943,9 @@
|
|||||||
when: journal_indoor_aborted is defined
|
when: journal_indoor_aborted is defined
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
# ============================ ACTUAL UPGRADE WRITE + BANK FLIP (only if not blocked) ============================
|
# ============================ ACTUAL UPGRADE WRITE + BANK FLIP (only if not blocked) ============================
|
||||||
- name: Upgrade write and bank flip on DEV2 (guarded by soft-block)
|
- name: Upgrade write and bank flip on DEV2 (guarded by soft-block)
|
||||||
when: not (_blocked | default(false))
|
when: not (_blocked | default(false))
|
||||||
|
|||||||
Reference in New Issue
Block a user