diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,12 +1,11 @@ BACKUP := backup -setup: - ansible-playbook -i inventory.ini --diff setup.yml - -packages: - ansible-playbook -i inventory.ini --diff packages.yml +services packages: + ansible-playbook -i inventory.ini --diff $@.yml backup: ssh -t ship.lan "test -d $(BACKUP) \ || restic -r $(BACKUP) init \ && restic -r $(BACKUP) backup services" + +.PHONY: services packages backup |