🤖 Fix CI script
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sivert V. Sæther 2023-02-06 14:33:21 +01:00
parent ef4084afac
commit 5098807b21

View File

@ -10,6 +10,7 @@ steps:
PASS: PASS:
from_secret: pass from_secret: pass
commands: commands:
- echo "[all:vars]\nansible_become_pass = $PASS\n$(cat servers.ini)" > servers.ini # - echo "[all:vars]\nansible_become_pass = $PASS\n$(cat servers.ini)" > servers.ini
- sed -i "1s/^/[all:vars]\nansible_become_pass = $PASS\n/" servers.ini
- ansible-playbook site.yml -t update - ansible-playbook site.yml -t update