iSigh
parent
3444f3d81d
commit
f84519e88f
|
@ -8,6 +8,7 @@ pipeline:
|
|||
image: williamyeh/ansible:debian8
|
||||
secrets: [ ssh_key ]
|
||||
commands:
|
||||
- env
|
||||
- mkdir /root/.ssh && echo "$SSH_KEY" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
|
||||
- ssh-keyscan -H lund.fsfeurope.org >> ~/.ssh/known_hosts
|
||||
- ansible-playbook playbook.yml -i hosts
|
||||
|
|
Loading…
Reference in New Issue