I can run the script with the command line argument on the linux server it
works fine.
for e.g.: ./install.sh -n -I <IP address of the server>
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.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/421f3193-dfe9-48a5-a8ed-495e07a45a4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.