DNS Cluster with Ansbile and using Bind9
If you want have two Bind9 DNS Server (master/slave) you can use this playbook for deploying servers.
Before Installing, You must modify variables in group_vars/all
ansible-playbook main.yml -i hosts.yml
If you want add a zone with primary and secondary nameserver to cluster you can use this:
ansible-playbook add_zone.yml -i hosts --extra-vars="bind_config_master_zones=example.com"