LOGBOOK

HELP

Quiz Entry - updated: 2026.10.22

Where does Ansible fit in a CI/CD pipeline?

In the CD (continuous delivery/deployment) part: after CI has built and tested the code, Ansible deploys it through review, staging and production.

Pipeline from code and commit into CI (build, unit tests, integration tests with GitLab and Docker), then CD (review, staging, production with GitLab and Ansible)

* CI builds and tests the code; Ansible does the CD half, deploying through review, staging and production. *

A typical pipeline, for example with GitLab:

  1. Code and commit: a developer pushes a change.
  2. CI pipeline (continuous integration), e.g. GitLab + Docker: build the software, run unit tests and integration tests.
  3. CD pipeline (continuous delivery/deployment), e.g. GitLab + Ansible: deploy to a review environment, then staging, then production.

Ansible is a natural fit for step 3 because deploying means configuring servers and rolling out software, which is what playbooks describe. GitLab triggers the playbook; Ansible does the actual work on the target machines.

Go deeper:

From Quiz: ITIA / Ansible Fundamentals: Automation, Architecture and the Automation Platform | Updated: Oct 22, 2026