83 lines
2.2 KiB
Plaintext
83 lines
2.2 KiB
Plaintext
systemd_mounts:
|
|
diskstation_media:
|
|
share: //diskstation/media
|
|
mount: /mnt/diskstation/media
|
|
type: cifs
|
|
options:
|
|
- credentials=/etc/creds/.diskstation_credentials
|
|
- uid=1024
|
|
- gid=100
|
|
- vers=3.0
|
|
automount: true
|
|
diskstation_music:
|
|
share: //diskstation/music
|
|
mount: /mnt/diskstation/music
|
|
type: cifs
|
|
options:
|
|
- credentials=/etc/creds/.diskstation_credentials
|
|
- uid=1024
|
|
- gid=100
|
|
- vers=3.0
|
|
automount: true
|
|
diskstation_home:
|
|
share: //diskstation/homes/admin
|
|
mount: /mnt/diskstation/home
|
|
type: cifs
|
|
options:
|
|
- credentials=/etc/creds/.diskstation_credentials
|
|
- uid=1024
|
|
- gid=100
|
|
- vers=3.0
|
|
automount: true
|
|
diskstation_photo:
|
|
share: //diskstation/photo
|
|
mount: /mnt/diskstation/photo
|
|
type: cifs
|
|
options:
|
|
- credentials=/etc/creds/.diskstation_credentials
|
|
- uid=1024
|
|
- gid=100
|
|
- vers=3.0
|
|
automount: true
|
|
diskstation_ebook:
|
|
share: //diskstation/ebook
|
|
mount: /mnt/diskstation/ebook
|
|
type: cifs
|
|
options:
|
|
- credentials=/etc/creds/.diskstation_credentials
|
|
- uid=1024
|
|
- gid=100
|
|
- vers=3.0
|
|
automount: true
|
|
oscar_hassconfig:
|
|
share: //oscar/hassconfig
|
|
mount: /mnt/oscar/hassconfig
|
|
type: cifs
|
|
options:
|
|
- credentials=/etc/creds/.oscar_credentials
|
|
- uid=1024
|
|
- gid=100
|
|
- vers=3.0
|
|
automount: true
|
|
|
|
|
|
systemd_mounts_enabled:
|
|
- diskstation_media
|
|
- diskstation_music
|
|
- diskstation_ebook
|
|
- diskstation_photo
|
|
- diskstation_home
|
|
- oscar_hassconfig
|
|
|
|
credentials_files:
|
|
1:
|
|
type: smb
|
|
path: /etc/creds/.diskstation_credentials
|
|
username: admin
|
|
password: "{{ vault_default_password }}"
|
|
2:
|
|
type: smb
|
|
path: /etc/creds/.oscar_credentials
|
|
username: "{{user.name}}"
|
|
password: "{{ vault_default_password }}"
|