I can run the script with the command line argument on the linux server it works fine.
for e.g.: ./install.sh -n -I
the above command is able to install the script on the server.
When I am trying to do via ansible (version 2.5) playbook using the shell module it gives me an argument error.
- name: Running the script
shell: yes | ./fullinstall
Expect modules has been tried.
–my-arg1=IP address
–some-argument=<>
above things are tried.