infra-role-s3cmd-upload/defaults/main.yml

25 lines
874 B
YAML

---
s3cmd_upload_name: 'default'
s3cmd_upload_directory: ~
s3cmd_upload_script_dir: '/usr/local/bin'
s3cmd_upload_script: '{{ s3cmd_upload_script_dir }}/upload_{{ s3cmd_upload_name }}.sh'
s3cmd_upload_service_path: '/etc/systemd/system'
s3cmd_upload_service_name: 'upload-{{ s3cmd_upload_name }}'
s3cmd_upload_service_user: root
# It takes a bit to upload files
s3cmd_upload_service_start_timeout: 120
# Optionally wait for specified service to run
s3cmd_upload_service_extra_after: ~
# Backup frequency in systemd OnCalendar format
s3cmd_upload_timer_frequency: 'daily'
# Number of most recent files to backup
s3cmd_upload_number: 1
# Digital Ocean Spaces configuration
s3cmd_upload_base_domain: ams3.digitaloceanspaces.com
# example: s3://discourse-backups
s3cmd_upload_bucket_name: ~
s3cmd_upload_encryption_pass: ~
s3cmd_upload_access_key: ~
s3cmd_upload_secret_key: ~