i have shell script which require 4 user input for its execution. I had a 4 files which had a lines used for shell script input. I want to run that shell script to my ansible host through ansible controller. is it possible do that???
Asked
Active
Viewed 165 times
0
-
1Hi..WC to SO! Please update the question with the script content so that best possible solution can be send here....Also what have you tried so far ? Kindly go through the below link https://stackoverflow.com/help/reprex – error404 May 15 '19 at 07:57
-
1After reading the link proposed by @error404 you will probably want to have a look at the ansible [`expect` module](https://docs.ansible.com/ansible/latest/modules/expect_module.html) and start experimenting with it before you come back to ask a new question if needed. – Zeitounator May 15 '19 at 13:39