mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-11-13 23:30:19 +01:00
4aecbbeffd
The README (Role Variables) asserts that `restic_install_path` defaults to `/usr/local/bin`, when in fact it defaults to `/usr/bin`. Fix the defaults to match the documentation. Signed-off-by: Martin Kennedy <hurricos@gmail.com>
31 lines
960 B
YAML
31 lines
960 B
YAML
---
|
|
restic_url: '{{ restic_url_default }}'
|
|
restic_version: '0.12.1'
|
|
restic_download_path: '/opt/restic'
|
|
restic_install_path: '/usr/local/bin'
|
|
restic_script_dir: '/opt/restic'
|
|
restic_log_dir: '{{ restic_script_dir }}/log'
|
|
restic_repos: {}
|
|
restic_backups: []
|
|
restic_create_schedule: "{{ restic_create_cron }}"
|
|
restic_schedule_type: "systemd"
|
|
# restic_schedule_type: "cronjob"
|
|
restic_no_log: true
|
|
|
|
restic_dir_owner: '{{ ansible_user | default(ansible_user_id) }}'
|
|
restic_dir_group: '{{ ansible_user | default(ansible_user_id) }}'
|
|
|
|
# timer defaults
|
|
restic_systemd_timer_randomizeddelaysec: '4h'
|
|
restic_systemd_timer_default_oncalendar: '*-*-* 02:00:00'
|
|
|
|
# perform simple version check for this role? (true is recomended)
|
|
submodules_versioncheck: false
|
|
restic_do_not_cleanup_cron: false
|
|
|
|
# cache
|
|
restic__cache_config: false
|
|
restic__cache_dir: '~/.cache/restic'
|
|
|
|
# outdated variables because of irritating names, but kept for compatibility
|
|
restic_create_cron: false
|