# Interactive commands

**URL:** <https://forum.ansible.com/t/interactive-commands/16780>\
**Category:** Ansible Developer\
**Created:** [November 13, 2014, 10:27pm UTC](https://forum.ansible.com/t/interactive-commands/16780 "2014-11-13T22:27:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Quinot](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Thomas\_Quinot](https://forum.ansible.com/u/Thomas_Quinot)\
**Post date:** [November 13, 2014, 10:27pm UTC](https://forum.ansible.com/t/interactive-commands/16780/1 "2014-11-13T22:27:25Z")

</div>

I am considering managing some network equipment (switches) with the  
'raw' module. This requires sending commands to the switch in an  
interactive session (command streamed before receiving the switch's  
prompt are ignored), performing successive 'wait for prompt/send  
command' steps [over a 'raw' ssh session]. Is there any existing support  
for such interactive processing (generalizing the circuitry providing  
optional stdin data)? If not, would there be interest in it?

I guess this could apply to the 'raw', but also possibly 'shell' and  
'command' modules.

Thomas.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [November 14, 2014, 6:03pm UTC](https://forum.ansible.com/t/interactive-commands/16780/2 "2014-11-14T18:03:15Z")

</div>

Please direct this question to ansible-project list.

Thanks!
