thunix/.drone.yml

17 lines
394 B
YAML

kind: pipeline
name: default
steps:
- name: syntax
image: debian:10
commands:
- .drone/deps
- ansible-playbook -i hosts site.yml --syntax
- name: run
image: debian:10
commands:
- .drone/deps
- sed -i "s/thunix.net/127.0.0.1/g" hosts
- sed -i 's/- include: resolv.yml/#&/' roles/common/tasks/main.yml
- ansible-playbook -i hosts site.yml