currently ansible allows only one ‘yes’ to be pushed to any question generated by config script.
I cannot run multiple ‘yes’ for the prompts generated . it get stuck after first ‘yes’
this is my task :
currently ansible allows only one ‘yes’ to be pushed to any question generated by config script.
I cannot run multiple ‘yes’ for the prompts generated . it get stuck after first ‘yes’
this is my task :
For interactive scripts you will need to use expect module to make it work.
even if i want to bypass all the prompt? i would like it to proceed with ‘yes’ in the background without validating the answer.
Only way to bypass the prompts is if the script support it with a command line option.
If not, the interactive script do expect the answer at a specified time, only way to do that in Ansible or from another script would be to use expect.