Files
ansible/.woodpecker.yml
T
gballan f70f95141a
ci/woodpecker/push/woodpecker Pipeline was canceled
Adding ansible-lint config; hopefully last fix
2026-09-15 23:02:41 -04:00

17 lines
539 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"
- ansible-galaxy collection install -r requirements.yml -p "$CI_WORKSPACE/collections"
- name: lint-ansible
image: ghcr.io/ansible/community-ansible-dev-tools:latest
commands:
- git config --global --add safe.directory "$CI_WORKSPACE"
- ansible-lint --force-color