mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Adapt for Ubuntu and prepare for migration to Hetzner
This commit is contained in:
parent
38237337fc
commit
3090cc6818
26 changed files with 94 additions and 123 deletions
|
|
@ -20,9 +20,14 @@
|
|||
wait_for:
|
||||
path: /var/lib/gitlab/postgres-exporter/
|
||||
state: present
|
||||
timeout: 600
|
||||
when: gitlab_users_repos.matched|int == 0
|
||||
- name: Restore backup if no users are found
|
||||
script: restore-backup.sh {{gitlab_git_uid.stdout}}
|
||||
register: gitlab_backup_restore
|
||||
args:
|
||||
chdir: "{{docker_compose_files_folder}}/gitlab/"
|
||||
retries: 5
|
||||
delay: 30
|
||||
until: gitlab_backup_restore.rc == 0
|
||||
when: gitlab_users_repos.matched|int == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue