Enable CD
This commit is contained in:
parent
fbb3c1f60c
commit
4019ae444f
26
.drone.yml
Normal file
26
.drone.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user