StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
Ansible
ByAnsibleAnsible

Ansible

#1in Continuous Deployment
Discussions24
Followers15.6k
OverviewDiscussions24

What is Ansible?

Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s goals are foremost those of simplicity and maximum ease of use.

Ansible is a tool in the Continuous Deployment category of a tech stack.

Key Features

Ansible's natural automation language allows sysadmins, developers, and IT managers to complete automation projects in hours, not weeks.Ansible uses SSH by default instead of requiring agents everywhere. Avoid extra open ports, improve security, eliminate "managing the management", and reclaim CPU cycles.Ansible automates app deployment, configuration management, workflow orchestration, and even cloud provisioning all from one system.

Ansible Pros & Cons

Pros of Ansible

  • ✓Agentless
  • ✓Great configuration
  • ✓Simple
  • ✓Powerful
  • ✓Easy to learn
  • ✓Flexible
  • ✓Doesn't get in the way of getting s--- done
  • ✓Makes sense
  • ✓Super efficient and flexible
  • ✓Powerful

Cons of Ansible

  • ✗Dangerous
  • ✗Hard to install
  • ✗Backward compatibility
  • ✗Bloated
  • ✗Doesn't Run on Windows
  • ✗No immutable infrastructure

Ansible Alternatives & Comparisons

What are some alternatives to Ansible?

Terraform

Terraform

With Terraform, you describe your complete infrastructure as code, even as it spans multiple service providers. Your servers may come from AWS, your DNS may come from CloudFlare, and your database may come from Heroku. Terraform will build all these resources across all these providers in parallel.

Dotenv

Dotenv

It is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.

Chef

Chef

Chef enables you to manage and scale cloud infrastructure with no downtime or interruptions. Freely move applications and configurations from one cloud to another. Chef is integrated with all major cloud providers including Amazon EC2, VMWare, IBM Smartcloud, Rackspace, OpenStack, Windows Azure, HP Cloud, Google Compute Engine, Joyent Cloud and others.

Puppet Labs

Puppet Labs

Puppet is an automated administrative engine for your Linux, Unix, and Windows systems and performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.

Capistrano

Capistrano

Capistrano is a remote server automation tool. It supports the scripting and execution of arbitrary tasks, and includes a set of sane-default deployment workflows.

Fabric

Fabric

Fabric is a Python (2.5-2.7) library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks. It provides a basic suite of operations for executing local or remote shell commands (normally or via sudo) and uploading/downloading files, as well as auxiliary functionality such as prompting the running user for input, or aborting execution.

Ansible Integrations

ScriptRock, Bigpanda, Nexmo, Stackdriver, VMware vSphere and 7 more are some of the popular tools that integrate with Ansible. Here's a list of all 12 tools that integrate with Ansible.

ScriptRock
ScriptRock
Bigpanda
Bigpanda
Nexmo
Nexmo
Stackdriver
Stackdriver
VMware vSphere
VMware vSphere
Docker
Docker
OpenStack
OpenStack
Amazon EC2
Amazon EC2
Rackspace Cloud Servers
Rackspace Cloud Servers
Google Compute Engine
Google Compute Engine
New Relic
New Relic
PagerDuty
PagerDuty

Ansible Discussions

Discover why developers choose Ansible. Read real-world technical decisions and stack choices from the StackShare community.

John Kodumal
John Kodumal

CTO at LaunchDarkly

Mar 12, 2019

Needs adviceonAnsibleAnsibleSpinnakerSpinnakerTerraformTerraform

LaunchDarkly is almost a five year old company, and our methodology for deploying was state of the art... for 2014. We recently undertook a project to modernize the way we #deploy our software, moving from Ansible-based deploy scripts that executed on our local machines, to using Spinnaker (along with Terraform and Packer) as the basis of our deployment system. We've been using Armory's enterprise Spinnaker offering to make this project a reality.

0 views0
Comments
David Galoyan
David Galoyan

Jan 2, 2019

Needs adviceonDockerDockerConcourseConcourseAnsibleAnsible

We use Docker for our #DeploymentWorkflow along with Concourse for build pipelines and Ansible for deployment together with Vault to manage secrets.

0 views0
Comments
Tymoteusz Paul
Tymoteusz Paul

Devops guy

Dec 9, 2018

Needs adviceonVagrantVagrantVirtualBoxVirtualBoxAnsibleAnsible

Often enough I have to explain my way of going about setting up a CI/CD pipeline with multiple deployment platforms. Since I am a bit tired of yapping the same every single time, I've decided to write it up and share with the world this way, and send people to read it instead ;). I will explain it on "live-example" of how the Rome got built, basing that current methodology exists only of readme.md and wishes of good luck (as it usually is ;)).

It always starts with an app, whatever it may be and reading the readmes available while Vagrant and VirtualBox is installing and updating. Following that is the first hurdle to go over - convert all the instruction/scripts into Ansible playbook(s), and only stopping when doing a clear vagrant up or vagrant reload we will have a fully working environment. As our Vagrant environment is now functional, it's time to break it! This is the moment to look for how things can be done better (too rigid/too lose versioning? Sloppy environment setup?) and replace them with the right way to do stuff, one that won't bite us in the backside. This is the point, and the best opportunity, to upcycle the existing way of doing dev environment to produce a proper, production-grade product.

I should probably digress here for a moment and explain why. I firmly believe that the way you deploy production is the same way you should deploy develop, shy of few debugging-friendly setting. This way you avoid the discrepancy between how production work vs how development works, which almost always causes major pains in the back of the neck, and with use of proper tools should mean no more work for the developers. That's why we start with Vagrant as developer boxes should be as easy as vagrant up, but the meat of our product lies in Ansible which will do meat of the work and can be applied to almost anything: AWS, bare metal, docker, LXC, in open net, behind vpn - you name it.

We must also give proper consideration to monitoring and logging hoovering at this point. My generic answer here is to grab Elasticsearch, Kibana, and Logstash. While for different use cases there may be better solutions, this one is well battle-tested, performs reasonably and is very easy to scale both vertically (within some limits) and horizontally. Logstash rules are easy to write and are well supported in maintenance through Ansible, which as I've mentioned earlier, are at the very core of things, and creating triggers/reports and alerts based on Elastic and Kibana is generally a breeze, including some quite complex aggregations.

If we are happy with the state of the Ansible it's time to move on and put all those roles and playbooks to work. Namely, we need something to manage our CI/CD pipelines. For me, the choice is obvious: TeamCity. It's modern, robust and unlike most of the light-weight alternatives, it's transparent. What I mean by that is that it doesn't tell you how to do things, doesn't limit your ways to deploy, or test, or package for that matter. Instead, it provides a developer-friendly and rich playground for your pipelines. You can do most the same with Jenkins, but it has a quite dated look and feel to it, while also missing some key functionality that must be brought in via plugins (like quality REST API which comes built-in with TeamCity). It also comes with all the common-handy plugins like Slack or Apache Maven integration.

The exact flow between CI and CD varies too greatly from one application to another to describe, so I will outline a few rules that guide me in it:

  1. Make build steps as small as possible. This way when something breaks, we know exactly where, without needing to dig and root around.
  2. All security credentials besides development environment must be sources from individual @{Vault}|tool:2905| instances. Keys to those containers should exist only on the CI/CD box and accessible by a few people (the less the better). This is pretty self-explanatory, as anything besides dev may contain sensitive data and, at times, be public-facing. Because of that appropriate security must be present. @{TeamCity}|tool:1357| shines in this department with excellent secrets-management.
  3. Every part of the build chain shall consume and produce artifacts. If it creates nothing, it likely shouldn't be its own build. This way if any issue shows up with any environment or version, all developer has to do it is grab appropriate artifacts to reproduce the issue locally.
  4. Deployment builds should be directly tied to specific @{Git}|tool:1046| branches/tags. This enables much easier tracking of what caused an issue, including automated identifying and tagging the author (nothing like automated regression testing!).

Speaking of deployments, I generally try to keep it simple but also with a close eye on the wallet. Because of that, I am more than happy with AWS or another cloud provider, but also constantly peeking at the loads and do we get the value of what we are paying for. Often enough the pattern of use is not constantly erratic, but rather has a firm baseline which could be migrated away from the cloud and into bare metal boxes. That is another part where this approach strongly triumphs over the common Docker and CircleCI setup, where you are very much tied in to use cloud providers and getting out is expensive. Here to embrace bare-metal hosting all you need is a help of some container-based self-hosting software, my personal preference is with Proxmox and LXC. Following that all you must write are ansible scripts to manage hardware of Proxmox, similar way as you do for Amazon EC2 (ansible supports both greatly) and you are good to go. One does not exclude another, quite the opposite, as they can live in great synergy and cut your costs dramatically (the heavier your base load, the bigger the savings) while providing production-grade resiliency.

0 views0
Comments
Tim Joseph Dumol
Tim Joseph Dumol

Lead Software Architect at Kalibrr

Jun 28, 2015

Needs adviceonAnsibleAnsible

All of our servers are provisioned by Ansible, with no manual provisioning involved. This lets us easily roll out new servers, with no chance for human error when configuring the servers. We use the same code to provision local development environments on Vagrant, which eliminates configuration discrepancies between development and production. Ansible

0 views0
Comments
Greg Taylor
Greg Taylor

Sr. Software Engineer at Pathwright

Nov 10, 2014

Needs adviceonAnsibleAnsible

Provisioning and code deploys for our stack. Local dev workstations, staging, and production. Ansible

0 views0
Comments

Try It

Visit Website

Adoption

On StackShare

Companies
2.04k
9ACDDE+2037
Developers
16.9k
RGALTB+16927