From 2b31509fa506615ac95e16ffed881986ab6d57aa Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 8 Jun 2017 16:41:06 +0100 Subject: [PATCH] If repo build fails, force all hosts to fail Currently if a single repo build host fails, the other hosts continue, making it a little obscure to figure out where it went wrong. It'd be better to fail fast, so this patch implements that. Change-Id: I6c1d43b7dc5271f4b1177fc504833b3e37a1ceaf (cherry picked from commit 693c4b6930549b5b2ac3c1a93ac40ebdc05c083b) --- playbooks/repo-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/repo-build.yml b/playbooks/repo-build.yml index 87ba6e4622..20dad62239 100644 --- a/playbooks/repo-build.yml +++ b/playbooks/repo-build.yml @@ -42,6 +42,7 @@ - name: Build new repo packages for a given release hosts: repo_masters gather_facts: "{{ gather_facts | default(True) }}" + any_errors_fatal: true user: root serial: 1 pre_tasks: