mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 07:47:44 -02:30
if runner crashes, attempt to record why
this attempts to surface the underlying runner exception for tracebacks like this one: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/awx_41_93gtgv25/artifacts/41/status'
This commit is contained in:
@@ -21,6 +21,12 @@
|
||||
delete: yes
|
||||
recursive: yes
|
||||
|
||||
- name: Copy daemon log from the isolated host
|
||||
synchronize:
|
||||
src: "{{src}}/daemon.log"
|
||||
dest: "{{src}}/daemon.log"
|
||||
mode: pull
|
||||
|
||||
- name: Fail if previous check determined that process is not alive.
|
||||
fail:
|
||||
msg: "isolated task is still running"
|
||||
|
||||
Reference in New Issue
Block a user