Fix(Choux): Mount backup drive

This commit is contained in:
Bertrand Benjamin 2018-11-10 16:24:18 +01:00
parent 12846a8adc
commit 2f1dbe2fca
2 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,12 @@
---
- name: Mount backup disk
mount:
path: {{ backup_mount_point }}
src: "UUID={{ backup_disk_uuid }}"
fstype: ext4
opts: default
state: present
- name: Install borgbackup
pacman:
name: borg

View File

@ -2,7 +2,10 @@
deploy_public_key: files/id_ed25519_home.pub
borg_backup_repo: /media/backup/Choux
backup_disk_uuid: 3a22e3a8-a454-431e-929f-8818c931914a
backup_mount_point: /media/backup
borg_backup_repo: "{{ borg_backup_disk_mount }}/Choux"
borg_script_path: /root/.borg