From a074095fcea87b0cff0bdadbf7fccc3e21c97754 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 8 Mar 2020 10:07:06 +0100 Subject: [PATCH] convert share server in NFS --- group_vars/server | 48 +++++++++++++++++------------------------------ 1 file changed, 17 insertions(+), 31 deletions(-) diff --git a/group_vars/server b/group_vars/server index ff97f20..082669c 100644 --- a/group_vars/server +++ b/group_vars/server @@ -18,59 +18,45 @@ systemd_mounts: mount: /mnt/backup type: ntfs-3g options: - - uid=1024 + - "uid=1024 - guid=100 - - vers=3.0 + - vers=3.0" automount: true diskstation_home: - share: //diskstation.ducamps.win/homes/admin + share: diskstation.ducamps.win:/volume2/homes/admin mount: /mnt/diskstation/home - type: cifs + type: nfs options: - - credentials=/etc/creds/.diskstation_credentials - - uid=http - - gid=100 - - vers=3.0 + - " " automount: true diskstation_photo: - share: //diskstation.ducamps.win/photo + share: diskstation.ducamps.win:/volume2/photo mount: /mnt/diskstation/photo - type: cifs + type: nfs options: - - credentials=/etc/creds/.diskstation_credentials - - uid=http - - gid=100 - - vers=3.0 + - " " automount: true diskstation_music: - share: //diskstation.ducamps.win/music + share: diskstation.ducamps.win:/volume2/music mount: /mnt/diskstation/music type: cifs + type: nfs options: - - credentials=/etc/creds/.diskstation_credentials - - uid=http - - gid=100 - - vers=3.0 + - " " automount: true diskstation_media: - share: //diskstation.ducamps.win/media + share: diskstation.ducamps.win:/volume2/media mount: /mnt/diskstation/media - type: cifs + type: nfs options: - - credentials=/etc/creds/.diskstation_credentials - - uid=http - - gid=100 - - vers=3.0 + - " " automount: true diskstation_ebook: - share: //diskstation.ducamps.win/ebook + share: diskstation.ducamps.win:/volume2/ebook mount: /mnt/diskstation/ebook - type: cifs + type: nfs options: - - credentials=/etc/creds/.diskstation_credentials - - uid=http - - gid=100 - - vers=3.0 + - " " automount: true systemd_mounts_enabled: - diskstation_git