Feat: update to new nas

This commit is contained in:
Bertrand Benjamin 2019-11-13 12:48:15 +01:00
parent b0d11872f0
commit f90e532732
4 changed files with 8 additions and 3 deletions

View File

@ -4,7 +4,7 @@
vars_files: vars_files:
- vars/common.yml - vars/common.yml
- vars/home.yml #- vars/home.yml
- vars/Choux.yml - vars/Choux.yml
tasks: tasks:

3
files/autofs.nas Normal file
View File

@ -0,0 +1,3 @@
doc_nas -rw,soft,intr,rsize=8192,wsize=8192 nas:/export/Documents
film_nas -rw,soft,intr,rsize=8192,wsize=8192 nas:/export/Films

View File

@ -9,13 +9,15 @@ borg_backup_repo: "{{ backup_mount_point }}/Choux"
borg_script_path: /root/.borg borg_script_path: /root/.borg
borg_script_filename: backup.sh borg_script_filename: backup.sh
# NFS export shares
label_mounts: [] label_mounts: []
access_mounts: [] access_mounts: []
nfs_shares: nfs_shares:
- { src: '/media/documents', name: '/export/documents', options: 'rw,no_subtree_check,nohide' } - { src: '/media/documents', name: '/export/documents', options: 'rw,no_subtree_check,nohide' }
# NFS import shares
autofs: autofs:
- { host: raisin } - { host: nas }
music_dir: /media/documents/musique/ music_dir: /media/documents/musique/

View File

@ -4,5 +4,5 @@ prompt: fish
deploy_public_key: id_ed25519_home.pub deploy_public_key: id_ed25519_home.pub
autofs: autofs:
- { host: raisin } - { host: nas }
- { host: choux } - { host: choux }