diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-16 20:46:00 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-16 20:46:00 +0300 |
commit | 56ed7fe042f2177342f83d13fa4a00419e813a4e (patch) | |
tree | 43fa05d6e99bb485a4d020da8ca77be48c469816 | |
parent | add ansible.cfg (diff) | |
download | maintenance-56ed7fe042f2177342f83d13fa4a00419e813a4e.tar.gz maintenance-56ed7fe042f2177342f83d13fa4a00419e813a4e.zip |
add requirements.yml
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | requirements.yml | 8 |
2 files changed, 12 insertions, 0 deletions
@@ -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 |