This commit is contained in:
+1
-7
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user