From 882b93a4c5126c3a926660e972440fe535154d38 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Wed, 26 Jul 2023 15:27:46 -0700 Subject: [PATCH] Abort nomad recovery if any hosts fail --- ansible_playbooks/recover-nomad.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible_playbooks/recover-nomad.yaml b/ansible_playbooks/recover-nomad.yaml index 4d074f7..da2946f 100644 --- a/ansible_playbooks/recover-nomad.yaml +++ b/ansible_playbooks/recover-nomad.yaml @@ -1,6 +1,7 @@ --- - name: Recover Nomad hosts: nomad_instances + any_errors_fatal: true tasks: - name: Stop Nomad