refactor(ci): keep community.docker out of the role requirements
Lint Markdown files / markdown-lint (push) Successful in 5s
Ansible Linter / ansible-lint (push) Successful in 2m54s
Molecule / Molecule (push) Successful in 6m52s

The collection community.docker is only used by the molecule scenario and is no runtime dependency of the role.
It is therefore declared in molecule/default/collections.yml only. Since ansible-lint also lints the scenario, the
action installs that file instead of requirements.yaml.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-09-08 11:24:57 +02:00
co-authored by Copilot
parent 28d4ea523d
commit 03f77e69d6
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -17,5 +17,6 @@ jobs:
uses: ansible/ansible-lint@665d9e07a1943254d2910faffc106adaf7ea7294 # v26.8.0 uses: ansible/ansible-lint@665d9e07a1943254d2910faffc106adaf7ea7294 # v26.8.0
with: with:
args: "--config-file .ansible-lint" args: "--config-file .ansible-lint"
requirements_file: "requirements.yaml" # 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" setup_python: "true"
-1
View File
@@ -2,5 +2,4 @@
collections: collections:
- name: community.crypto - name: community.crypto
- name: community.docker
- name: community.general - name: community.general