Files
ansible/.woodpecker.yml
T
gballan d65efc33b6
ci/woodpecker/push/woodpecker Pipeline failed
Fixing ansible-galaxy install for CI
2026-09-15 22:43:04 -04:00

17 lines
538 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 -v --offline