opentofu VS Ansible

Compare opentofu vs Ansible and see what are their differences.

opentofu

OpenTofu lets you declaratively manage your cloud infrastructure. (by opentofu)

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)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
opentofu Ansible
41 391
20,847 61,282
8.6% 0.9%
9.8 9.8
1 day ago 6 days ago
Go Python
Mozilla Public License 2.0 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.

opentofu

Posts with mentions or reviews of opentofu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-30.
  • OpenTofu v1.7: Enhanced Security with State File Encryption
    1 project | dev.to | 6 May 2024
    and more.
  • OpenTofu 1.7.0 is out with State Encryption, Dynamic Provider-defined Functions
    5 projects | news.ycombinator.com | 30 Apr 2024
    Hey!

    > With OpenTofu exclusive features making such an early debut, is the intention to remain a superset of upstream Terraform functionality and spec, or allow OpenTofu to diverge and move in its own direction?

    The intention is to let it diverge. There will surely be some amount of shared new features, but we're generally going our own way.

    > Will you aim to stick to compatibility with Terraform providers/modules?

    Yes.

    Regarding providers, we might introduce some kind of superset protocol for providers at some point, for tofu-exclusive functionality, but we'll make sure to design it in a way where providers keep working with both Terraform and OpenTofu.

    Regarding modules, this one will be more tricky, as there might Terraform languages features that aren't supported in OpenTofu and vice-versa. We have a proposal[0] to tackle this, and enable module authors to easily create modules with support for both, even when using some exclusive features of any one of them.

    > Is the potential impact of community fragmentation on your mind as many commercial users who don’t care about open source ideology stick to the tried-and-true Hashicorp Terraform?

    We've talked to a lot of people, and we've met many who see the license changes as a risk for them, while OpenTofu, with its open-source nature, is the less-risky choice. That includes large enterprises.

    > Is there any intention to try and supplement the tooling around the core product to provide an answer to features like Terraform Cloud dashboard, sentinel policies and other things companies may want out of the product outside of the command line tool itself?

    That's mostly covered by the companies sponsoring OpenTofu's development: Spacelift (I work here), env0, Scalr, Harness, Gruntworks.

    [0]: https://github.com/opentofu/opentofu/issues/1328

  • IBM to Acquire HashiCorp, Inc
    5 projects | news.ycombinator.com | 24 Apr 2024
  • IBM Planning to Acquire HashiCorp
    5 projects | news.ycombinator.com | 23 Apr 2024
    Please remember to file in a calm and orderly fashion toward the exits and remember: IBM killed Centos for profit.

    Terraform users can pick up their new alternative here:

    https://opentofu.org/

    and for those of you with Vault, you can find your new alternative here:

    https://openbao.org/

  • Grant Kubernetes Pods Access to AWS Services Using OpenID Connect
    5 projects | dev.to | 22 Apr 2024
    OpenTofu v1.6
  • Terraform vs. AWS CloudFormation
    2 projects | dev.to | 12 Apr 2024
    Note: New versions of Terraform will be placed under the BUSL license, but everything created before version 1.5.x stays open-source. OpenTofu is an open-source version of Terraform that will expand on Terraform's existing concepts and offerings. It is a viable alternative to HashiCorp's Terraform, being forked from Terraform version 1.5.6. OpenTofu retained all the features and functionalities that had made Terraform popular among developers while also introducing improvements and enhancements. OpenTofu is not going to have its own providers and modules, but it is going to use its own registry for them.
  • Why CISA Is Warning CISOs About a Breach at Sisense
    3 projects | news.ycombinator.com | 11 Apr 2024
    opentofu is solving this with proper state encryption support: https://github.com/opentofu/opentofu/issues/874
  • OpenTofu Response to HashiCorp's Cease and Desist Letter
    2 projects | news.ycombinator.com | 11 Apr 2024
  • Ask HN: What's better Terraform or AWS CDK?
    1 project | news.ycombinator.com | 11 Apr 2024
  • OpenTofu: The Open Source Terraform Alternative
    4 projects | dev.to | 11 Apr 2024
    As with all other Linux Foundation and CNCF projects, OpenTofu is guided by the Technical Steering Committee(TSC), which works in open collaboration with the community on the development of new features, upgrades, bug fixes, etc. The current TSC consists of representatives from Harness, Spacelift, Scalr, Gruntworks, and env0.

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-27.
  • Ansible Basics: Your First HelloWorld Playbook πŸš€
    2 projects | dev.to | 27 Apr 2024
    Ansible is an open-source IT automation tool that simplifies application deployment, cloud provisioning, and configuration management across diverse environments. It uses a declarative language to describe the desired state of the system, and then takes the necessary actions to achieve that state. Ansible has become incredibly popular due to its simplicity, agentless architecture, and extensive community support. Document: ansible.com, ansible basics
  • Grant Kubernetes Pods Access to AWS Services Using OpenID Connect
    5 projects | dev.to | 22 Apr 2024
    Ansible v2.16
  • Set up an Automation script with Ansible
    1 project | dev.to | 21 Apr 2024
    Ansible is a tool used to help manage software automation processes, configuration management across machines, deployment as well as remote execution of commands and scripts. In sports, Ansible operates as the coach of your team by providing strategies (playbooks), and actions, and ensuring the smooth execution of tasks across your infrastructure, just like a coach guides and directs players (Servers)during a game.
  • Interesting Uses of Ansible's ternary filter
    3 projects | news.ycombinator.com | 22 Feb 2024
    They support for-if from python, too: https://jinja.palletsprojects.com/en/3.1.x/templates/#loop-f... but I haven't tried the "recursive" keyword to know if ansible supports that. I say "ansible supports that" because they don't just drop jinja2 into ansible and call it a draw, they have a bunch of custom execution integrations: https://github.com/ansible/ansible/blob/v2.16.3/lib/ansible/...
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    To manage a VM, you can use something as simple as just manual actions over SSH, or can use tools like Ansible, Hashicorp's Packer and Terraform or other automations. For an app where there is minimal load and security/reliability concern, VMs are still a great option that provide a lot of value for the buck
  • A Journey to Find an Ultimate Development Environment
    13 projects | dev.to | 2 Feb 2024
    In this article's context, it is simply a tool that provides a declarative way to automate your machine/OS to configure the development machine as you want (install package, modify the configuration, etc). Examples of these tools are Ansible, Puppet, etc.
  • The Director of "Toy Story" Also Drew the BSD Daemon Logo
    1 project | news.ycombinator.com | 17 Jan 2024
    Now we're getting more tangential, but for years, Ansible releases were named for Van Halen songs (see old Changelog here: https://github.com/ansible/ansible/blob/v1.8.4/CHANGELOG.md)
  • Running stateful workloads on Kubernetes with Rook Ceph
    4 projects | dev.to | 26 Dec 2023
    In the lab to follow, we'll quickly provision a 3-node kubeadm cluster (1 master, 2 workers) on the cloud provider of your choice using an automation stack comprised of OpenTofu and Ansible, then deploy Rook Ceph using the official Helm charts and confirm that we are now able to successfully create CSI volume snapshots from PVCs by reusing the MinIO example from our last article.
  • Looking for a way to remote in to K's of raspberry pi's...
    11 projects | /r/sysadmin | 10 Dec 2023
  • ansible builder collections path
    2 projects | /r/ansible | 6 Dec 2023

What are some alternatives?

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

datadog-static-analyzer - Datadog Static Analyzer

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

adoptium

pyinfra - pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.

hnrss - Custom, realtime RSS feeds for Hacker News

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

tabby - Self-hosted AI coding assistant

Fabric - Simple, Pythonic remote execution and deployment.

Cap'n Proto - Cap'n Proto serialization/RPC system - core tools and C++ library

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

awesome-ai-safety - πŸ“š A curated list of papers & technical articles on AI Quality & Safety

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