Ansible

Ansible

DevOps / Build, Test, Deploy / Server Configuration and Automation
CEO at Scrayos UG (haftungsbeschränkt)·

We only use Ansible for some limited cluster-management, irregular maintenance tasks and low-level docker debugging and re-configuration on the individual servers, as we chose CoreOS (Fedora CoreOS) as our operating system and setup is done with an ignition-configuration. That is why we don't need to have a playbook for setting up servers or individual services. The servers boot up, completely initialized and ready to use.

READ MORE
1 upvote·22.4K views
Software Development Manager at Lightspeed·
Shared insights

Setting up a personal website, consisting of statically generated html files.

OpenBSD @httpd Hugo Ansible

Rely on the simplicity and security record of OpenBSD to keep my deployments easy to manage and run. Ansible playbooks for easily provisioning copies of the same setup. Using the httpd daemon provided by OpenBSD as it's full featured and included in the base operating system. Hugo creates static html based on markdown files that live in my home directory, and they are copied up to the server using scp.

READ MORE
1 upvote·55.5K views
Sr. Systems Technical Speciali at BMC Software·
Needs advice
on
TerraformTerraform
and
AnsibleAnsible

We use both these tools and are relatively new to them. We have a few questions:

  1. With Terraform, how are you handling changes done outside of Terraform in the Infrastructure?
  2. Are there any limitations or features that we miss in Ansible that Terraform can do? What are those?
READ MORE
6 upvotes·26K views
Replies (5)
Systems Engineer at BetterHelp·
  1. By policy, don't make changes outside of Terraform. This will slow you down a little to start with, but developing the culture of infrastructure via terraform pushes is part of what makes IaC successful. Obviously you should maintain break-glass capability, but doing all changes via Terraform will get you what you want.

  2. Its much better to think of them as two tools that complement each other. In Void Linux we use terraform for setting up resources on clouds and setting up SDN links between them. Provisioning hosts on the other hand is best left to a tool that is designed for that, and Ansible is a good tool for this. There are certainly points where I would rather have a single tool to rule them all, but I suspect in that case it wouldn't do either task particularly well.

If you absolutely had to pick one tool to do both use cases, I'd go with Terraform and have it invoke an ansible-like provisioning process.

READ MORE
5 upvotes·1.1K views
Recommends
Terraform

While Ansible CAN do the stuff terraform does, it cant do it very well. But thats not its primary purpose. Ansible is for configuration management, but can do some orchestration, terraform is all about orchestration. Use the right tool for the job. Re changes outside of terraform, there should be none. Set up reporting to highlight these resources and highlight the need & advantages for using terraform to stake holders.

READ MORE
4 upvotes·618 views
View all (5)
Needs advice
on
KubernetesKubernetes
and
AnsibleAnsible

What is the similarities between Kubernetes cluster and Ansible cluster. Kubernetes cluster vs Ansible cluster ?

READ MORE
3 upvotes·5.8K views
Needs advice
on
RundeckRundeck
and
AnsibleAnsible

We have a lot of operations running using Rundeck (including deployments) and we also have various roles created in Ansible for infrastructure creation, which we execute using Rundeck. Rundeck we are using a community edition. Since we are already using Rundeck for executing the Ansible role, need an advice. What difference will it make if we replace Rundeck with Ansible Tower? Advantages and Disadvantages? We are using Jenkins to call Rundeck Job, same will be used for Ansible Tower if we replace Rundeck.

READ MORE
6 upvotes·16.6K views
Replies (1)

I never use Tower, but I can recommend Ansible Semaphore as alternative to Rundeck. It is lightweight, easy to use and tailored for work with Ansible.

READ MORE
3 upvotes·1 comment·6.5K views
Patrick Humpal
Patrick Humpal
·
February 3rd 2022 at 1:40AM

What about using Ansible w/CodeBuild and an assume role if there are multiple AWS accounts? Or having Jenkins jobs that run the Ansible playbook / roles you need?

·
Reply