Update win-updates-troubleshooting.yaml
This commit is contained in:
@@ -254,3 +254,9 @@
|
|||||||
when: sp_create is succeeded
|
when: sp_create is succeeded
|
||||||
debug:
|
debug:
|
||||||
var: sp_create.json.id
|
var: sp_create.json.id
|
||||||
|
|
||||||
|
# flip the AWX job status based on your aggregate
|
||||||
|
- name: Mark AWX job as FAILED if any host failed
|
||||||
|
when: status_final == 'failed'
|
||||||
|
fail:
|
||||||
|
msg: "Patch run failed on hosts: {{ failed_hosts_csv }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user