Hi Team
I am using async_status module in ansible task, which is performing
patching on several hosts and till the time that got completed, I will get
waiting message stream on the command line:
- name: Wait to complete patch installation in managed hosts
async_status: jid={{ item.ansible_job_id }}
register: mh_patch_job_results
*until: mh_patch_job_results.finished*
retries: 240
delay: 60
with_items: "{{ mh_patch_jobs.results }}"
Now, this task failed for one of the hosts, but I didn’t receive the failed
message at the same time. I had to wait for the task to complete on all
other hosts and then at last I got the failed message.
What I am looking for here is that, Ansible should also report this host
has failed as soon as it failed during patch instead of report at the end
when all hosts are done
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAJXXpjb2DUmF%3D35151e%3D6nynUgaSrAV%2B%2B0b5v2C1CuGo7ynSqA%40mail.gmail.com.