infrastructure/.drone.yml

27 lines
426 B
YAML
Raw Normal View History

2022-09-30 02:47:12 +02:00
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