aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--requirements.yml8
2 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f1d073f..9e0d21b 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,10 @@ $(eval $(call noexpand,limit))
.PHONY: all
all: run
+.PHONY: deps
+deps:
+ ansible-galaxy collection install -r requirements.yml
+
.PHONY: run
run:
ansible-playbook --inventory inventory.ini --limit '$(call escape,$(limit))' maintenance.yml
diff --git a/requirements.yml b/requirements.yml
new file mode 100644
index 0000000..1b17a8a
--- /dev/null
+++ b/requirements.yml
@@ -0,0 +1,8 @@
+---
+collections:
+ # Apparently, Pacman developers thought it was a good idea to change the flag
+ # --sys-upgrade to --sysupgrade, which was incredibly bright on their part.
+ # Even if my reasonably up-to-date Ansible doesn't carry the fix:
+ # https://github.com/ansible-collections/community.general/commit/b9f62bb4ef7808c0220d154c10c1c846f7c3361e
+ - name: community.general
+ version: 4.6.0