title: Ansible: expect -> invalid command name
body: <p>I want to use the expect function with ansible to install a .bin file with preanswers. But i get this error.</p>
  
  <pre><code>"stderr": "invalid command name \"/opt/atlassian-jira-software-7.8.1-x64.bin\"\n    while executing\n\"/opt/atlassian-jira-software-7.8.1-x64.bin\"",
  </code></pre>
  
  <p>However also i cant execute other unix simple commands...</p>
  
  <p>My code:</p>
  
  <pre><code>- name: Upgrade Jira
     shell: |
       /opt/{{ jiraExec }}
  
       expect "OK [o, Enter], Cancel [c]"
       send "o\n"
  
       expect "Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2], Upgrade an existing JIRA installation [3, Enter]"
       send "3\n"
  
       expect "[/opt/atlassian/jira]"
       send "\n"
  
       expect "Yes [y, Enter], No [n]"
       send "y\n"
  
       expect "Upgrade [u, Enter], Exit [e]"
       send "u\n"
  
       expect "Yes [y, Enter], No [n]"
       send "n\n"
    args:
       executable: /usr/bin/expect
  </code></pre>
  
  <p>And i have no possibility to use the pexpect module.</p>