diff options
| -rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c816acd..01b1a30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,8 +17,8 @@ deploy-job: image: ansible before_script: - mkdir -p ~/.ssh - - ssh-keyscan ansible-debian.xlinfo.lan > ~/.ssh/known_hosts - - ssh-keyscan ansible-rocky.xlinfo.lan >> ~/.ssh/known_hosts + - ssh-keyscan -H ansible-debian.xlinfo.lan > ~/.ssh/known_hosts + - ssh-keyscan -H ansible-rocky.xlinfo.lan >> ~/.ssh/known_hosts - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - chmod 700 ~/.ssh/ |
