ansible_role_restic/defaults/main.yml

37 lines
1.1 KiB
YAML
Raw Normal View History

2019-08-12 17:23:59 +02:00
---
2019-08-17 09:25:37 +02:00
restic_url: '{{ restic_url_default }}'
restic_version: '0.16.1'
2019-08-13 13:26:40 +02:00
restic_download_path: '/opt/restic'
restic_install_path: '/usr/local/bin'
2021-04-29 16:16:35 +02:00
restic_script_dir: '/opt/restic'
restic_log_dir: '{{ restic_script_dir }}/log'
2019-08-12 17:23:59 +02:00
restic_repos: {}
restic_backups: []
restic_create_schedule: "{{ restic_create_cron }}"
restic_schedule_type: "systemd"
restic_backup_now: false
# restic_schedule_type: "cronjob"
2021-08-03 23:16:34 +02:00
restic_no_log: true
2019-08-13 13:26:40 +02:00
2019-08-15 13:01:56 +02:00
restic_dir_owner: '{{ ansible_user | default(ansible_user_id) }}'
restic_dir_group: '{{ ansible_user | default(ansible_user_id) }}'
2021-06-15 19:48:23 +02:00
# timer defaults
restic_systemd_timer_randomizeddelaysec: '4h'
restic_systemd_timer_default_oncalendar: '*-*-* 02:00:00'
2021-06-15 19:48:23 +02:00
# perform simple version check for this role? (true is recomended)
submodules_versioncheck: false
restic_do_not_cleanup_cron: true
2022-01-18 17:20:02 +01:00
# cache
restic__cache_config: false
restic__cache_dir: '~/.cache/restic'
# limit maximum number of CPUs that can be used simultaneously
restic__limit_cpu_usage: false
restic__max_cpus: 1
# outdated variables because of irritating names, but kept for compatibility
restic_create_cron: false