I am creating a state which is running a shell script, but to be installed need manual interactions.
like:
press yes to continue
add home folder for the user x
accept license agreement yes or no
default answer is: n
is the following path correct press yes to continue
etc.
Start_shell_Script:
cmd.run:
- name: script.sh
- stateful: True
- shell: /bin/bash
- runas: user-x
I would like to automate the process and do not cut in half the installation of the application and run some scripts manually.
Thank you in advance.