do-release-upgrade is slow.. can take from 1 - 2 hours to complete depending on your internet speeds.
Have you checked the screen that it creates during the processing when you think it is idling ?
do a:
sudo screen -list
It should list the one running there with something like this:
There is a screen on:
2953.ubuntu-release-upgrade-screen-window (09/13/2012 04:48:02 AM) (Detached)
1 Socket in /var/run/screen/S-root.
Then you can run:
sudo screen -d -r root/2953.ubuntu-release-upgrade-screen-window
I'm not 100% sure that screen gets run when you do a DistUpgradeViewNonInteractive.. but have a look..
I would suggest running this command without waiting for it in a shell script or something like that, so Ansible doesn't wait forever/until SSH times out. As this can't really be timed or checked if succeeded before the machine have rebooted and you see a new distro version.