From 56ed7fe042f2177342f83d13fa4a00419e813a4e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 16 Mar 2022 20:46:00 +0300 Subject: add requirements.yml --- Makefile | 4 ++++ requirements.yml | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 requirements.yml 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 -- cgit v1.2.3