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