# is there a progress bar in TASK?

**URL:** <https://forum.ansible.com/t/is-there-a-progress-bar-in-task/32953>\
**Category:** Ansible Project\
**Created:** [May 17, 2020, 5:26pm UTC](https://forum.ansible.com/t/is-there-a-progress-bar-in-task/32953 "2020-05-17T17:26:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Wong](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Post date:** [May 17, 2020, 5:26pm UTC](https://forum.ansible.com/t/is-there-a-progress-bar-in-task/32953/1 "2020-05-17T17:26:50Z")

</div>

is there a progress bar available in TASK?

 ![Screen Shot 2020-05-17 at 10.25.19 AM.png](https://us1.discourse-cdn.com/ansible/original/2X/1/17d7b7b44df4430988b2fb8c523a222200d952d3.png)

---

<div class="post-metadata">

**Author:** ![David\_Foley](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@David\_Foley](https://forum.ansible.com/u/David_Foley)\
**Post date:** [May 17, 2020, 8:09pm UTC](https://forum.ansible.com/t/is-there-a-progress-bar-in-task/32953/2 "2020-05-17T20:09:09Z")

</div>

A Quick Google Search Returned this for me. I’ll assume you did the same?

[https://stackoverflow.com/questions/41194021/how-can-i-show-progress-for-a-long-running-ansible-task](https://stackoverflow.com/questions/41194021/how-can-i-show-progress-for-a-long-running-ansible-task)

---

<div class="post-metadata">

**Author:** ![Tony\_Wong](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Post date:** [May 18, 2020, 3:33am UTC](https://forum.ansible.com/t/is-there-a-progress-bar-in-task/32953/3 "2020-05-18T03:33:43Z")

</div>

Still dont understand why its failing

PLAY [Install updates on whitelist] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \*\*\*

TASK [Gathering Facts] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \*\*\*  
ok: [[rw-ctxweb-01.wsgr.com](http://rw-ctxweb-01.wsgr.com)]

TASK [Install windows updates] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \*\*\*  
ok: [[rw-ctxweb-01.wsgr.com](http://rw-ctxweb-01.wsgr.com)]

TASK [reboot host if required] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [rxxxxxxxxx]: FAILED! =\> {“msg”: “The conditional check ‘update\_result.reboot\_required == true’ failed. The error was: error while evaluating conditional (update\_result.reboot\_required == true): ‘update\_result’ is undefined\n\nThe error appears to be in ‘/home/tony/windows/install\_windows\_KBxxxxx\_updates.yml’: line 16, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: reboot host if required\n ^ here\n”}

---

<div class="post-metadata">

**Author:** ![Karolis\_Pocius](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@Karolis\_Pocius](https://forum.ansible.com/u/Karolis_Pocius)\
**Post date:** [May 18, 2020, 5:09am UTC](https://forum.ansible.com/t/is-there-a-progress-bar-in-task/32953/4 "2020-05-18T05:09:27Z")

</div>

The spacing on “register: update\_result” is off – you need to move it back a bit (align it with “win\_updates”).

---

<div class="post-metadata">

**Author:** ![Tony\_Wong](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Post date:** [May 18, 2020, 12:27pm UTC](https://forum.ansible.com/t/is-there-a-progress-bar-in-task/32953/5 "2020-05-18T12:27:49Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![Jack\_Morgan](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@Jack\_Morgan](https://forum.ansible.com/u/Jack_Morgan)\
**Post date:** [May 18, 2020, 2:22pm UTC](https://forum.ansible.com/t/is-there-a-progress-bar-in-task/32953/6 "2020-05-18T14:22:45Z")

</div>

You should know about ansible-lint as you can find these yourself.

#ansible-lint install\_windows\_KBxxxxx\_updates.yml
