diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ba9b94b..3c6c7c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,14 +26,12 @@ tests_job1: deploy_to_server: stage: deploy - image: cytopia/ansible:latest + image: ghcr.io/ansible/creator-ee:v0.22.0 variables: ANSIBLE_HOST_KEY_CHECKING: "False" before_script: - - eval $(ssh-agent -s) - echo "$ANSIBLE_PRIVATE_KEY" > ./deploy_key - chmod 600 ./deploy_key - - ssh-add ./deploy_key script: - cd auto-deployment/ - ansible-playbook -i inventory.ini A_deploy.yml --private-key=./deploy_key