ansible_role_restic/defaults/main.yml
Luca Zorzi 7cd26ca0f4
add: support for basic logging of backup result (#21)
* Added support for basic logging of backup result

* Added changelog entry

* Added full output logging

* Changed logging date format to include the time as well as the date

* Fixed error on backup script creation if enable_logging was not specified for a backup job

* Improved backup script by removing duplicate code

* Added variable restic_log_dir to the readme
2020-12-13 16:53:24 +01:00

14 lines
436 B
YAML

---
# defaults file for skeleton
restic_url: '{{ restic_url_default }}'
restic_version: '0.11.0'
restic_download_path: '/opt/restic'
restic_install_path: '/usr/bin'
restic_script_dir: '~/restic'
restic_log_dir: '{{ restic_script_dir }}/log'
restic_repos: {}
restic_backups: []
restic_create_cron: false
restic_dir_owner: '{{ ansible_user | default(ansible_user_id) }}'
restic_dir_group: '{{ ansible_user | default(ansible_user_id) }}'