title: How to use ansible to run a shell file which needs an interrupt action
body: <p>I'm using ansible 1.9.4 to run a shell bash in server, and I have a trouble.
  For example, I have a jdk file named <em>jdk-1_5_0_22-linux-amd64.bin</em> 
  and I want to do something like the command below to install java:</p>
  
  <pre><code>./jdk-1_5_0_22-linux-amd64.bin
  </code></pre>
  
  <p>But when I run this command, the screen shown me the License Agreement and asked me "Press space or Enter" to scroll that, then press "yes" to confirm.</p>
  
  <p>Or when I try to run a shell bash that includes something like:</p>
  
  <pre><code>echo "restart ntp ?[y/n]"
  read check
  </code></pre>
  
  <p>I have tried it in ansible by <em>shell, script, command</em> modules but it didn't run for me, ansible was paused. Look like ansible was waiting for my interrupt action.
  How can I do this? I can't find it anywhere in the documentation.</p>