How can I verify if a Floating IP is created, I need an ID or something deterministic to identify it.
I’m developing an Ansible module to manage Floating IPs, (that can be) assigned to a droplet from a pool of “gates”. My problem is when I run the playbook again how can I know if there is already any Floating IP assigned to one of the droplets in that pool? Tags only support “droplets” type, at least is what is documented https://developers.digitalocean.com/documentation/v2/#tag-a-resource
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×