title: how to install the script interactive via ansible playbook
body: <p>I can run the script with the command line argument on the linux server it works fine.</p>
  
  <p>for e.g.: <code>./install.sh -n -I &lt;IP address of the server&gt;</code></p>
  
  <p>The above command is able to install the script on the server.</p>
  
  <p>When I am trying to do via ansible (version 2.5) playbook using the shell module it gives me an argument error.</p>
  
  <pre><code>  - name: Running the script
       shell: yes | ./fullinstall
  </code></pre>
  
  <p>Expect modules has been tried.</p>
  
  <pre><code>--my-arg1=IP address
  </code></pre>