Просмотр исходного кода

update borg image tag

pull/2398/head
Aine 3 лет назад
Родитель
Сommit
5c8bad6091
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 34969C908CCA2804
2 измененных файлов: 5 добавлений и 2 удалений
  1. +4
    -1
      roles/custom/matrix-backup-borg/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-backup-borg/tasks/setup_install.yml

+ 4
- 1
roles/custom/matrix-backup-borg/defaults/main.yml Просмотреть файл

@@ -11,8 +11,11 @@ matrix_backup_borg_docker_repo: "https://gitlab.com/etke.cc/borgmatic"
matrix_backup_borg_docker_repo_version: main
matrix_backup_borg_docker_src_files_path: "{{ matrix_backup_borg_base_path }}/docker-src"

# version determined automatically, based on postgres server version (if enabled), otherwise latest is used
# image and postgres version determined automatically, based on detected postgres server version (if enabled), otherwise latest is used
matrix_backup_borg_version: ""
matrix_backup_borg_postgres_version: ""
matrix_backup_borg_borg_version: 1.2.3
matrix_backup_borg_borgmatic_version: 1.7.5
matrix_backup_borg_docker_image: "{{ matrix_backup_borg_docker_image_name_prefix }}etke.cc/borgmatic:{{ matrix_backup_borg_version }}"
matrix_backup_borg_docker_image_name_prefix: "{{ 'localhost/' if matrix_backup_borg_container_image_self_build else 'registry.gitlab.com/' }}"
matrix_backup_borg_docker_image_force_pull: "{{ matrix_backup_borg_docker_image.endswith(':latest') or matrix_backup_borg_version | default('') == '' }}"


+ 1
- 1
roles/custom/matrix-backup-borg/tasks/setup_install.yml Просмотреть файл

@@ -20,7 +20,7 @@

- name: Set the correct borg backup version to use
ansible.builtin.set_fact:
matrix_backup_borg_version: "{{ devture_postgres_detected_version }}"
matrix_backup_borg_version: "{{ devture_postgres_detected_version }}-{{ matrix_backup_borg_borg_version }}-{{ matrix_backup_borg_borgmatic_version }}"

- name: Ensure borg paths exist
ansible.builtin.file:


Загрузка…
Отмена
Сохранить