ops-guru / godaddy_ansible_role

GoDaddy DNS records management role
BSD 2-Clause "Simplified" License
13 stars 13 forks source link

DUPLICATE_RECORD #4

Open electropolis opened 6 years ago

electropolis commented 6 years ago

There is no task with conditional to check if record already exists. That should be the first condition before running add_record.yml

xlash commented 5 years ago

It is possible to add multiple similar record for the same entry, with different values. For example, A record for "servername" could have 3 entries, with 3 different ip addresses. This scenario must also be considered.

xlash commented 5 years ago

AWS does it within a single record :

mvk commented 2 years ago

@xlash, I like the idea of being able, but do not like the idea of parsing all those ',', etc. Maybe a sane way would be to allow passing the value with commas, and a flag to override an existing record.

WDYT ?

mvk commented 2 years ago

@electropolis, thank you for the suggestion!