Feature to add retry for replicated servers in ipa_dnsrecord

Hello,

I am working on a FreeIPA replicated setup and have some ansible playbooks which interact with FreeIPA to create DNS records using ipa_dnsrecord module. The current module seems to support only a single host instead of multiple hosts. So in all the places, my playbooks have to handle the case to retry the replicated server if the first one is not available. Rather than handling in the playbooks, is it possible to modify the module to take in the list of all of the replicated hostnames and trying them one by one in case of failures?

I am essentially looking to centralize the retry mechanism within the module instead of the playbooks.

Please pardon me for any mistakes in the post as this is my very first post.

Thanks,
Nit P