Ansible 2.5.1 does not run a task

I just upgraded a set of Ubuntu machines from 16.04.5 to 18.04.1, which now has Ansible 2.5.1 installed. An existing Ansible project that I have seems to skip a step. With verbose mode enabled, I see that it starts the step:

PLAY [master] *****************************************************************************************************************************************************************************************************************************

TASK [Gathering Facts] ********************************************************************************************************************************************************************************************************************

task path: /root/ansible/deploy.yaml:38

and runs Gathering Facts – buts that’s it for this task. It ends with:

<9.42.2.49> ESTABLISH SSH CONNECTION FOR USER: root

<9.42.2.49> SSH: EXEC sshpass -d17 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/706a93c156 9.42.2.49 ‘/bin/sh -c ‘"’“‘rm -f -r /root/.ansible/tmp/ansible-tmp-1535069761.99-146742452019957/ > /dev/null 2>&1 && sleep 0’”’"‘’

<9.42.2.49> (0, ‘’, ‘’)

ok: [9.42.2.49]

META: ran handlers

META: ran handlers

META: ran handlers

before moving on to the next PLAY. Any thoughts on why this PLAY does not complete? Quite possibly, there are others that did not complete as expected & I just don’t know it.

can you show the tasks?

The tasks from a /tasks/main.yaml:

Well, I rebuilt my Ansible tool and now it behaves properly.