add mount for creds

This commit is contained in:
vincent 2021-07-18 10:07:33 +02:00
parent 9fd1c0ca98
commit 249a398160

View File

@ -1,4 +1,4 @@
systemd_mounts:
systemd_mounts:
diskstation_git:
share: diskstation.ducamps.win:/volume2/git
mount: /mnt/diskstation/git
@ -21,14 +21,14 @@ systemd_mounts:
- "uid=1024
- guid=100
- vers=3.0"
automount: true
automount: true
diskstation_home:
share: diskstation.ducamps.win:/volume2/homes/admin
mount: /mnt/diskstation/home
type: nfs
options:
- " "
automount: true
automount: true
diskstation_photo:
share: diskstation.ducamps.win:/volume2/photo
mount: /mnt/diskstation/photo
@ -67,7 +67,7 @@ systemd_mounts:
- gid=nextcloud
- vers=3.0
- dir_mode=0770
automount: true
automount: false
diskstation_archMirror:
share: diskstation.ducamps.win:/volume2/archMirror
mount: /mnt/diskstation/archMirror
@ -75,10 +75,18 @@ systemd_mounts:
options:
- " "
automount: true
diskstation_certs:
share: diskstation.ducamps.win:/volume2/certs/letsencrypt
mount: /etc/letsencrypt
type: nfs
options:
- " "
automount: false
systemd_mounts_enabled:
- diskstation_git
- diskstation_music
- backup_disk
- backup_disk
- diskstation_photo
- diskstation_home
- diskstation_CardDav
@ -86,6 +94,7 @@ systemd_mounts_enabled:
- diskstation_ebook
- diskstation_nextcloud
- diskstation_archMirror
- diskstation_certs
credentials_files:
1:
@ -104,6 +113,6 @@ samba_shares:
group: hass
write_list: "{{user.name}}"
samba_users:
- name: "{{user.name}}"
samba_users:
- name: "{{user.name}}"
password: "{{ vault_smb_user }}"