From 40b31dfe9fd6488b6a4bd2274aa988fbe56ef241 Mon Sep 17 00:00:00 2001
From: Christophe Chaudier <christophe@lydra.fr>
Date: Mon, 21 Oct 2019 13:57:17 +0200
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(ansible)=20bugfix=20world=20writab?=
 =?UTF-8?q?le=20dir?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 gci-templates/stages.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gci-templates/stages.yml b/gci-templates/stages.yml
index 8a2c0cd..e3a70d8 100644
--- a/gci-templates/stages.yml
+++ b/gci-templates/stages.yml
@@ -19,7 +19,7 @@ stages:
   before_script:
     - cd $working_directory
     - test -z ${ANSIBLE_VAULT_PASSWORD} || echo ${ANSIBLE_VAULT_PASSWORD} > ${ANSIBLE_VAULT_PASSWORD_FILE}
-    - test -z ansible && chmod 750 ansible
+    - test -d ansible && chmod 750 ansible
 
 .base_deploy:
   extends: .base_tpl
-- 
GitLab