snmpd for bind
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- name: nameserver | install packages
|
||||
- name: nameserver | bind | install packages
|
||||
package:
|
||||
name: "{{ bind_package }}"
|
||||
state: present
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user