trailofbits/algo

Problems determining DigitalOcean droplet address

davidemyers opened this issue · 0 comments

My fix for determining the address of a DigitalOcean droplet in #14390 is incomplete as the public address is not always the first address in the list returned by the API. See this comment in #14387.

This is beyond my limited Ansible abilities. I think digital_ocean_droplet_info needs to be called to look for the address tagged as "type": "public".