From eefa2120a986d76a2da711fcdfcf407812a0bf08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Dachary?= Date: Sat, 2 Jul 2022 11:33:43 +0200 Subject: [PATCH] enough host delete is not idempotent pretend it is until https://lab.enough.community/main/infrastructure/-/issues/359 is resolved --- infrastructure/templates/infrastructure/sh/hostscripts/rm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infrastructure/templates/infrastructure/sh/hostscripts/rm.sh b/infrastructure/templates/infrastructure/sh/hostscripts/rm.sh index 1e6a310..1ba9702 100644 --- a/infrastructure/templates/infrastructure/sh/hostscripts/rm.sh +++ b/infrastructure/templates/infrastructure/sh/hostscripts/rm.sh @@ -1 +1,2 @@ -enough --domain $domain host delete {{ subdomain }}-host +enough --domain $domain host delete {{ subdomain }}-host || true +