ansible/group_vars/workstation
2019-11-24 14:49:14 +01:00

67 lines
1.7 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
systemd_mounts_enabled:
- diskstation_media
- diskstation_music
- diskstation_ebook
- diskstation_photo
- diskstation_home
credentials_files:
1:
type: smb
path: /etc/creds/.diskstation_credentials
username: admin
password: "{{ vault_default_password }}"