From 8900de55e08b7a80d07defd9c8ccffc0575e6057 Mon Sep 17 00:00:00 2001 From: jyfou Date: Thu, 8 Feb 2024 15:05:57 +0100 Subject: [PATCH] gitlab_backup_cron_skip example : gitlab_backup_cron_skip: SKIP=artifacts --- tasks/gitlab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/gitlab.yml b/tasks/gitlab.yml index 80a5398..69b98f0 100644 --- a/tasks/gitlab.yml +++ b/tasks/gitlab.yml @@ -41,7 +41,7 @@ - name: 'gitlab : define cronjob backup' cron: name: 'docker_gitlab_backup' - job: '/usr/bin/docker exec -t gitlab gitlab-backup create SKIP=artifacts CRON=1 2>&1 | /usr/bin/logger -t docker_gitlab' + job: '/usr/bin/docker exec -t gitlab gitlab-backup create {{ gitlab_backup_cron_skip }} CRON=1 2>&1 | /usr/bin/logger -t docker_gitlab' minute: '{{ gitlab_backup_cron.minute | default(omit) }}' hour: '{{ gitlab_backup_cron.hour | default(omit) }}' day: '{{ gitlab_backup_cron.day | default(omit) }}'