Hi,
I am running playbooks via an ssh command. The issue is when a long-running task is run in the playbook the ssh client gives a broken pipe error and quits.
Tweaking SSH client by adding ServerAliveInterval 30 & ServerAliveCountMax 2 did not help .
I was able to handle this for the command module by using async. Since the polling continuously posts a message on the terminal the ssh session remains alive.
The task for which it fails is for unarchiving a particular file which takes a longer time to run.
Unlike the shell or command module, the unarchive module doesn’t support async.
Is there a way to echo some message when the unarchive task is running.
Thanks,
Ashwin