Is there any way to get a list of keys with IDs from a Digital Ocean account? If not, might that be a useful task? I have a scenario where I have keys in my account and would like to add them to a droplet I’m creating using ansible. But the only way I could find the IDs of the keys was to construct a separate HTTP call to the DO API and check the result (the DO interface doesnt show the IDs at all). But that becomes hard to automate if the keys change.
Hi!
I have build a digitalocean_facts module, which I intend to release once it’s cleaned up a bit. Can send it to you in its current form, if you’re interested
Akos
Hi Akos,
I’d be interested to take a look, is it on Github?
thanks
paul
Hi Akos,
Also does your module help to retrieve the image ID list? I’ve just noticed they seem to change every so often.
thanks
paul