title: ansible-galaxy and git clone from Bitbucket.org
body: <p>I am using ansible-galaxy (v2.0.0.2) to install ansible roles that which has the source code on Bitbucket through the requirements.yml file. But I could not checkout the code from bitbucket.org with the private key. Here is the error message, and also my <code>requirements.yml</code> content.</p>
  
  <p>Does any one what's the correct <code>requirements.yml</code> file format for ansible-galaxy 2.0.0.2?</p>
  
  <pre><code>  + ansible-galaxy -vvv install --force --role-file ansible/requirements.yml --roles-path ./ansible/roles
  
      Using /etc/ansible/ansible.cfg as config file
      Opened /tmp/.ansible_galaxy
      found role {'scm': 'git', 'src': 'git@bitbucket.org:myrepo/nginx.git', 'version': 'latest', 'name': 'nginx'} in yaml file
      Installing role nginx 
  
       [WARNING]: - nginx was NOT installed successfully: - command git checkout
      latest failed in directory /tmp/tmpQRZc8j (rc=1)
      ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
  </code></pre>
  
  <p>[requirements.yml]</p>
  
  <pre><code>- name: nginx
    src: git@bitbucket.org:myrepo/nginx.git
    scm: git
    version: latest
    accept_hostkey: yes
    key_file: /tmp/.ssh/id_rsa
  </code></pre>