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

+1 -1
View File
@@ -1,4 +1,4 @@
- name: nameserver | install packages - name: nameserver | bind | install packages
package: package:
name: "{{ bind_package }}" name: "{{ bind_package }}"
state: present state: present
+13 -2
View File
@@ -9,9 +9,20 @@
# # import role # # import role
# - import_role: # - import_role:
# name: # required. The name of the role to be executed. # 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 - block:
- include_tasks: install_bind.yml - include_tasks: install_unbound.yml
- include_tasks: configure_unbound.yml
rescue:
- set_fact: task_failed=true
when: unbound == true
rescue: rescue:
- set_fact: task_failed=true - set_fact: task_failed=true