I face the same problem but using roles from git is failing for me as well 
(private as well as public repo).

Also indications from https://github.com/ansible/ansible/issues/8937 dit 
not help - the issue refers to ansible 1.8, wheres I am using 2.9.5

On Friday, 11 August 2017 14:50:40 UTC+2, Prasoon Majumdar wrote:
>
> Hello,
>
> I was trying to clone roles using ansible-galaxy cli from private repo, 
>
> requirements file : working.yml
>
>
> - src: git+https://[email protected]/devops/ansible-role-fpm.git
>   name: watever.fpm
>   version: master
>
> ansible-galaxy install --role-file=ansible-galaxy.yml 
> --roles-path="${PWD}/roles/" --force
>
> But its throwing errors like:
>
>
> [WARNING]: - xxxxfpm was NOT installed successfully: - command git clone 
> https://[email protected]/devops/ansible-role-fpm.git
> xxxx.fpm failed in directory /tmp/tmpGS0PhX (rc=128)
>
> ERROR! - you can use --ignore-errors to skip failed roles and finish 
> processing the list.
>
> I tried different combinations of "git+ssh" but nothing worked, i can 
> easily clone it directory using "git clone" way but ansible-galaxy way is 
> not working, ideas ???
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b3d376e8-6ec0-4df8-b9f9-f3502a78eea0%40googlegroups.com.

Reply via email to