2019-12-15 06:40:49 +00:00
|
|
|
---
|
2024-04-14 22:25:38 +00:00
|
|
|
restic_go_arch_map:
|
|
|
|
i386: '386'
|
|
|
|
x86_64: 'amd64'
|
|
|
|
|
|
|
|
|
|
|
|
restic_go_arch: "{{ restic_go_arch_map[ansible_architecture] | default('amd64') }}"
|
|
|
|
|
|
|
|
restic_version_regex: ^restic ([\d.]+)
|
|
|
|
|
|
|
|
restic_checksum_algo: sha256
|
|
|
|
restic_github_rel_path: restic/restic
|
|
|
|
restic_github_project_url: "https://github.com/{{ restic_github_rel_path }}"
|
|
|
|
restic_release_file: "restic_{{ restic_version }}_{{ ansible_system | lower }}_{{ restic_go_arch }}.bz2"
|
|
|
|
restic_release_url: "{{ restic_github_project_url }}/releases/download/v{{ restic_version }}/{{ restic_release_file }}"
|
|
|
|
restic_checksum_url: "{{ restic_github_project_url }}/releases/download/v{{ restic_version }}/{{ restic_checksum_algo | upper }}SUMS"
|
|
|
|
restic_download_path: "/tmp/{{ restic_release_file }}"
|
|
|
|
restic_unarchive_dest_path: /tmp
|
|
|
|
restic_extracted_path: "{{ restic_download_path | replace('.bz2', '') }}"
|
|
|
|
restic_binaries:
|
|
|
|
- restic
|
|
|
|
|
|
|
|
# restic_arch: amd64
|
|
|
|
# restic_version: 0.15.2
|
|
|
|
# restic_url: "https://github.com/restic/restic/releases/download/v{{ restic_version }}/restic_{{ restic_version }}_linux_{{ restic_arch }}.bz2"
|
|
|
|
# restic_checksum: sha256:c8da7350dc334cd5eaf13b2c9d6e689d51e7377ba1784cc6d65977bd44ee1165
|
|
|
|
# restic_bin_path: /usr/local/bin
|
|
|
|
# restic_etc_path: /etc/restic
|
|
|
|
# restic_path: "{{ restic_bin_path }}/restic"
|
|
|
|
# restic_self_update: true
|
|
|
|
|
2019-12-15 06:40:49 +00:00
|
|
|
restic_bin_path: /usr/local/bin
|
|
|
|
restic_etc_path: /etc/restic
|
|
|
|
restic_path: "{{ restic_bin_path }}/restic"
|
2020-04-21 03:28:21 +00:00
|
|
|
restic_self_update: true
|
2019-12-15 06:40:49 +00:00
|
|
|
|
2019-12-16 02:51:51 +00:00
|
|
|
restic_global_exclude:
|
|
|
|
- /dev
|
|
|
|
- /media
|
|
|
|
- /mnt
|
|
|
|
- /proc
|
|
|
|
- /run
|
|
|
|
- /sys
|
|
|
|
- /tmp
|
|
|
|
- /var/tmp
|
|
|
|
- /var/lib/lxcfs/cgroup
|
|
|
|
|
2019-12-15 06:40:49 +00:00
|
|
|
restic_repos: []
|
|
|
|
restic_jobs: []
|
2022-08-30 11:50:56 +00:00
|
|
|
|
|
|
|
restic_tidy_enabled: false
|