Hi
new to ansible, i have bind setup on local network with 1 zone setup for dynamic update - this is connected to my dhcp server - its working.
now I have some static entries i want in there and I would like ansible to manage it.
I think this is the module i’m looking for community.general.nsupdate module – Manage DNS records — Ansible Community Documentation
so I create a directory create a ansible.cfg and create a host file to corrospond to that. entered an object that points to my server that bind.
In the example for the module it looks like I have to create an entry for each record and it looks like it about 10 lines big is that right. if I have 10 A records and 10 cnames do I need 20 tasks, is there some way to create a list / array and have the same task run for each element ?