blob: 5399bc9257ee9dab4304f195ce3177a55763aa7c (
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
update:
ansible -i inventory.ini -b -m ansible.builtin.package --args 'state=latest name=*' ship.lan
backup:
ssh -t ship.lan "test -d $(BACKUP) \
|| restic -r $(BACKUP) init \
&& restic -r $(BACKUP) backup services"
|