# Providing Progress for Long running tasks which do not support Async

**URL:** <https://forum.ansible.com/t/providing-progress-for-long-running-tasks-which-do-not-support-async/33594>\
**Category:** Ansible Project\
**Created:** [August 12, 2020, 11:42am UTC](https://forum.ansible.com/t/providing-progress-for-long-running-tasks-which-do-not-support-async/33594 "2020-08-12T11:42:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASHWIN\_KUMAR\_NAIK](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@ASHWIN\_KUMAR\_NAIK](https://forum.ansible.com/u/ASHWIN_KUMAR_NAIK)\
**Post date:** [August 12, 2020, 11:42am UTC](https://forum.ansible.com/t/providing-progress-for-long-running-tasks-which-do-not-support-async/33594/1 "2020-08-12T11:42:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [August 12, 2020, 6:59pm UTC](https://forum.ansible.com/t/providing-progress-for-long-running-tasks-which-do-not-support-async/33594/2 "2020-08-12T18:59:35Z")

</div>

no, not currently
