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
|
image: debian:10
|
||||||
commands:
|
commands:
|
||||||
- .drone/deps
|
- .drone/deps
|
||||||
- sed -i "s/thunix.net/127.0.0.1/g" hosts
|
- .drone/seds
|
||||||
- sed -i 's/- include: resolv.yml/#&/' roles/common/tasks/main.yml
|
|
||||||
- ansible-playbook -i hosts site.yml
|
- 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