# Every task runs 2 time or is displayed 2 times?

**URL:** <https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672>\
**Category:** Ansible Developer\
**Created:** [July 3, 2015, 6:22pm UTC](https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672 "2015-07-03T18:22:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Tanner](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Post date:** [July 3, 2015, 6:22pm UTC](https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672/1 "2015-07-03T18:22:48Z")

</div>

Might be the expected behavior but every task now runs 2 times.

`  
$ ansible-playbook --ask-pass --ask-sudo-pass -i testing-servers linux-servers.yml --tags apts  
SSH password:  
SUDO password[defaults to SSH password]:

PLAY: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
PLAY: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

TASK [setup] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
TASK [setup] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

ok: [[dns-1.testing.com](http://dns-1.testing.com)]  
ok: [[dns-1.testing.com](http://dns-1.testing.com)]  
ok: [[dns-2.testing.com](http://dns-2.testing.com)]  
ok: [[dns-2.testing.com](http://dns-2.testing.com)]  
  
`

$ ansible --version  
ansible 2.0.0 (devel 8c29bba2b1) last updated 2015/07/03 12:46:42 (GMT -500)  
lib/ansible/modules/core: (detached HEAD ff69ce7912) last updated 2015/07/01 14:19:50 (GMT -500)  
lib/ansible/modules/extras: (detached HEAD 4e48ef9eca) last updated 2015/07/01 14:19:51 (GMT -500)  
v1/ansible/modules/core: (detached HEAD f8d8af17cd) last updated 2015/06/03 00:37:54 (GMT -500)  
v1/ansible/modules/extras: (detached HEAD 495ad450e5) last updated 2015/06/03 00:37:58 (GMT -500)  
configured module search path = None

Running with -vvvv it looks like I only ssh one time so it might be just a display issue.

Just posting here before I open an issue.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [July 3, 2015, 6:28pm UTC](https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672/2 "2015-07-03T18:28:44Z")

</div>

so I fixed a case in which callbacks were not loading at all (ansible  
ad-hoc) which now creates dupe loading of the callback, but just  
pushed a fix for that.

---

<div class="post-metadata">

**Author:** ![Bob\_Tanner](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Post date:** [July 4, 2015, 1:24am UTC](https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672/3 "2015-07-04T01:24:12Z")

</div>

Behavior is no longer observed. Want me to open an official issue?

`$ ansible --version ansible 2.0.0 (devel 4d35d8bd31) last updated 2015/07/03 20:20:35 (GMT -500) lib/ansible/modules/core: (detached HEAD ff69ce7912) last updated 2015/07/01 14:19:50 (GMT -500) lib/ansible/modules/extras: (detached HEAD 4e48ef9eca) last updated 2015/07/01 14:19:51 (GMT -500) v1/ansible/modules/core: (detached HEAD f8d8af17cd) last updated 2015/06/03 00:37:54 (GMT -500) v1/ansible/modules/extras: (detached HEAD 495ad450e5) last updated 2015/06/03 00:37:58 (GMT -500) configured module search path = None`

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [July 4, 2015, 2:59am UTC](https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672/4 "2015-07-04T02:59:20Z")

</div>

no, fixed that specific issue, still need to work on the original  
reason this was changed and will keep a watch on this in case it  
reappears
