remoted rescue

This commit is contained in:
2022-04-21 22:22:43 +02:00
parent 1a38bc39ca
commit df65769d48

View File

@@ -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