Adding ansible-lint config; hopefully last fix
ci/woodpecker/push/woodpecker Pipeline was canceled

This commit is contained in:
gballan committed 2026-09-15 23:02:41 -04:00
1 parent d6682e1ad9
commit f70f95141a
2 files changed
+28 -3

No files matched your search

+9 -3
View File
@@ -3,8 +3,14 @@ when:
branch: [main]
steps:
- name: lint-ansible
image: python:3.14-slim
- name: install-roles
image: ghcr.io/ansible/community-ansible-dev-tools:latest
commands:
- pip install ansible-lint
- 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