diff --git a/.drone.yml b/.drone.yml index dffd4570..0bf5ce0f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,5 @@ steps: 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 + - .drone/seds - ansible-playbook -i hosts site.yml diff --git a/.drone/seds b/.drone/seds new file mode 100755 index 00000000..77dcf0c1 --- /dev/null +++ b/.drone/seds @@ -0,0 +1,3 @@ +#!/bin/sh +sed -i "s/thunix.net/127.0.0.1/g" hosts +sed -i 's/- include: resolv.yml/#&/' roles/common/tasks/main.yml