# Handling prompts using ansible 2.9 with ansible\_connection=ssh

**URL:** <https://forum.ansible.com/t/handling-prompts-using-ansible-2-9-with-ansible-connection-ssh/33256>\
**Category:** Ansible Project\
**Created:** [June 25, 2020, 5:46am UTC](https://forum.ansible.com/t/handling-prompts-using-ansible-2-9-with-ansible-connection-ssh/33256 "2020-06-25T05:46:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nishant\_Passari](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@Nishant\_Passari](https://forum.ansible.com/u/Nishant_Passari)\
**Post date:** [June 25, 2020, 5:46am UTC](https://forum.ansible.com/t/handling-prompts-using-ansible-2-9-with-ansible-connection-ssh/33256/1 "2020-06-25T05:46:38Z")

</div>

Hi everyone,

I am trying to handle yes/no and other prompts using ansible 2.9 and tried using the shell and expect module via ansible.  
Can you guys help me out regarding the same.

[https://stackoverflow.com/questions/62425899/automating-jx-installation-process-via-ansible2-9](https://stackoverflow.com/questions/62425899/automating-jx-installation-process-via-ansible2-9)

Any assistance will be appreciated.

Thank you

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [June 25, 2020, 6:27am UTC](https://forum.ansible.com/t/handling-prompts-using-ansible-2-9-with-ansible-connection-ssh/33256/2 "2020-06-25T06:27:23Z")

</div>

Please include the question and related information in the message. I wouldn’t expect everyone here to click random URLs…
