From 9bc322761d57a131a5180f150762afd5b97ea13f Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sun, 14 Apr 2024 20:10:06 +0200 Subject: [PATCH] Update .woodpecker.yml --- .woodpecker.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 694a273..cd934da 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,12 +2,11 @@ when: branch: master steps: - build: + ansible-lint: image: alpine/git commands: - apk add ansible ansible-lint - # - cd slococo/playground - # - ansible-galaxy collection install . - - ansible-galaxy collection install -r slococo/playground/requirements.yml + - export ANSIBLE_COLLECTION=slococo/playground + - ansible-galaxy collection install -r "$ANSIBLE_COLLECTION"/requirements.yml + - ansible-playbook "$ANSIBLE_COLLECTION"/playbooks/main.yml --syntax-check - ansible-lint - - ls -al