From 10d54a2f4cddd6f35df815a383e7aebf63c14b2a Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 7 May 2022 09:18:05 +0200 Subject: [PATCH] add mount to dhcp --- group_vars/dhcp | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/group_vars/dhcp b/group_vars/dhcp index fdcb42e..652b586 100644 --- a/group_vars/dhcp +++ b/group_vars/dhcp @@ -105,11 +105,36 @@ systemd_mounts: options: - " " automount: true - - + diskstation_nextcloud: + share: //diskstation.ducamps.win/nextcloud + mount: /mnt/diskstation/nextcloud + type: cifs + options: + - credentials=/etc/creds/.diskstation_credentials + - uid=33 + - gid=33 + - vers=3.0 + - dir_mode=0770 + - _netdev + automount: true + diskstation_CardDav: + share: diskstation.ducamps.win:/volume2/CardDav + mount: /mnt/diskstation/CardDav + type: nfs + options: + - " " + automount: true +credentials_files: + 1: + type: smb + path: /etc/creds/.diskstation_credentials + username: admin + password: "{{ vault_diskstation_admin }}" systemd_mounts_enabled: - diskstation_nomad - diskstation_git - diskstation_music + - diskstation_nextcloud + - diskstation_CardDav