Hello,
I have a private repository allowing ssh access with access key. I have a requirements.yml with the following content:
- name: molecule
scr: ssh://git@myprivate.repo.com/test/ansible-role-molecule.git
scm: git
When running sudo -E ansible-galaxy install I get the following error:
[WARNING]: - molecule was NOT installed successfully: - command git clone molecule molecule failed in directory
/home/vagrant/.ansible/tmp/ansible-local-121256XVDiV/tmp_Djl3u (rc=128)
When i use git clone git@myprivate.repo.com/test/ansible-role-molecule.git, I can clone my repository. It seems that the command executed by ansible-galaxy is totally wrong : git clone molecule molecule
What could be wrong with my requirements.yml ? I tested everything indicated https://github.com/ansible/ansible/issues/8937#issuecomment-55101459 but it doesn’t work
I a using:
- ansible-galaxy 2.6.1
- python version = 2.7.13