when: branch: master steps: ansible-lint: image: alpine/git commands: - apk add ansible ansible-lint - export ANSIBLE_COLLECTION=slococo/playground - ansible-galaxy collection install -r "$ANSIBLE_COLLECTION"/requirements.yml - ansible-lint - ansible-galaxy collection install "$ANSIBLE_COLLECTION" - ansible-playbook "$ANSIBLE_COLLECTION"/playbooks/main.yml --syntax-check