title: Ansible play fails due to github authentication
body: <p>I am running a <code>terragrunt</code> script through the ansible play using the ansible <code>shell</code> module.</p>
  
  <p><strong>Ansible task</strong></p>
  
  <pre><code>environment:
          AWS_ACCESS_KEY_ID: "{{aws_access_key_id}}"
          AWS_SECRET_ACCESS_KEY: "{{aws_secret_access_key}}"
          AWS_DEFAULT_REGION: "{{aws_region}}"  
          AWS_SESSION_TOKEN: "{{aws_session_token}}"
    shell: "{{command}}" 
  </code></pre>
  
  <p>Here I am giving the <code>command</code> as an argument, its look like</p>
  
  <p><code>terragrunt plan --terragrunt-working-dir /workspace/terraform/vpc</code></p>
  
  <p>Inside my terragrunt script, some terraform modules are referring from private a Github repo and its should be downloaded as part of the command execution.</p>
  
  <pre><code>terraform {
      source = "git::https://&lt;accesstoken&gt;@&lt;domanian&gt;/vpc.git?ref=v0.2.0"
    }  
  </code></pre>
  
  <p>But when I run the ansible role I am getting authentication error from the git, but the repo cloning in the host machine works fine (No authentication issues).</p>
  
  <p>I am having the git authentication issue from the ansible play not from the host machine(For now my host is localhost)</p>
  
  <p><strong>ERROR FROM TERRAGRUNT</strong></p>
  
  <pre><code>error downloading 'https://&lt;token&gt;@&lt;domain&gt;/repo.git?ref=v0.7.0': /usr/local/bin/git exited with 128: Cloning into '/Users/&lt;name&gt;/Projects/terraform/integration/hli/eks/.terragrunt-cache/odeTjZcnAck1LSD4uQ9-Wn_30cQ/xBn6R6SbWXfZ6nabGc-LFpX6RXk'...
  fatal: Authentication failed for 'https://&lt;token&gt;@&lt;domain&gt;/repo.git/'
  </code></pre>