clone:
  git:
    image: woodpeckerci/plugin-git
    settings:
      submodule_override:
        roles/gitea: https://dev.ccchb.de/ccchb/ansible-role-gitea.git

when:
  - event: push
    branch: main
  - event: push
    branch: master

steps:
  - name: lint
    image: alpine
    commands:
      - apk update
      - apk add ansible-lint
      - ansible-lint