gitlab CI CD with Ansible

Jackie
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.

Published

Originally published at https://lwpro2.wordpress.com on January 25, 2022.

--

--