Vagrant VS Ansible

Compare Vagrant vs Ansible and see what are their differences.


Vagrant is a tool for building and distributing development environments. (by hashicorp)


Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. (by ansible)
Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
Vagrant Ansible
98 336
25,046 56,743
0.6% 1.1%
9.8 9.9
3 days ago about 21 hours ago
Ruby Python
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Vagrant. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-22.
  • Using a VM within Linux for programming?
    2 projects | | 22 Mar 2023
    You can give Vagrant a go ( It is pretty handy for spinning up/down development VMs without even leaving your IDE.
  • How do hosting companies immediately create vm right after purchasing one?
    2 projects | | 5 Mar 2023
    Vagrant is a popular tool for launching virtual machines on your local desktop.
  • Installing Rust in a Raspberry Pi 3A+
    6 projects | | 27 Jan 2023
    And, for the record, if you ever need to do something cross falls down on and Docker isn't suited to (eg. some of my sites are on a shared webhost that uses FreeBSD), the simplest way I've found is to use Vagrant with a script like this to run inside Vagrant to copy the project in, trigger a build, and then copy the binary out.
  • Good Resources For Learning Intermediate and Advanced Linux Skills?
    2 projects | | 7 Jan 2023
    Have a look at vagrant to spin up VMs quickly, then use 'em to do stuff like configure a salt environment - you could incorporate cron jobs here ;)
  • Which technologies are usually overkill for a solo developer?
    3 projects | | 15 Dec 2022
  • Virtualbox 7.0.4 kickstart issue
    5 projects | | 8 Dec 2022
    I was building a new version of YugabyteDB vagrant box with packer and virtual box. Because we (Yugabyte) have a new preview release out.
  • How would you set up your work laptop differently if you had to do it again?
    3 projects | | 29 Nov 2022
    I also suggest having a look at Vagrant ( for learning kind of work. It makes running isolated env easy and clean.
  • Is installing Linux as a second OS on a new PC worth it?
    2 projects | | 26 Nov 2022
  • How to choose the right API Gateway
    15 projects | | 22 Nov 2022
    Another point to consider is how difficult is it to install the API Gateway or redeploy the gateway when changes are made. Check what installation options are offered. Most modern API Gateways can be installed in many different ways(Package based, Docker, Helm, RPM) in any environment (Linux, Windows, macOS). For example, one of the biggest advantages of Kong is its wide range of installation choices, with pre-made containers such as Docker and Vagrant so you can get a deployment running quickly.
  • From WampServer, to Vagrant, to QEMU
    5 projects | | 8 Nov 2022
    Laravel wanted to make the entire PHP development process as seamless as possible. At the time, Laravel achieved this with Laravel Homestead, apre-packaged Vagrant box. Everything you would need would be bundled into a virtual machine, nice and neat, away from your OS. And this was how I was introduced to Vagrant. A means of packaging virtual machines into a portable format, so you could easily create local development environments. Vagrant worked by using a Vagrantfile to describe the virtual machine you would want to use, how it would be provisioned, the ports you would forward, and the filepaths you would want shared from host to guest. All of these tasks would be handled by the provider, the underlying virtual machine program itself, in my case, VirtualBox. Perhaps the one thing I liked the most about Vagrant, was the ability to provision my machine, clear down if I wanted to and have it back in a clean state for development.


Posts with mentions or reviews of Ansible. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-17.

What are some alternatives?

When comparing Vagrant and Ansible you can also consider the following projects:

Cloud-Init - unofficial mirror of Ubuntu's cloud-init

pyinfra - pyinfra automates infrastructure super fast at massive scale. It can be used for ad-hoc command execution, service deployment, configuration management and more.

Home Manager using Nix - Manage a user environment using Nix [[email protected]]

Fabric - Simple, Pythonic remote execution and deployment.

cloudinit - Official upstream for the cloud-init: cloud instance initialization

(R)?ex - Rex, the friendly automation framework

Pulumi - Pulumi - Universal Infrastructure as Code. Your Cloud, Your Language, Your Way 🚀

GNU Stow - GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches

pexpect - A Python module for controlling interactive programs in a pseudo-terminal

psutil - Cross-platform lib for process and system monitoring in Python

ansible-pfsense - Ansible modules for managing pfSense firewalls

SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here: