This commit is contained in:
parent
ef4084afac
commit
5098807b21
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user