Ansible cloud module names

25 views
Skip to first unread message

Kurt Yoder

unread,
Jul 15, 2014, 1:44:29 PM7/15/14
to ansible...@googlegroups.com
Hello list,

I notice the Rackspace modules are prefixed with "rax". However, other providers are more complicated:

  • AWS modules mostly have an "ec2" prefix. Why "ec2", and not "aws"? Why do some AWS modules start with "ec2", but others have no prefix, e.g. "s3"?
  • Openstack modules have no consistent prefix at all.

Is this intentional, or the result of organic growth?

Michael DeHaan

unread,
Jul 15, 2014, 1:48:30 PM7/15/14
to ansible...@googlegroups.com
Mostly because this is how they are done originally, though I don't really think they are wrong.  ec2 is part of AWS, s3 is a different part, route53 is a third part.

aws_ec2_foo could have been a thing, but that's a little verbose.

The easiest thing to do here in the future is probably to add a subcategory for the module docs generator, as we will not be supporting alias names or breaking existing modules.




--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f9ea19f2-4ed9-4a83-93a4-bb62d8bc6170%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages