gitlab_backup_cron_skip

example : gitlab_backup_cron_skip: SKIP=artifacts
This commit is contained in:
jyfou 2024-02-08 15:05:57 +01:00
parent 5082f51f05
commit 8900de55e0

View File

@ -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) }}'