Add (known) ssh host key
This commit is contained in:
parent
99ba773b91
commit
f6100416c3
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ deploy:
|
|||
before_script:
|
||||
- apt-get update && apt-get install -y ansible git
|
||||
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.fudiggity.nl/sonny/ansible-playbooks.git deployment
|
||||
- mkdir /root/.ssh
|
||||
- echo "192.168.178.63 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILbtcdgJBhVCKsO88cV19EYefDTopdYejEQCp1pYr1Ga" > /root/.ssh/known_hosts
|
||||
- echo "$DEPLOY_HOST" > deployment/hosts.yml
|
||||
- echo "$DEPLOY_KEY" > deployment/deploy_key
|
||||
script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue