Here's all of the Ansible-galaxy CLI source: https://github.com/ansible/ansible/blob/devel/bin/ansible-galaxy
Looks like you just need to pass --offline although it would be nice if the API config check didn't happen for the init task, and that's easily switchable. It appears we are already using local templates. On Mon, Dec 1, 2014 at 6:30 PM, Hani Suleiman <[email protected]> wrote: > So presumably I could just copy the defaults into the repo manually, > where do these files live currently? > > On Dec 1, 2014, at 4:33 PM, Michael DeHaan <[email protected]> wrote: > > Right, I am suggesting we code the default templates in the program > itself -- there's a design point that the existing method allows it easier > to change the defaults, true... but there are tradeoffs. > > > > On Mon, Dec 1, 2014 at 1:53 PM, Brian Coca <[email protected]> wrote: > >> init just creates a skeleton for the module, it contacts the server to >> download the default files. >> >> On Mon, Dec 1, 2014 at 1:10 PM, Hani Suleiman <[email protected]> wrote: >> > Installation is fine. The problem I'm having is that I'm unable to >> run ansible-galaxy init mymodule --force, which does try to contact the api >> server. Are there any docs for doing what the init does manually? >> > >> > -- >> > 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/2a2e7517-f7ea-4bbe-80c8-76bbfc349290%40googlegroups.com >> . >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> Brian Coca >> >> -- >> 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/CAJ5XC8mBBtgbm7zaG0ib56Xw_h%2BPpb2zJwXP7d1DyoXQAmb4sA%40mail.gmail.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/1nZUU8woKU8/unsubscribe. > To unsubscribe from this group and all its topics, 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/CA%2BnsWgw_AmLH6ADK5NTBkBmj1ttXjRp8wi6xQE0pEwJ8Kf95aw%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgw_AmLH6ADK5NTBkBmj1ttXjRp8wi6xQE0pEwJ8Kf95aw%40mail.gmail.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/5F755316-6499-4668-8270-E730FCF4E7E8%40formicary.net > <https://groups.google.com/d/msgid/ansible-project/5F755316-6499-4668-8270-E730FCF4E7E8%40formicary.net?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/CA%2BnsWgwnUn0D_-gMKV0j2XUjJFRXyeCk5FguEOYu6ZoX_CLWnw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
