.drone.yml aktualisiert
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
rulrich 2024-03-11 19:08:51 +01:00
parent cff98db071
commit ea6e1fea8b

View file

@ -7,18 +7,18 @@ trigger:
- 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
- name: Syntax Check
image: plugins/ansible
settings:
become: true
playbook: playbook.yml
inventory: hosts
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
@ -30,3 +30,20 @@ steps:
# when:
# event:
# - pull_request
- name: Show Diff and Check
image: plugins/ansible
settings:
become: true
playbook: playbook.yml
inventory: hosts
private_key:
from_secret: drone_ssh_priv
diff: true
check: true
ssh_extra_args: "-o StrictHostKeyChecking=no"
requirements: requirements.txt
galaxy: requirements.yml
# when:
# event:
# - pull_request