gitlab CI CD with Ansible

Jan 25, 2022


there are many options for continuous deployment. one possible approach is to leverage on ansible and couple it with gitlab.

so in .gitlab-ci.yml

add a deploy stage

ansible will try to remove the old container and start the newly built docker image from previous steps.


Originally published at on January 25, 2022.