ansible/group_vars/server/mount

128 lines
3.2 KiB
Plaintext
Raw Normal View History

2021-07-18 08:07:33 +00:00
systemd_mounts:
2020-11-28 16:36:30 +00:00
diskstation_git:
share: diskstation.ducamps.win:/volume2/git
mount: /mnt/diskstation/git
type: nfs
options:
- " "
automount: true
diskstation_CardDav:
share: diskstation.ducamps.win:/volume2/CardDav
mount: /mnt/diskstation/CardDav
type: nfs
options:
- " "
automount: true
backup_disk:
share: /dev/sdb1
mount: /mnt/backup
type: ntfs-3g
options:
- "uid=1024
- guid=100
- vers=3.0"
2021-07-18 08:07:33 +00:00
automount: true
2020-11-28 16:36:30 +00:00
diskstation_home:
share: diskstation.ducamps.win:/volume2/homes/admin
mount: /mnt/diskstation/home
type: nfs
options:
- " "
2021-07-18 08:07:33 +00:00
automount: true
2020-11-28 16:36:30 +00:00
diskstation_photo:
share: diskstation.ducamps.win:/volume2/photo
mount: /mnt/diskstation/photo
type: nfs
options:
- " "
automount: true
diskstation_music:
share: diskstation.ducamps.win:/volume2/music
mount: /mnt/diskstation/music
type: nfs
options:
- " "
automount: true
diskstation_media:
share: diskstation.ducamps.win:/volume1/media
mount: /mnt/diskstation/media
type: nfs
options:
- " "
automount: true
diskstation_ebook:
share: diskstation.ducamps.win:/volume2/ebook
mount: /mnt/diskstation/ebook
type: nfs
options:
- " "
automount: true
diskstation_nextcloud:
2021-08-16 14:25:38 +00:00
share: //diskstation.ducamps.win/nextcloud
2020-11-28 16:36:30 +00:00
mount: /mnt/diskstation/nextcloud
type: cifs
options:
- credentials=/etc/creds/.diskstation_credentials
2022-05-05 19:06:02 +00:00
- uid=33
- gid=33
2020-11-28 16:36:30 +00:00
- vers=3.0
- dir_mode=0770
2021-11-14 11:05:41 +00:00
- _netdev
2021-08-16 14:25:38 +00:00
automount: true
2020-12-14 19:21:45 +00:00
diskstation_archMirror:
share: diskstation.ducamps.win:/volume2/archMirror
mount: /mnt/diskstation/archMirror
type: nfs
options:
- " "
automount: true
2021-07-18 08:07:33 +00:00
diskstation_certs:
share: diskstation.ducamps.win:/volume2/certs/letsencrypt
mount: /etc/letsencrypt
type: nfs
options:
- " "
automount: false
2022-04-03 18:43:23 +00:00
diskstation_nomad:
share: diskstation.ducamps.win:/volume2/nomad
mount: /mnt/diskstation/nomad
type: nfs
options:
- " "
automount: true
2021-07-18 08:07:33 +00:00
2020-11-28 16:36:30 +00:00
systemd_mounts_enabled:
- diskstation_git
- diskstation_music
2021-07-18 08:07:33 +00:00
- backup_disk
2020-11-28 16:36:30 +00:00
- diskstation_photo
- diskstation_home
- diskstation_CardDav
- diskstation_media
- diskstation_ebook
- diskstation_nextcloud
2020-12-14 19:21:45 +00:00
- diskstation_archMirror
2021-07-18 08:07:33 +00:00
- diskstation_certs
2022-04-03 18:43:23 +00:00
- diskstation_nomad
2020-11-28 16:36:30 +00:00
credentials_files:
1:
type: smb
path: /etc/creds/.diskstation_credentials
username: admin
password: "{{ vault_diskstation_admin }}"
2020-12-14 16:31:55 +00:00
samba_shares:
- name: hassconfig
path: /var/lib/hass
read_only: no
writable: yes
directory_mode: 770
owner: hass
group: hass
write_list: "{{user.name}}"
2021-07-18 08:07:33 +00:00
samba_users:
- name: "{{user.name}}"
2020-12-14 16:31:55 +00:00
password: "{{ vault_smb_user }}"