From c6c6e65a34878146f20503e99db2d711c5d6bddb Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 18 Oct 2026 15:24:01 +0200 Subject: [PATCH] fix(ci): install Molecule collections before linting Install test dependencies so ansible-lint can resolve the container modules used by the Molecule scenario. Co-authored-by: Copilot --- .gitea/workflows/ansible-linters.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ansible-linters.yml b/.gitea/workflows/ansible-linters.yml index 3c8af17..f0643c6 100644 --- a/.gitea/workflows/ansible-linters.yml +++ b/.gitea/workflows/ansible-linters.yml @@ -17,4 +17,6 @@ jobs: uses: ansible/ansible-lint@v25.2.1 with: args: "--config-file .ansible-lint.yml" + # The molecule scenario is linted as well, so its collections are required beside the ones of the role. + requirements_file: "molecule/default/collections.yml" setup_python: "true"