Hi all,
I am trying to figure out how to create a playbook that can pass a user and password in execution time, let me explain better.
The script I will execute require two parameters, then in the middle of the execution it requests for a user and password to continue, the issue I am facing is in this part, I do not how to pass this user and password to the script as it does not request them like parameters.
I cannot modify the script, and the user and password are required to alter a database.
Now I am executing the script with shell module like below:
shell: bash script.sh type 1
But I do not know how to provide the user and password to the script when it asks for that.
Does someone have an idea how can I achieve this ?