From 64dfe8db8396043fe181f764ce8e52ceb9e55eb1 Mon Sep 17 00:00:00 2001 From: abrown38 Date: Fri, 2 Aug 2024 09:52:12 +0100 Subject: [PATCH] stop futher tasks if either DC fails to install features --- ansible/roles/win_domain_controller/tasks/features.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/win_domain_controller/tasks/features.yml b/ansible/roles/win_domain_controller/tasks/features.yml index b02fb49..cce0ae8 100644 --- a/ansible/roles/win_domain_controller/tasks/features.yml +++ b/ansible/roles/win_domain_controller/tasks/features.yml @@ -18,3 +18,4 @@ win_reboot: reboot_timeout_sec: 1200 when: feature_status.reboot_required == true + any_errors_fatal: true