reordered roles
This commit is contained in:
@@ -3,11 +3,6 @@
|
||||
tags: always
|
||||
|
||||
- block:
|
||||
- block:
|
||||
- include_tasks: install_bind.yml
|
||||
- include_tasks: configure_bind_snmpd.yml
|
||||
when: bind == true
|
||||
|
||||
- block:
|
||||
- include_tasks: install_unbound.yml
|
||||
- include_tasks: configure_unbound_snmpd.yml
|
||||
@@ -17,5 +12,10 @@
|
||||
include_tasks: disable-systemd-resolved.yml
|
||||
when: bind == true or unbound == true
|
||||
|
||||
- block:
|
||||
- include_tasks: install_bind.yml
|
||||
- include_tasks: configure_bind_snmpd.yml
|
||||
when: bind == true
|
||||
|
||||
rescue:
|
||||
- set_fact: task_failed=true
|
||||
Reference in New Issue
Block a user