add rclone role

This commit is contained in:
2025-09-23 22:25:53 +01:00
parent 60b3b58c55
commit 5d01ce166b
5 changed files with 133 additions and 0 deletions

25
roles/rclone/README.md Normal file
View File

@@ -0,0 +1,25 @@
# vars example
```yaml
rclone_configs:
- path: "/etc/myLimbo/rclone-s3-storage-lan.conf"
content: |
[s3-storage-lan]
type=s3
provider=SeaweedFS
endpoint=http://nas.lan:8334
access_key_id=?????
secret_access_key=-????
use_multipart_uploads=true
force_path_style=true
env_auth=false
rclone_mounts:
- source: s3-storage-lan:storage.iso
target: /mnt/s3-storage-lan/cache
config_file: "/etc/myLimbo/rclone-s3-storage-lan.conf"
- source: s3-storage-lan:storage.lxc_images
target: /mnt/s3-storage-lan/lxc
config_file: "/etc/myLimbo/rclone-s3-storage-lan.conf"
```