diff --git a/roles/nameserver/tasks/main.yml b/roles/nameserver/tasks/main.yml index 927559e..7666243 100644 --- a/roles/nameserver/tasks/main.yml +++ b/roles/nameserver/tasks/main.yml @@ -15,14 +15,14 @@ - include_tasks: configure_bind_snmpd.yml rescue: - set_fact: task_failed=true - when: bind == true + when: bind == true - block: - include_tasks: install_unbound.yml - include_tasks: configure_unbound.yml rescue: - set_fact: task_failed=true - when: unbound == true + when: unbound == true rescue: - set_fact: task_failed=true \ No newline at end of file