synthesio / infra-ovh-ansible-module

An Ansible module that communicates with OVH API.
MIT License
87 stars 47 forks source link

What kind of OVH API is supported ? (was: Include setting SSH key) #56

Open notetiene opened 2 years ago

notetiene commented 2 years ago

I'm currently working on a custom Ansible module to set add/remove/update and/or set a default SSH key. Since this module has more to do with the OVH account, I was wondering if it was in scope with this project. The SSH key would be used by the installation template. If I manage to have time, I plan to make 2-3 other modules for managing my own stack.

This brings me to an other question: what kind of the OVH API would be supported by this project?

I currently have an in-progress module for setting the SSH key, but it would need to be reworked to use this collection. I no longer have access to an OVH account, but do have SoYouStart and Kimsufi.

Finally, have you ever considered including this collection in the community modules of Ansible? This would be great.

Skunnyk commented 1 year ago

Hi, I think this can be added to this collection. But if you plan to support lots of API endpoint (like /me) maybe a new dedicated collection is a better idea :thinking:

This module support all endpoints we need for our infrastructure at Synthesio, if this is not in the module, it's because we don't need it (yet). But setting the ssh key is definitely something we can use.

About including the collection in the community module, this is something we are thinking of (asked multiples times), but we never looked in detail what this involves :)