ansible/group_vars/workstation
2019-04-14 19:52:28 +02:00

76 lines
2.0 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
automount: true
diskstation_music:
share: //diskstation/music
mount: /mnt/diskstation/music
type: cifs
options:
- credentials=/etc/creds/.diskstation_credentials
- uid=1024
- gid=100
automount: true
diskstation_home:
share: //diskstation/homes/admin
mount: /mnt/diskstation/home
type: cifs
options:
- credentials=/etc/creds/.diskstation_credentials
- uid=1024
- gid=100
automount: true
diskstation_photo:
share: //diskstation/photo
mount: /mnt/diskstation/photo
type: cifs
options:
- credentials=/etc/creds/.diskstation_credentials
- uid=1024
- gid=100
automount: true
diskstation_ebook:
share: //diskstation/ebook
mount: /mnt/diskstation/ebook
type: cifs
options:
- credentials=/etc/creds/.diskstation_credentials
- uid=1024
- gid=100
automount: true
davfs_share:
share: https://diskstation.ducamps.win:5006/home/keepass
mount: /mnt/diskstation/keepass
type: davfs
options:
- uid=1024
automount: true
systemd_mounts_enabled:
- diskstation_media
- diskstation_music
- diskstation_ebook
- davfs_share
- diskstation_photo
- diskstation_home
credentials_files:
1:
type: smb
path: /etc/creds/.diskstation_credentials
username: admin
password: "{{ vault_default_password }}"
2:
type: davfs
path: /etc/davfs2/secrets
adress: https://diskstation.ducamps.win:5006/home/keepass
username: admin
password: "{{ vault_default_password }}"