title: Ansible fails to pass parameters when executing a .run file
body: <p>I am trying to use Ansible to install a .run file (created using Makeself 2.1.5) using the following task in a playbook:</p>
  
  <pre><code>- name: Install Program
    command: /home/user/folder/program.run -- /S /D=/home/user/folder/destination/
  </code></pre>
  
  <p>Here, <code>/S</code> is a switch to run a silent installation and the parameter <code>/D</code> sets the destination for the installation. Running this command in the console succeeds.</p>
  
  <p>Ansible claims to run the task without error:</p>
  
  <pre><code>changed: [127.0.0.1] =&gt; {
      "changed": true, 
      "cmd": [
          "/home/user/folder/program.run", 
          "--", 
          "/S", 
          "/D=/home/user/folder/destination/"
      ], 
      "delta": "0:00:00.065261", 
      "end": "2017-01-06 09:08:43.114265", 
      "invocation": {
          "module_args": {
              "_raw_params": "/home/user/folder/program.run -- /S /D=/home/user/folder/destination/", 
              "_uses_shell": false, 
              "chdir": null, 
              "creates": null, 
              "executable": null, 
              "removes": null, 
              "warn": true
          }, 
          "module_name": "command"
      }, 
      "rc": 0, 
      "start": "2017-01-06 09:08:43.049004", 
      "stderr": "", 
      "stdout": "", 
      "stdout_lines": [], 
      "warnings" : []
  </code></pre>
  
  <p>So somehow the additional parameters cause the execution to fail without Ansible noticing. I've tried using the <code>shell</code> command and various ways of quoting my command, but to no avail.</p>
  
  <p>If I do not pass parameters to the <code>.run</code> file, that is use <code>command:  /home/user/folder/program.run</code>, an installation prompt is opened asking for user input, which defeats the purpose of Ansible.</p>
  
  <p>Does anybody have a solution for this? A possible workaround might be to use the <code>expect</code> module, but I would prefer to be able to use the command line arguments, as this is not the only file I would like to install.</p>
  
  <p>I am using Ansible 2.2.0.0 on Ubuntu 16.04.1 LTS.</p>
  
  <p><strong>EDIT:</strong>
  Following techraf's advice, I found a simple solution using the <code>shell</code> module. Using <code>shell: konsole -e /home/user/folder/program.run /S /D=/home/user/folder/destination/</code> caused the installation to complete correctly. It is also possible to put the command in a script file and run it using the <code>script</code> module.</p>