How to deal with what needs to be judged in the script when executing the script using ansible playbook

there are some system or software installation scripts in stock. In the process of execution, prompt, often needs to manually confirm yes or no before continuing to execute, ansible playbook. How to deal with these scripts? do you have to modify the script to delete prompt confirmation?

Mar.13,2021

choosing yes/no in automated scripts is simply anti-human design. The purpose of the script is not to interrupt the user, and the user should not be allowed to confirm it halfway.

you first check to see if your script has non-interactive parameters, and if not, you must rewrite it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b334ae-2b6cd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b334ae-2b6cd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?