Add examples for templating & disable non-implemented parts.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2023-11-20 15:45:40 +00:00
parent eb42b28841
commit d91e9a8fcd

View file

@ -84,19 +84,19 @@ detail the filesystem names, types, and respective configurations.
### YAML File Format ### YAML File Format
```yaml ```yaml
version: "1" # NOT IMPLEMENTED YET
# version: "1"
global: # global:
mountpoint: "/home/user/mnt/{{name}}" # mountpoint: "/home/user/mnt/{{filesystem.name}}"
filesystems: filesystems:
- type: "gocryptfs" - type: "gocryptfs"
name: "Work - SSH Keys" name: "Work - SSH Keys"
encrypted_path: "/home/user/.ssh/keyring.work" encrypted_path: "/home/user/.ssh/keyring.work.vault"
- type: "sshfs" - type: "sshfs"
name: "Personal - Media Server" name: "Personal - Media Server"
remote_user: "user" remote_user: "{{env.USER}}"
remote_host: "mediaserver.local" remote_host: "mediaserver.local"
remote_path: "/mnt/largedisk/music" remote_path: "/mnt/largedisk/music"
remote_port: 22 remote_port: 22