On Wed, 29 Apr 2020 05:21:02 -0700 (PDT)
Ivo Hechmann <[email protected]> wrote:

> ... it looks like there is no suitable solution in ansible

Well, this is how Ansible works. A task is sent from the controller to the
remote host and the remote host will return the results to the controller
after the task will have completed.

When the time-out of the remote host in not predictable "Asynchronous Actions
and Polling" might help to improve the efficiency
https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html#asynchronous-actions-and-polling

In some case "ansible-pull" might fit the use-case better.
https://docs.ansible.com/ansible/latest/cli/ansible-pull.html#ansible-pull

HTH,

        -vlado

-- 
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/20200429150842.7e1d6a77%40gmail.com.

Attachment: pgpzoCtm2TGbj.pgp
Description: OpenPGP digital signature

Reply via email to