added DNS resolver option powerdns-recursor

This commit is contained in:
rene committed 2024-07-22 14:51:30 +02:00
1 parent 11a60747ed
commit 0dc1871268
7 files changed
+86 -12

No files matched your search

+6 -6
View File
@@ -6,21 +6,21 @@
- block:
- include_tasks: install_unbound.yml
- include_tasks: configure_unbound_snmpd.yml
when: unbound == true
when: unbound == true and powerdns_recursor != true
- name: nameserver | unbound | disable systemd-resolved
include_tasks: disable-systemd-resolved.yml
when: bind == true or unbound == true or powerdns == true
when: bind == true or unbound == true or powerdns_recursor == true
- block:
- include_tasks: install_bind.yml
- include_tasks: configure_bind_snmpd.yml
when: bind == true
when: bind == true and powerdns_auth != true
- block:
- include_tasks: install_powerdns.yml
- include_tasks: configure_powerdns_snmpd.yml
when: powerdns == true
- include_tasks: install_powerdns_recursor.yml
- include_tasks: configure_powerdns_recursor_snmpd.yml
when: powerdns_recursor == true and unbound != true
rescue:
- set_fact: task_failed=true