Skip to content
Snippets Groups Projects
Commit 25590a73 authored by Дмитрий Сафронов's avatar Дмитрий Сафронов :eye:
Browse files

backup

parent f104d6c4
No related branches found
No related tags found
No related merge requests found
......@@ -71,3 +71,13 @@
path: "{{ gitlab_config.backup_file }}"
state: absent
when: gitlab_config.changed
- name: Gitlab backup setup
ansible.builtin.copy:
content: |
{{ gitlab_backup_cron }} root backup-gitlab create CRON=1 {{ gitlab_backup_options | default(omit) }}
dest: "/etc/cron.d/gitlab-backup"
owner: root
group: root
mode: '0644'
when: gitlab_backup_cron is defined
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment