reordered roles

This commit is contained in:
2022-04-21 23:08:17 +02:00
parent f85af1cec4
commit a732c80f52

View File

@@ -3,11 +3,6 @@
tags: always tags: always
- block: - block:
- block:
- include_tasks: install_bind.yml
- include_tasks: configure_bind_snmpd.yml
when: bind == true
- block: - block:
- include_tasks: install_unbound.yml - include_tasks: install_unbound.yml
- include_tasks: configure_unbound_snmpd.yml - include_tasks: configure_unbound_snmpd.yml
@@ -17,5 +12,10 @@
include_tasks: disable-systemd-resolved.yml include_tasks: disable-systemd-resolved.yml
when: bind == true or unbound == true when: bind == true or unbound == true
- block:
- include_tasks: install_bind.yml
- include_tasks: configure_bind_snmpd.yml
when: bind == true
rescue: rescue:
- set_fact: task_failed=true - set_fact: task_failed=true