Add restic_compression and restic_build_command
This commit is contained in:
parent
42f4a74218
commit
65d1aec53e
@ -13,7 +13,12 @@
|
||||
|
||||
export RESTIC_REPOSITORY="s3:{{ restic_aws_endpoint }}/{{ restic_aws_bucket_name }}"
|
||||
export RESTIC_PASSWORD={{ restic_password | to_json }}
|
||||
{% if restic_compression is defined %}export RESTIC_COMPRESSION={{ restic_compression }}{% endif %}
|
||||
|
||||
|
||||
{% if restic_build_command is defined %}
|
||||
{{ restic_build_command }}
|
||||
{% endif %}
|
||||
restic backup {{ restic_directory }}
|
||||
dest: "/etc/periodic/daily/backup_{{ ansible_play_name | replace(' ', '_') }}"
|
||||
mode: 0755
|
||||
|
Loading…
x
Reference in New Issue
Block a user