Unable to run ansible playbook..

14 views
Skip to first unread message

borsean...@gmail.com

unread,
Mar 7, 2018, 7:32:52 AM3/7/18
to Ansible Project
Hi Team,

I want to run a script via ansible playbook. The script contains installation and uninstallation of some agents and If we run that script, It requires some inputs like Yes or No or 1 or 2 like that...
So how to provide that inputs within ansible playbook. So that my ansible playbook will run without any human interaction.

Thanks.

Kai Stian Olstad

unread,
Mar 7, 2018, 7:36:12 AM3/7/18
to ansible...@googlegroups.com
Check out the expect module.


--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages