This commit is contained in:
2026-01-20 07:45:31 +02:00
parent 985f6f3fa7
commit 79a4e0d763
2 changed files with 44 additions and 0 deletions

View File

@@ -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