forked from thunix/ansible
move drone seds to seperate file
This commit is contained in:
parent
322fb48fce
commit
35983a2c75
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue