Ansible_workstation/vars/Songe.yml

40 lines
1.1 KiB
YAML

---
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' }
## J'en suis là!!
borg:
user: backup
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', '') }}"