2018-10-04 14:38:39 +00:00
|
|
|
---
|
|
|
|
me: "{{ deploy_users }}"
|
|
|
|
deploy_public_key: files/id_ed25519_home.pub
|
|
|
|
|
|
|
|
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à!!
|
|
|
|
borg:
|
|
|
|
user: backup
|
2018-11-11 16:47:10 +00:00
|
|
|
password: '$6$6lmddb2/hRK5$zpz9rr./tC1oJYyw5588AXs53U0oEUPmKNUE.a6hP9fTazWRGZihvjZ722F.dfNWh2Kw6K3BDejvG78RhPN1Q0'
|
2018-11-11 08:01:21 +00:00
|
|
|
group: backup
|
|
|
|
home: /media/backup/borgbackup
|
|
|
|
pool: /media/backup/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', '') }}"
|
|
|
|
|
|
|
|
|
|
|
|
|