I'm currently using the following code in ansible:
- shell: /file.rc
File.rc requires user to provide an input(1 or 2) during runtime.
If it's command line argument I can run it like below
- shell: /file.rc 1
But how to provide runtime inputs using shell module in Ansible.