Fix(Choux): Create borg script directory
This commit is contained in:
parent
3c5d5fbff6
commit
2f1ae36b15
@ -4,10 +4,16 @@
|
||||
name: borg
|
||||
state: present
|
||||
|
||||
- name: Create script directory
|
||||
file:
|
||||
path: "{{ borg_script_path }}"
|
||||
state: directory
|
||||
mode: 755
|
||||
|
||||
- name: Automate toward local RAID backup with systemd timer
|
||||
template:
|
||||
src: files/choux_borg.sh
|
||||
dest: "{{ borg_script_path }}"
|
||||
dest: "{{ borg_script_path }}"/backup.sh
|
||||
mode: 755
|
||||
|
||||
- name: Backup systemd timer
|
||||
|
@ -3,6 +3,6 @@
|
||||
deploy_public_key: files/id_ed25519_home.pub
|
||||
|
||||
borg_backup_repo: /media/backup/Choux
|
||||
borg_script_path: /root/.borg/backup.sh
|
||||
borg_script_path: /root/.borg
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user