Files
ansible/.woodpecker.yml
T
gballan 2438978296
ci/woodpecker/push/woodpecker Pipeline was canceled
Updating Woodpecker CI config to handle role installs
2026-09-15 21:39:19 -04:00

16 lines
445 B
YAML

when:
- event: [pull_request, push]
branch: [main]
steps:
- name: install-roles
image: ghcr.io/ansible/community-ansible-dev-tools:latest
commands:
- ansible-galaxy role install -r requirements.yml -p "$CI_WORKSPACE/roles"
- 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