blob: a3ab0bcd441e28113429460c173a7b5916839412 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
BACKUP := backup
setup:
ansible-playbook -i inventory.ini --diff setup.yml
packages:
ansible-playbook -i inventory.ini --diff packages.yml
backup:
ssh -t ship.lan "test -d $(BACKUP) \
|| restic -r $(BACKUP) init \
&& restic -r $(BACKUP) backup services"
|