title: Cloning a git repo from Bitbucket with Ansible - asked for password two or three times
body: <p>I am trying to clone a private git repository from Bitbucket using Ansible 1.9.3 (OSX) and an https connection. I have my password stored in the clipboard and use pasting when asked to provide it. The following command requires me to provide the password two or three times (irregularly, never once and never more than three):</p>
  
  <pre><code>[~/devops]# ansible localhost -c local -m git -a "repo=https://techraf@bitbucket.org/techraf/ansible-local.git dest=~/devops/ansible-local"
  Password for 'https://techraf@bitbucket.org':
  Password for 'https://techraf@bitbucket.org':
  Password for 'https://techraf@bitbucket.org':
  localhost | success &gt;&gt; {
      "after": "445dfaf39a6245bc30149dd722b1a17d0e56ba55",
      "before": null,
      "changed": true
  }
  
  [~/devops]#
  </code></pre>
  
  <p>Providing incorrect password on either try immediately results in an error <code>remote: Invalid username or password</code>, so typing mistake is out of question. <code>-vvv</code> option gives no hint. Delaying entering the password does not seem to influence the behaviour.</p>
  
  <p>Why am I asked several times and why the number of times differ?</p>