ansible-borgbackup/defaults/main.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

2017-09-07 18:35:01 +00:00
---
2018-08-30 21:37:26 +00:00
borgbackup_required: true
2017-09-07 18:35:01 +00:00
2018-01-28 17:01:15 +00:00
borgbackup_client_user: root
borgbackup_ssh_key: "~{{ borgbackup_client_user }}/.ssh/id_borg_rsa"
2017-11-12 14:02:50 +00:00
2018-01-28 18:35:00 +00:00
borgbackup_version: "1.1.4"
borgbackup_checksum: "sha256:4ecf507f21f0db7c437b2ef34566273d7ba5a7d05e921c6f0e3406c3f96933a7"
2017-10-01 11:05:59 +00:00
borgbackup_download_url: "https://github.com/borgbackup/borg/releases/download/{{ borgbackup_version }}/borg-linux64"
2017-09-07 18:35:01 +00:00
2018-01-29 19:34:41 +00:00
borgbackup_compression: "auto,zlib,6"
2018-01-28 18:35:00 +00:00
borgbackup_encryption_mode: keyfile
2018-01-29 19:34:41 +00:00
2017-10-01 11:05:59 +00:00
borgbackup_pre_commands:
2017-09-07 18:35:01 +00:00
- '[[ ! -f "/usr/sbin/automysqlbackup" ]] || /usr/sbin/automysqlbackup'
borgbackup_post_commands: []
2017-10-01 11:05:59 +00:00
borgbackup_include:
2017-09-07 18:35:01 +00:00
- "/etc"
- "/home"
- "/root"
- "/var/www"
- "/var/log"
borgbackup_exclude: []
2017-10-01 11:05:59 +00:00
borgbackup_retention:
2017-09-07 18:35:01 +00:00
hourly: 12
daily: 7
weekly: 4
monthly: 6
yearly: 1
2017-10-01 11:05:59 +00:00
2017-10-01 18:01:19 +00:00
borgbackup_cron_day: "*"
borgbackup_cron_hour: "{{ 5|random(seed=inventory_hostname) }}"
borgbackup_cron_minute: "{{ 59|random(seed=inventory_hostname) }}"
2017-10-01 18:01:19 +00:00
2018-08-30 21:37:26 +00:00
borgbackup_appendonly: false
borgbackup_appendonly_repoconfig: false
2017-10-01 11:05:59 +00:00
borgbackup_management_station: ''
2017-10-01 17:24:50 +00:00
borgbackup_management_user: ''
2017-11-12 14:02:50 +00:00
borgbackup_management_ssh_pubkey: ''
borgbackup_owner: root
borgbackup_group: root
borgbackup_shell: "/bin/bash"