Update Sharepoint.yaml
This commit is contained in:
@@ -82,6 +82,11 @@
|
||||
Skipped={{ recap_skipped | default(0) }},
|
||||
Unreachable={{ recap_unreach | default(0) }}
|
||||
|
||||
- name: Build final status from recap
|
||||
run_once: true
|
||||
set_fact:
|
||||
status_final: "{{ 'failed' if (recap_failed | int > 0 or recap_unreach | int > 0) else 'successful' }}"
|
||||
|
||||
# --- Optional probes (keep while debugging) ---
|
||||
- name: Verify siteId resolves
|
||||
delegate_to: localhost
|
||||
@@ -149,7 +154,7 @@
|
||||
body:
|
||||
fields:
|
||||
Title: "{{ job_name }} ({{ job_id }})"
|
||||
Status: "{{ status }}"
|
||||
Status: "{{ status_final }}"
|
||||
RunStart: "{{ run_start }}"
|
||||
RunEnd: "{{ run_end }}"
|
||||
Notes: |-
|
||||
|
||||
Reference in New Issue
Block a user