mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-23 21:20:18 +00:00
move drone seds to seperate file
This commit is contained in:
@@ -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
|
||||||
|
|||||||
3
.drone/seds
Executable file
3
.drone/seds
Executable file
@@ -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
|
||||||
Reference in New Issue
Block a user