From 2a0f4617db51ab74e2f3c41f5c5ec53074632836 Mon Sep 17 00:00:00 2001 From: N Date: Thu, 20 Dec 2018 21:08:15 +0000 Subject: [PATCH] shutup debug output from unless --- salt/formulas.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/formulas.sls b/salt/formulas.sls index ef7c1e7..9cf02cf 100644 --- a/salt/formulas.sls +++ b/salt/formulas.sls @@ -51,7 +51,7 @@ - require: - file: {{ basedir }} {%- if not update %} - - unless: test -e {{ gitdir }} >/dev/null 2>&1 + - onlyif: rm -fr {{ gitdir }} >/dev/null 2>&1 | true {%- endif %} {% endif %} {% endfor %}