Ansible interview question

How do Ansible and Terraform work together in one delivery pipeline?

How you'd do it Asked in DevOps Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

Terraform creates and changes the infrastructure (networks, VMs, load balancers) and records it in state; Ansible configures what runs on the machines. In a pipeline, Terraform applies first and exposes outputs, Ansible reads the hosts from a dynamic inventory or those outputs, and both are reviewed and run from version control.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More Ansible questions

← All Ansible questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake