The process stand by and simply does not end the execution of the playbook. It will be a failure ansible or failure is a parameter of dpkg command?
even when noninteractive is passed, it can prompt for answers, try
running manually and see what the question is, debconf can be used to
set the answer ahead of time and avoid prompting.
Thanks, I also arrived at the same conclusion.