Terraform Vs. Ansible

Darrius Singleton
3 min readNov 22, 2021

It’s not surprising that developers and engineers tend to become tribalist with operating systems and developer tools. Some tend to see tools as either/or instead of with/and, Let's examine the developer tools Terraform and Ansible.

Ansible

Ansible is an open-source configuration tool made for deploying and provisioning apps and servers using infrastructure as code.

Mainly being purposed as configuration software, Ansible is great for immutable infrastructure. It is frequently applied to virtualized devices, cloud networks, and bare metal infrastructure platforms. Using Ansible it is possible to provision servers with plugins and modules.

Ansible Architecture Diagram

Ansible uses a procedural approach, which means items are executed from top to bottom because of that it is mostly used for larger deployments.

Engineers and developers create playbooks to configure devices used for the network. The playbook is written in YAML. Inside the playbook, you set tasks that are used to configure designated devices.

Ansible is a wonderful tool if you want more control over your devices and fast configuration of multiple devices. It fits in well with traditional automation frameworks.

Terraform

--

--

Darrius Singleton

Crypto enthusiast | Web3| Cloud Computing | Decentralization | Politics | My Superpower: the ability to explain complex things in a simple way.