This commit is contained in:
2025-11-19 11:31:28 +02:00
parent 83aba97ad8
commit 85202800a8

View File

@@ -131,7 +131,6 @@
msg: msg:
- "upgrade_cmd='{{ nb_upgrade_cmd }}' (len={{ nb_upgrade_cmd|length }})" - "upgrade_cmd='{{ nb_upgrade_cmd }}' (len={{ nb_upgrade_cmd|length }})"
# --- Parse OK line & detect IP change ---
- name: "NB preflight | Parse OK line" - name: "NB preflight | Parse OK line"
when: nb_script.stat.exists when: nb_script.stat.exists
delegate_to: localhost delegate_to: localhost
@@ -146,7 +145,7 @@
{{ {{
dict( dict(
nb_tokens nb_tokens
| select('match', '^[a-zA-Z_]+=') # only tokens with '=' | select('match', '^[a-zA-Z_]+=')
| map('split', '=', 1) | map('split', '=', 1)
| map('list') | map('list')
) )
@@ -161,6 +160,7 @@
nb_small: "{{ nb_kv.get('small','') }}" nb_small: "{{ nb_kv.get('small','') }}"
nb_ok_line: "{{ nb_ok_line }}" nb_ok_line: "{{ nb_ok_line }}"
- name: "NB preflight | Detect IP change" - name: "NB preflight | Detect IP change"
when: nb_script.stat.exists when: nb_script.stat.exists
delegate_to: localhost delegate_to: localhost