title: Execute shell using arguments file from git
body: <p>I've managed to set up a minimal Ansible playbook to execute some scripts on my machines:</p>
  
  <pre><code>- name: Execute CLI on remote servers
    hosts: webserver
    tasks:
      - name: Get metrics
        shell: /home/user1/bin/cli.sh --file=script.cli
  </code></pre>
  
  <p>The only issue is that this relies on the filesystem to store the scripts. I'd like to store my script in a repository (such as git) and pass a reference to it as argument to the shell.Something like:</p>
  
  <pre><code>shell: /home/user1/bin/cli.sh --file=ssh://git@github.com/mylogin/script.cli
  </code></pre>
  
  <p>Any suggestion is highly appreciated!</p>