how to over come passwords prompts

Hello Guys,

Hope you are fine.
While I’m running apt-get install mythtv-database package I’m getting one pop-up screen (as attached)where I need to enter my database password. How can I overcome that using Ansible(yaml script). It would be a great help

(attachments)