Ansible_workstation/vars/Songe.yml

42 lines
1.3 KiB
YAML
Raw Normal View History

2018-10-04 14:38:39 +00:00
---
me: "{{ deploy_users }}"
# 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' }
## J'en suis là!!
# 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', '') }}"