aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2025-09-09 11:12:22 +0200
committerEgor Tensin <egor@tensin.name>2025-09-09 11:12:26 +0200
commitf7178aedfd35c95c43c6a811775cb51e40ffd925 (patch)
tree01b2244c232afd3be8f74f6835bad11029317045 /Makefile
parentREADME: update (diff)
downloadmaintenance-f7178aedfd35c95c43c6a811775cb51e40ffd925.tar.gz
maintenance-f7178aedfd35c95c43c6a811775cb51e40ffd925.zip
repurpose the repo
It's no longer a stupid, archived Ansible project; I'm gonna use it to run GitHub Actions to do maintenance on my stuff.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 0 insertions, 26 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 9ecf55f..0000000
--- a/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-include prelude.mk
-
-LIMIT ?= all
-$(eval $(call noexpand,LIMIT))
-
-args := --inventory src/inventory.ini --limit '$(call escape,$(LIMIT))'
-
-.PHONY: all
-all: run
-
-.PHONY: deps
-deps:
- ansible-galaxy collection install -r src/requirements.yml
-
-.PHONY: run
-run:
- ansible-playbook $(args) src/playbook.yml
-
-.PHONY: reboot
-reboot:
- ansible $(args) --become -m reboot '*'
- ansible $(args) -m wait_for_connection '*'
-
-.PHONY: reboot/cloud
-reboot/cloud: LIMIT := cloud
-reboot/cloud: run