From 54810b0a118a791c12cfe8b51fe64f988c229bca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Haas?= <juergen.haas@lakedrops.com>
Date: Sun, 29 Mar 2020 14:02:54 +0200
Subject: [PATCH] Define variable GIT_STRATEGY on a per task basis to avoid
 influencing other tasks that might be included by the parent too

---
 data-handling.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/data-handling.yml b/data-handling.yml
index 3d05071..d08a8ae 100644
--- a/data-handling.yml
+++ b/data-handling.yml
@@ -1,7 +1,6 @@
-variables:
-  GIT_STRATEGY: none
-
 CollectConfig:
+  variables:
+    GIT_STRATEGY: none
   tags:
     - ansible
   script:
@@ -14,6 +13,8 @@ CollectConfig:
       - $CAE
 
 CollectDatabase:
+  variables:
+    GIT_STRATEGY: none
   tags:
     - ansible
   cache: {}
@@ -27,6 +28,8 @@ CollectDatabase:
       - ${CI_PROJECT_NAME}.sql
 
 CollectFiles:
+  variables:
+    GIT_STRATEGY: none
   tags:
     - ansible
   cache: {}
@@ -40,6 +43,8 @@ CollectFiles:
       - ${CI_PROJECT_NAME}.zip
 
 CopyDataToStage:
+  variables:
+    GIT_STRATEGY: none
   tags:
     - ansible
   cache: {}
-- 
GitLab