From 660765d1c6634382a0e6c07e9eebbfde556ef6a7 Mon Sep 17 00:00:00 2001 From: kasun Date: Fri, 27 Nov 2026 21:08:07 +0100 Subject: [PATCH] chore: pin community.docker and install it in CI ansible-core ships only ansible.builtin, so ansible-lint cannot resolve community.docker modules without the collection. --- .gitea/workflows/checks.yaml | 3 +++ collections/requirements.yml | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 collections/requirements.yml diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml index 7769a3a..f06195a 100644 --- a/.gitea/workflows/checks.yaml +++ b/.gitea/workflows/checks.yaml @@ -48,6 +48,9 @@ jobs: - name: Install Lint Tools run: pip install -r requirements-dev.txt + - name: Install Ansible Collections + run: ansible-galaxy collection install -r collections/requirements.yml + - name: Run yamllint run: yamllint --strict . diff --git a/collections/requirements.yml b/collections/requirements.yml new file mode 100644 index 0000000..dcf12b2 --- /dev/null +++ b/collections/requirements.yml @@ -0,0 +1,4 @@ +--- +collections: + - name: community.docker + version: "5.4.1"