1131
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user