Updating Woodpecker CI config to handle role installs
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
gballan committed 2026-09-15 20:47:54 -04:00
1 parent 2d5e516ca6
commit 6a3a8aaa33
1 file changed
+9 -4
+9 -4
View File
@@ -3,8 +3,13 @@ when:
branch: [main]
steps:
- name: linter
image: python:3.14-slim
- name: install-roles
image: ghcr.io/ansible/community-ansible-dev-tools:latest
commands:
- pip install --no-cache-dir ansible-lint
- ansible-lint --offline
- ansible-galaxy role install -r requirements.yml
- name: lint-ansible
image: ghcr.io/ansible/community-ansible-dev-tools:latest
commands:
- git config --global --add safe.directory "$CI_WORKSPACE"
- ansible-lint -v --offline