Vagrant VS Ansible

Compare Vagrant vs Ansible and see what are their differences.

Vagrant

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

Ansible

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. https://docs.ansible.com. (by ansible)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Vagrant Ansible
115 390
25,835 61,068
0.5% 1.0%
9.0 9.8
20 days ago 6 days 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.

Vagrant

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 2024-04-20.
  • Ask HN: Please recommend how to manage personal serverss
    4 projects | news.ycombinator.com | 20 Apr 2024
    Take a look at Vagrant! https://www.vagrantup.com/ In my admittedly limited understanding I believe it offers closer to a nix like reproducable rather than repeatable deployments.
  • Software Company HashiCorp Is Weighing a Potential Sale
    4 projects | news.ycombinator.com | 16 Mar 2024
    on the off chance one hasn't been tracking it, there were several "we don't need your stinking BuSL" projects when this drama first started:

    https://github.com/opentofu#why-opentofu (Terraform)

    https://github.com/openbao/openbao#readme (Vault)

    and I know of several attempts at Vagrant <https://github.com/hashicorp/vagrant/forks> but I don't believe one of them has caught traction yet

    There are also some who have talked about an "open Nomad" but since I don't play in that space I can't speak to it

  • Ask HN: Cleanest way to manage Windows OS?
    4 projects | news.ycombinator.com | 22 Feb 2024
    It sounds like you're using Nix as a sort of configuration management solution. CM just isn't worth it for managing a single desktop IMO. It triples the effort for whenever you need to add or remove a package, as you must now add that also to your nix configuration. You're supposed to be able to make that back up in time saved restoring to the next machine, but inevitably the next machine will be different enough that you'll have to edit it all anyway. In the end I just got tired of trying to manage my own machine with infrastructure as code (though in fairness I was using puppet at the time not nix).

    I keep a git repository with all my dot files in it[1]. This seems to work the best. It has a Windows folder as well, and I copy that out whenever I need to set up Windows.

    A lot of people like using WSL but I hate how it hogs on my memory. Hyper-V is a terrible virtualization engine for consumer-grade use cases because it can't thin provision RAM. If I need to use docker, I will spin up a small Linux VM using vagrant[3] with Virtualbox[4] and put Docker on there. Vagrant is an extremely underrated tool in my opinion, particularly in a Windows context.

    I use scoop for packages. Typically I will scoop install msys2 and then pin it so that it doesn't get blown away by the next upgrade.

    Then I basically do all of my development inside of msys2. I can get most things running in there without virtualization. In my case that means sbcl and roswell for common lisp, senpai for irc, and tmux and nvim for sanity. Msys2 uses the pacman package manager and this is good enough.

    All In all, I set up my Windows machine affresh after a while of not using it and it took me about 3 hours. Most of that time was just getting through upgrades though, I felt like it was pretty fast.

    1: https://git.sr.ht/~skin/dotfiles

    2: https://www.msys2.org/

    3: https://www.vagrantup.com/

    4: https://www.virtualbox.org/

  • A Developer's Journal: Simplifying the Twelve-Factor App
    9 projects | dev.to | 3 Dec 2023
    Tools like Docker and Vagrant can be used to allow local environments to mimic production environments.
  • Is there any place where I can download an already configured Virtual machine? For example with Linux Ubuntu or Windows 10 preinstalled?
    1 project | /r/virtualbox | 20 Nov 2023
  • UTM – Virtual Machines for iOS and macOS
    9 projects | news.ycombinator.com | 30 Aug 2023
    There's an open issue [1]. A scripting interface has since been added [2], and updated [3], so there's progress.

    [1] https://github.com/hashicorp/vagrant/issues/12518

  • Vagrant license changed to BUSL-1.1
    1 project | news.ycombinator.com | 10 Aug 2023
  • HashiCorp Adopts Business Source License
    25 projects | news.ycombinator.com | 10 Aug 2023
    Someone should fork and maintain Vagrant with an MPL open source license:

    https://github.com/hashicorp/vagrant

  • Codespaces but open-source, client-only, and unopinionated
    18 projects | news.ycombinator.com | 20 Jun 2023
    https://github.com/hashicorp/vagrant/blob/v2.3.7/CHANGELOG.m... ?

    The changelog lists both improvements and bug fixes and there's even apparently some effort to port it away from ruby: https://github.com/hashicorp/vagrant/blob/v2.3.7/internal/cl...

  • Vagrant Fatal Error: Runtime BSDThread_Register Error
    1 project | /r/u_bugfreesoft | 5 Jun 2023
    If you’ve ever encountered the dreaded “Vagrant fatal error: runtime BSDThread_Register error,” you’re not alone. This perplexing error message can be frustrating and confusing, especially if you’re new to Vagrant and virtualization. But fear not! In this article, we’ll unravel the mystery behind this error, explain its meaning, and provide solutions to help you overcome it.

Ansible

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 2024-04-22.

What are some alternatives?

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

Packer - Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.

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

QEMU - Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.

pyinfra - pyinfra automates infrastructure using Python. It’s fast and scales from one server to thousands. Great for ad-hoc command execution, service deployment, configuration management and more.

Capistrano - A deployment automation tool built on Ruby, Rake, and SSH.

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

Puppet - Server automation framework and application

Fabric - Simple, Pythonic remote execution and deployment.

BOSH - Cloud Foundry BOSH is an open source tool chain for release engineering, deployment and lifecycle management of large scale distributed services.

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

vscode-dev-containers - NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!

Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀