band-on-iac/.drone.yml
rulrich d2a0195b60
All checks were successful
continuous-integration/drone Build is passing
.drone.yml aktualisiert
2024-03-11 08:50:32 +01:00

32 lines
No EOL
589 B
YAML

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