Ansible >> ansible 1.8 (devel 8cc3543918) last updated 2014/09/07 11:14:49 (GMT +200) Git >> 1.9.1
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 Sonntag, 7. September 2014 19:37:14 UTC+2 schrieb Michael DeHaan: > > IIRC, an issue with role dependencies and the ansible-galaxy CLI has been > recently resolved on the development branch, if you can try things with the > latest (git update), that would be great. > > The released version, 1.7.1 is not affected, this was a consequence of > upgrading the CLI during the development branch. > > > > On Sun, Sep 7, 2014 at 1:27 PM, Patrick Schirch <[email protected] > <javascript:>> wrote: > >> 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 <patrick...@googlemail. >>> com> 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 < >>>>> [email protected]> 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]. >>>> 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/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] <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/26caf62d-c681-4bb8-989a-36b476763c03%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/26caf62d-c681-4bb8-989a-36b476763c03%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/5a9a3be1-b49c-467d-b591-33cf2b80d99c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
