remoted rescue
This commit is contained in:
@@ -6,15 +6,11 @@
|
|||||||
- block:
|
- block:
|
||||||
- include_tasks: install_bind.yml
|
- include_tasks: install_bind.yml
|
||||||
- include_tasks: configure_bind_snmpd.yml
|
- include_tasks: configure_bind_snmpd.yml
|
||||||
rescue:
|
|
||||||
- set_fact: task_failed=true
|
|
||||||
when: bind == true
|
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
|
||||||
rescue:
|
|
||||||
- set_fact: task_failed=true
|
|
||||||
when: unbound == true
|
when: unbound == true
|
||||||
|
|
||||||
- name: nameserver | unbound | disable systemd-resolved
|
- name: nameserver | unbound | disable systemd-resolved
|
||||||
|
|||||||
Reference in New Issue
Block a user