2019-12-31 23:35:40 +00:00
|
|
|
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
|
2020-01-02 04:19:36 +00:00
|
|
|
- sed -i 's/- include: resolv.yml/#&/' roles/common/tasks/main.yml
|
2019-12-31 23:35:40 +00:00
|
|
|
- ansible-playbook -i hosts site.yml
|