Files
ansible/.woodpecker.yml
T
2026-09-15 20:47:54 -04:00

16 lines
420 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
- 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