This commit is contained in:
2026-01-20 06:33:38 +02:00
parent 500fb3f7df
commit 2dffe4a03e

View File

@@ -89,6 +89,7 @@
- name: "NB preflight | Detect cloud failure" - name: "NB preflight | Detect cloud failure"
when: nb_script.stat.exists when: nb_script.stat.exists
delegate_to: localhost delegate_to: localhost
delegate_facts: true
vars: vars:
_out: "{{ (nb_preflight.stdout | default('') | regex_replace('\r','')) }}" _out: "{{ (nb_preflight.stdout | default('') | regex_replace('\r','')) }}"
_lines: >- _lines: >-
@@ -156,6 +157,7 @@
- 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
delegate_facts: true
vars: vars:
nb_lines: >- nb_lines: >-
{{ (nb_preflight.stdout | default('') | regex_replace('\r','')) | split('\n') | map('trim') | list }} {{ (nb_preflight.stdout | default('') | regex_replace('\r','')) | split('\n') | map('trim') | list }}
@@ -185,6 +187,7 @@
- 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
delegate_facts: true
vars: vars:
out: "{{ (nb_preflight.stdout | default('') | regex_replace('\r','')) }}" out: "{{ (nb_preflight.stdout | default('') | regex_replace('\r','')) }}"
reason: >- reason: >-