Ah maybe I wasn't clear, the idea is to have libcloud as a fallback for all providers not currently supported by Ansible.
So if it's *not *AWS, GCE, Azure, Digital Ocean, Docker, linode, OpenStack, Rackspace or vSphere; then check libcloud. Matt: Hmm well the idea is to have *one* ansible/ansible-modules-core/cloud/libcloud folder, and I'll change your logic elsewhere which tries to import from that ansible-modules-core/cloud module, that on ImportError it'll check libcloud.compute.providers and import || raise ImportError accordingly. That's what I mean by fallback. Interested? :) On Wednesday, November 2, 2016 at 7:34:26 AM UTC+11, Allen Sanabria wrote: > > For AWS, all new modules will be written with Boto3 as Boto3 supports all > the latest services that AWS produces. > > On Tue, Nov 1, 2016 at 11:58 AM, Matt Jude <[email protected] > <javascript:>> wrote: > >> nice Thanks Matt ✌ >> >> On 01/11/2016, Matt Davis <[email protected] <javascript:>> wrote: >> > By "fallback" I assume you basically mean just a generic libcloud >> module? >> > My personal experience with the "provider agnostic" aspects of libcloud >> has >> > >> > not been great, and our current usage of it in the GCE modules is about >> to >> > go away in favor of Google's Python API... >> > >> > That said, if you're willing to maintain one or more provider-generic >> > libcloud modules that are decently written and can be shown to do useful >> > things with clouds we don't currently support, I'm sure we'd take them >> into >> > >> > extras. >> > >> > -Matt >> > >> > On Tuesday, November 1, 2016 at 6:14:55 AM UTC-7, Samuel Marks wrote: >> >> >> >> Greetings Ansible! - I like your philosophy, although enjoy reinventing >> >> the wheel also ;) as you can see from my [open-source] Fabric-centric >> >> DSL. >> >> >> >> However I don't like being one of [the only?] that supports so many >> >> clouds. So I'm thinking about contributing to Ansible, but don't know >> if >> >> you'd be interested. >> >> >> >> FYI: Apache Libcloud is an open-source Python library supporting over >> 50 >> >> different cloud providers. Ansible lists 9 >> >> < >> https://github.com/ansible/ansible-modules-core/tree/679a0ae5e9bd53aa0fbe37ea833d7074784ffffd/cloud >> > >> >> . >> >> >> >> I note you're aware >> >> <https://groups.google.com/d/topic/ansible-project/B6M3qYZ5-Oo> of it, >> >> even utilising it in your Google Compute Engine (GCE) Ansible cloud >> >> module. >> >> >> >> Without touching your existing cloud modules, if I prepared a PR that >> took >> >> >> >> a catch-all fallback approach would you be interested in accepting? >> >> - So if it's not AWS, GCE, Azure, Digital Ocean, Docker, linode, >> >> OpenStack, Rackspace or vSphere; then check libcloud. >> >> >> >> If yes, then I should get some time over Christmas to make the >> >> contribution >> >> >> > >> > -- >> > 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/20450873-fb2b-4151-bf64-92fb8c6bfa08%40googlegroups.com >> . >> > For more options, visit https://groups.google.com/d/optout. >> > >> >> >> -- >> *Matt Jude* >> *Mobile: *072 6222 089 >> *Email: *[email protected] <javascript:> >> *Facebook:* fb.com/mattjude >> >> -- >> 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/CAF3j_1WBjaiDtBU_N%3Ds57QAC8sWPWw70oz8-TM9g_EOxfWLnFA%40mail.gmail.com >> . >> 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/e7f627d1-cdb6-4d76-b29f-2335f917339c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
