0745
This commit is contained in:
@@ -90,6 +90,12 @@
|
||||
payload_encoding: "string"
|
||||
changed_when: false
|
||||
|
||||
- name: "Wrapper | Mark host to skip full scan (cloud-offline)"
|
||||
when: (wrapper_fail_line | default('') | length) > 0
|
||||
set_fact:
|
||||
wrapper_skip_full_scan: true
|
||||
|
||||
|
||||
- name: "Wrapper | Stop host after cloud-offline journal (no full scan)"
|
||||
when: (wrapper_fail_line | default('') | length) > 0
|
||||
meta: end_host
|
||||
@@ -115,5 +121,14 @@
|
||||
- name: "Wrapper | Reset SSH connection context (ensure new ansible_host is used)"
|
||||
meta: reset_connection
|
||||
|
||||
- name: Phase 3 gate | Skip full scan if cloud-offline
|
||||
hosts: all
|
||||
gather_facts: no
|
||||
|
||||
tasks:
|
||||
- name: "Wrapper | Gate: end_host if wrapper_skip_full_scan is set"
|
||||
when: wrapper_skip_full_scan | default(false)
|
||||
meta: end_host
|
||||
|
||||
|
||||
- import_playbook: sot-updater.yml
|
||||
|
||||
Reference in New Issue
Block a user