snmpd for bind

This commit is contained in:
rene committed 2022-03-23 19:19:49 +01:00
1 parent ac7dd7ee87
commit 110e026bae
3 files changed
+14 -3

No files matched your search

+13 -2
View File
@@ -9,9 +9,20 @@
# # import role
# - import_role:
# name: # required. The name of the role to be executed.
- block:
# install software
- include_tasks: install_bind.yml
- include_tasks: configure_bind_snmpd.yml
rescue:
- set_fact: task_failed=true
when: bind == true
# install software
- include_tasks: install_bind.yml
- block:
- include_tasks: install_unbound.yml
- include_tasks: configure_unbound.yml
rescue:
- set_fact: task_failed=true
when: unbound == true
rescue:
- set_fact: task_failed=true