ssh://git@ourgitlabhost:example-group/example-role.git

ansible-galaxy install -r requirements.yml
- downloading role from 
ssh://git@ourgitlabhost:example-group/example-role.git
- error: failed to download the file.
- example-role was NOT installed successfully.
- you can use --ignore-errors to skip failed roles.


Am Freitag, 5. September 2014 21:05:39 UTC+2 schrieb Michael DeHaan:
>
> When you say doesn't work, please let us know what doesn't work means.
>
> ssh://username:password@host/path.git
>
> Needs to know it's SSH, basically
>
>
>
>
>
>
> On Fri, Sep 5, 2014 at 1:32 AM, Patrick Schirch <[email protected] 
> <javascript:>> wrote:
>
>> Right, I want to know how I can use SSH for cloning.
>>
>>  - src: git@ourgitlabhost:example-group/example-role.git 
>> <https://www.google.com/url?q=https%3A%2F%2Fourgitlabhost%2Fexample-group%2Fexample-role.git&sa=D&sntz=1&usg=AFQjCNGEfzKxRa2OoNPCdlFpjHfL1mSglA>
>>
>> doesn't work.
>>
>>
>> Am Freitag, 5. September 2014 03:33:52 UTC+2 schrieb Michael DeHaan:
>>>
>>> Let me make sure I understand the question ...
>>>
>>> Are you asking what to put in the requirements.yml file so that it can 
>>> download the above github role?
>>>
>>>
>>>
>>>
>>> On Thu, Sep 4, 2014 at 3:45 PM, Patrick Schirch <patrick...@googlemail.
>>> com> wrote:
>>>
>>>> Hi,
>>>>
>>>> i want to share internal organization ansible roles from our gitlab 
>>>> instance with my colleagues.
>>>>
>>>>    1. I installed Ansible 1.8 dev from source.
>>>>    2. Created a requirements.yml.
>>>>    3. Added a repo from the gitlab instance (src: git+
>>>>    https://ourgitlabhost/example-group/example-role.git 
>>>>    <https://ourgitlabhost/example-group/example-role.git>) 
>>>>    4. Executing ansible-galaxy install -r requirements.yml
>>>>
>>>> It only uses https (with git config http.sslVerify false ) to clone the 
>>>> repo sucessfully.
>>>>
>>>> What is the right syntax to use SSH for cloning?
>>>>
>>>>  -- 
>>>> 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 post to this group, send email to [email protected].
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/ansible-project/99ba978d-3723-46c0-a24e-
>>>> db02f2d54155%40googlegroups.com 
>>>> <https://groups.google.com/d/msgid/ansible-project/99ba978d-3723-46c0-a24e-db02f2d54155%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/8d5915e7-f6a3-411b-a70e-5942f3282050%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/8d5915e7-f6a3-411b-a70e-5942f3282050%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/26caf62d-c681-4bb8-989a-36b476763c03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to