mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-06-27 03:37:51 +02:00
Report async task failures better
We were previously trying to reach into `.rc`, but there's no such thing if `async_result.finished == 0`. Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2153
This commit is contained in:
@ -70,6 +70,7 @@
|
||||
async: "{{ matrix_synapse_rust_synapse_compress_state_find_rooms_command_wait_time }}"
|
||||
poll: 10
|
||||
register: matrix_synapse_rust_synapse_compress_state_find_rooms_command_result
|
||||
failed_when: not matrix_synapse_rust_synapse_compress_state_find_rooms_command_result.async_result.finished
|
||||
changed_when: false
|
||||
|
||||
# We expect the output to be like this:
|
||||
|
Reference in New Issue
Block a user