Update .gitlab-ci.yml file
This commit is contained in:
@@ -32,6 +32,7 @@ deploy_to_server:
|
|||||||
before_script:
|
before_script:
|
||||||
- echo "$ANSIBLE_PRIVATE_KEY" > ./deploy_key
|
- echo "$ANSIBLE_PRIVATE_KEY" > ./deploy_key
|
||||||
- chmod 600 ./deploy_key
|
- chmod 600 ./deploy_key
|
||||||
|
- ansible-galaxy collection install community.docker
|
||||||
script:
|
script:
|
||||||
- cd auto-deployment/
|
- cd auto-deployment/
|
||||||
- ansible-playbook -i inventory.ini A_deploy.yml --private-key=./deploy_key
|
- ansible-playbook -i inventory.ini A_deploy.yml --private-key=./deploy_key
|
||||||
|
|||||||
Reference in New Issue
Block a user