ansible-role-borg-backup/defaults/main.yml
Tom Wolfskämpf 30981f3d59
Prevent borgmatic_cron_checks_day from becoming 0. By @wolfskaempf (#44)
borgmatic_cron_checks_day could become 0 in the previous configuration, causing cron to reject the /etc/cron.d/borgmatic vile
2020-11-30 08:06:04 +08:00

36 lines
1008 B
YAML
Executable File

---
borg_encryption_passphrase: ''
borg_exclude_patterns: []
borgmatic_config_name: config.yaml
borgmatic_large_repo: true
borgmatic_failure_command:
- echo "`date` - Error while creating a backup."
borgmatic_before_backup_command: []
borgmatic_after_backup_command: []
borgmatic_hooks: []
borg_one_file_system: true
borg_exclude_from: []
borg_encryption_passcommand: false
borg_lock_wait_time: 5
borg_ssh_command: false
borg_remote_path: false
borg_retention_policy:
keep_hourly: 3
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
create_repo: False
ssh_key_file: .ssh/id_ed25519
bb_new_sshkey: True
bb_append: True
bb_quota: False
bb_quota_size: 0
bb_alertdays: 0
bb_repo_name: "{{ inventory_hostname }}"
bb_sshkey: "{{ root_user['ssh_public_key'] }}"
borgmatic_cron_hour: "{{ 6 | random }}"
borgmatic_cron_minute: "{{ 59 | random }}"
borgmatic_cron_checks_day: "{{ range(1, 28) | random }}"
borgmatic_cron_checks_hour: "{{ range(7, 24) | random }}"
borgmatic_cron_checks_minute: "{{ 59 | random }}"