Feat: add samba shares

This commit is contained in:
2022-06-02 17:54:32 +02:00
parent 9221790ca0
commit 020e81176d
9 changed files with 79 additions and 10 deletions

View File

@@ -6,13 +6,29 @@ ssh_publickey: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB7aeBuq7TC8bRATkXa3QY4icPSz
#ansible_become_pass: "{{ lookup('passwordstore', 'home/nas/admin')}}"
nfs_exports:
- src: '/mnt/DocNas/Benjamin'
allowedIP: '192.168.2.0/24'
options: 'rw,sync,no_root_squash'
options: 'rw,sync,all_squash,anonuid=998,anongid=100,no_subtree_check'
- src: '/mnt/DocNas/Commun'
allowedIP: '192.168.2.0/24'
options: 'rw,sync,no_root_squash'
options: 'rw,sync,all_squash,anonuid=998,anongid=100,no_subtree_check'
- src: '/mnt/DocNas/Margot'
allowedIP: '192.168.2.0/24'
options: 'rw,sync,no_root_squash'
options: 'rw,sync,all_squash,anonuid=998,anongid=100,no_subtree_check'
samba_exports:
- name: Scans
comment: "Dépots des documents scannés"
browsable: 'yes'
public: 'yes'
writable: 'yes'
path: "/mnt/DocNas/Commun/Scans"
- name: Margot
comment: "Documents de Margot pour accès depuis windows"
browsable: 'yes'
public: 'yes'
writable: 'yes'
path: "/mnt/DocNas/Margot"