diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-04-04 02:32:57 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-04-04 02:35:04 +0200 |
commit | 07cc232165d566d78e62dfc9eed9f5d5bb8831be (patch) | |
tree | 1cd764fa914480e556ec423efe9030398e5c184f /Makefile | |
parent | 78561724fa4f58b8d256227f8913e712ecbd30f5 (diff) | |
download | ansible-ship-main.tar.gz ansible-ship-main.zip |
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 |