Enable CD
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is passing

This commit is contained in:
Tobias Manske 2022-09-30 02:47:12 +02:00
parent fbb3c1f60c
commit 4019ae444f
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A

26
.drone.yml Normal file
View File

@ -0,0 +1,26 @@
kind: pipeline
type: docker
name: default
trigger:
branch:
- main
event:
include:
- push
- cron
- custom
steps:
- name: Run Ansible
image: registry.tobiasmanske.de/ansible-runner:latest
pull: always
commands:
- cd coreos-config
- ansible-playbook --private-key /ssh_key --inventory=inventory.yaml playbook.yaml
node:
ansible: true
image_pull_secrets:
- registry