prepare powerdns
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user