2018-10-04 14:38:39 +00:00
|
|
|
---
|
|
|
|
me: "{{ deploy_users }}"
|
2018-12-11 17:40:49 +00:00
|
|
|
# deploy_public_key: files/id_ed25519_home.pub
|
2018-12-12 09:12:31 +00:00
|
|
|
deploy_public_key: id_rsa_songe.pub
|
2018-10-04 14:38:39 +00:00
|
|
|
|
|
|
|
minimal: true
|
|
|
|
server: true
|
|
|
|
|
|
|
|
label_mounts:
|
|
|
|
- { label: 'LABEL=Tosh500G', name: '/mnt/Tosh500G' }
|
|
|
|
- { label: 'LABEL=BackupWD_1T', name: '/mnt/BackupWD_1T' }
|
|
|
|
- { label: 'LABEL=AptCacherNG', name: '/var/cache/apt-cacher-ng/' }
|
|
|
|
- { label: 'LABEL=Backup', name: '/mnt/Backup' }
|
|
|
|
|
|
|
|
access_mounts:
|
|
|
|
- { src: '/mnt/Tosh500G', name: '/media/documents' }
|
|
|
|
- { src: '/mnt/BackupWD_1T', name: '/media/backup' }
|
|
|
|
|
|
|
|
nfs_shares:
|
|
|
|
- { src: '/media/documents', name: '/export/documents', options: 'rw,no_subtree_check,nohide' }
|
|
|
|
- { src: '/media/backup', name: '/export/backup', options: 'rw,no_subtree_check,nohide' }
|
|
|
|
- { src: '/media/documents/musique', name: '/export/musique', options: 'ro,no_subtree_check,nohide' }
|
2018-11-11 08:01:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
## J'en suis là!!
|
2018-12-11 17:40:49 +00:00
|
|
|
# borg:
|
|
|
|
# user: backup
|
|
|
|
# password: '$6$6lmddb2/hRK5$zpz9rr./tC1oJYyw5588AXs53U0oEUPmKNUE.a6hP9fTazWRGZihvjZ722F.dfNWh2Kw6K3BDejvG78RhPN1Q0'
|
|
|
|
# group: backup
|
|
|
|
# home: /mnt/BackupWD_1T/borgbackup
|
|
|
|
# pool: /mnt/BackupWD_1T/borgbackup/repos
|
|
|
|
# auth_users:
|
|
|
|
# - host: Poivre
|
|
|
|
# key: "{{ lookup('file', 'sshpubs/id_rsa_poivre_borg.pub') }}"
|
|
|
|
# # - host: Choux
|
|
|
|
# # key: "{{ lookup('file', '') }}"
|
|
|
|
# # - host: localhost
|
|
|
|
# # key: "{{ lookup('file', '') }}"
|
2018-11-11 08:01:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
|