.drone.yml hinzugefügt
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
rulrich 2024-03-11 08:16:29 +01:00
parent 43718cda07
commit 44307ee0dd

32
.drone.yml Normal file
View file

@ -0,0 +1,32 @@
kind: pipeline
name: default
type: docker
trigger:
branch:
- main
steps:
#- name: Syntax Check
# image: plugins/ansible
# settings:
# become: true
# playbook: playbook.yml
# inventory: inventory
# private_key:
# from_secret: drone_ssh_priv
# ssh_extra_args: "-o StrictHostKeyChecking=no"
# requirements: requirements.txt
# galaxy: requirements.yml
# syntax_check: true
# when:
# event:
# - pull_request
- name: Lint
image: cytopia/ansible-lint
commands:
- ansible-lint playbook.yml --force-color
# when:
# event:
# - pull_request