rearranged tasks
This commit is contained in:
@@ -3,10 +3,6 @@
|
|||||||
tags: always
|
tags: always
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: nameserver | unbound | disable systemd-resolved
|
|
||||||
include_tasks: disable-systemd-resolved.yml
|
|
||||||
when: bind == true or unbound == 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
|
||||||
@@ -21,5 +17,9 @@
|
|||||||
- set_fact: task_failed=true
|
- set_fact: task_failed=true
|
||||||
when: unbound == true
|
when: unbound == true
|
||||||
|
|
||||||
|
- name: nameserver | unbound | disable systemd-resolved
|
||||||
|
include_tasks: disable-systemd-resolved.yml
|
||||||
|
when: bind == true or unbound == true
|
||||||
|
|
||||||
rescue:
|
rescue:
|
||||||
- set_fact: task_failed=true
|
- set_fact: task_failed=true
|
||||||
Reference in New Issue
Block a user