prepare powerdns

This commit is contained in:
2024-01-05 13:52:43 +01:00
parent e3b82592ee
commit 598cb3fa48

View File

@@ -10,12 +10,17 @@
- name: nameserver | unbound | disable systemd-resolved - name: nameserver | unbound | disable systemd-resolved
include_tasks: disable-systemd-resolved.yml include_tasks: disable-systemd-resolved.yml
when: bind == true or unbound == true when: bind == true or unbound == true or powerdns == true
- block: - block:
- include_tasks: install_bind.yml - include_tasks: install_bind.yml
- include_tasks: configure_bind_snmpd.yml - include_tasks: configure_bind_snmpd.yml
when: bind == true when: bind == true
- block:
- include_tasks: install_powerdns.yml
- include_tasks: configure_powerdns_snmpd.yml
when: powerdns == true
rescue: rescue:
- set_fact: task_failed=true - set_fact: task_failed=true