open command line installer by playbook

Hello,

I have software, where I need to run ./install.bin command as a output it open a command line installer to provide requested value of variables.
How can I achieve this by ansible playbook.

If you can do it through a shell script, you can use the same script in Ansible.

in shell i have to write ./install command and it open console installer for software, but when I perform same activity by Ansible it work in background with default value.