Simplifying ansible-lint step
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-09-15 23:10:21 -04:00
parent f70f95141a
commit 6d82582a05
+1 -7
View File
@@ -3,13 +3,7 @@ when:
branch: [main] branch: [main]
steps: steps:
- name: install-roles - name: ansible-lint
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 image: ghcr.io/ansible/community-ansible-dev-tools:latest
commands: commands:
- git config --global --add safe.directory "$CI_WORKSPACE" - git config --global --add safe.directory "$CI_WORKSPACE"