Avatar (Fabio Alessandro Locati|Fale)'s blog

Red Hat Certified Specialist in Services Management and Automation

March 31, 2021

Late last year, I’ve read that a new Ansible-related exam was available: the Red Hat Certified Specialist in Services Management and Automation exam (EX358). I’ve taken and passed this exam at the end of January. It was the first time I did a Red Hat exam that was brand new and without having the possibility of finding online some opinions around it. Some people have reported for other exams that when new exams are launched, the scoring has issues.

Read More

Red Hat Certified Specialist in Advanced Automation

February 1, 2021

In my pursuit of the Red Hat Certified Architect (RHCA) certification, I’ve taken the Red Hat Certified Specialist in Advanced automation: Ansible best practices exam (EX447). As for the other Ansible Exams, you can always consult the Ansible documentation available offline in the exam system. Different from the Red Hat Certified Engineer exam (EX294), this exam also includes Ansible Tower as a topic, so be sure to have good knowledge of it as well!

Read More

Red Hat Certified Engineer

December 28, 2020

At the beginning of this month, I took the EX294 exam, which allowed me to obtain the Red Hat Certified Engineer (RHCE) certification. It was the first time I attempted the RHCE exam, but I prepared myself in the past for the EX300 exam, the exam that allowed you to obtain the RHCE certification in the RHEL7 time, but never got around to do the exam. Compared to what I had to study for the EX300, I found the EX294 program way more sensible.

Read More

Obtain previous Job ID in Ansible Tower Workflow

November 15, 2020

Ansible Tower allows you to create Workflows, which enable you to create complex workflows by putting together multiple Ansible Playbooks. Ansible Tower Workflows can have some simple logics, such as run different Ansible Playbooks based on the outcome (success or failure) of a previous Ansible Playbook run. Sometimes, though, you need to have more information about a previous Ansible Playbook run than just the outcome. I recently found myself in a situation where I had an Ansible Tower Workflow with two Ansible Playbooks into it, where the first one was performing specific tasks.

Read More

Practical Ansible 2

Published on June 5, 2020
Authored by Daniel Oh, James Freeman, Fabio Alessandro Locati
Published by Packt Publishing Limited

Ansible enables you to automate software provisioning, configuration management, and application roll-outs, and can be used as a deployment and orchestration tool. While Ansible provides simple yet powerful features to automate multi-layer environments using agentless communication, it can also solve other critical IT challenges, such as ensuring continuous integration and continuous deployment (CI/CD) with zero downtime. In this book, you’ll work with Ansible 2.9 and learn to solve complex issues quickly with the help of task-oriented scenarios.

Read More Buy it on Packt Buy it on Amazon

Learning Ansible 2.7 - Third Edition

Published on April 30, 2019
Authored by Fabio Alessandro Locati
Published by Packt Publishing Limited

Ansible is an open source automation platform that assists organizations with tasks such as application deployment, orchestration, and task automation. With the release of Ansible 2.7, even complex tasks can be handled much more easily than before. Learning Ansible 2.7 will help you take your first steps toward understanding the fundamentals and practical aspects of Ansible by introducing you to topics such as playbooks, modules, and installation of Linux, Berkeley Software Distribution (BSD), and Windows Support.

Read More Buy it on Packt Buy it on Amazon

Ansible Tower LDAP with self signed CA

October 6, 2017

One of the big advantages that Ansible Tower and AWX (the open source and upstream version of Ansible Tower) bring to the table is the Role Base Access Control (RBAC). This will allow you to select which users (or teams) will be able to see which objects in Ansible Tower as well as which jobs they will be able to run. Obviously to leverage the RBAC, you will have to have personal accounts for every user of your platform.

Read More

Ansible Tower Open Source

September 7, 2017

In October 2015, Red Hat bought Ansible Inc. As far as I know, in the acquisition, two close source components got acquired by Red Hat: Ansible Tower and Ansible Galaxy. Since the day of the acquisition, Red Hat has been very clear on the fact that those two components would have become open source at a certain point, even if there was not a public date or timeline yet. Making a codebase open source is not always easy and quick process.

Read More

Ansible Tower 3.1 High Availability maintenance

August 18, 2017

Around one year ago, I did a post around Ansible Tower High Availability maintenance, but in the mean time many things changed and that post is not up to date anymore, so I decided to create a new one that covers the same topic but for Ansible Tower 3.1. From Ansible Tower 3.1 we lost the distinction of Primary Ansible Tower and Secondary Ansible Tower. That concept was related to the fact that the Secondary Ansible Towers were in a hot-standby mode.

Read More

Ansible Tower in Vagrant

July 26, 2017

A lot of times during my job I found myself with the need of Ansible Tower testing environments. In the last few weeks I created a Vagrant script to actually automate it. As this is a single host installation, which is usually more than enough for the majority of tests I do, the Vagrant file is very easy: Vagrant.configure(2) do |config| # Set machine size config.vm.provider :libvirt do |domain| domain.memory = 2048 domain.

Read More

AnsibleFest London 2017

June 23, 2017 - London, UK

This year, I decided to go to AnsibleFest. Since the day before AnsibleFest, an Ansible Contributor Conference was scheduled, I decided to partecipate to both. On Wednesday morning I arrived to the location and I had the pleasure of speaking with few people before the begin of the Contributor Conference. The Contributor Conference was very interesting and I had the occasion to speak with many other people over the course of the day.

Read More

PostgreSQL streaming replication for Ansible Tower

May 31, 2017

Ansible Tower 3.1 has recently been released, and it does implement real HA. In fact, up to version 3.0, Ansible Tower multi-node installation, only allowed a single machine to be primary and the switch was not possible in an automated fashion, so if the primary Ansible Tower would have collapsed, an operator should have promoted one of the secondary Ansible Tower to be primary to be able to carry on the work.

Read More

Vagrant etcd cluster

March 21, 2017

Sometimes I need to do some tests which are destructive and I need to perform them over and over until I figure out a process that reliably brings me to a desired state. I usually create some kind of easy to provision environments and work on it. In the last few weeks I found myself working on an etcd cluster, so I created an environment with Vagrant, and since I had to write the majority of this by myself, since I have not found anything on Google that suited my needs, I’m going to share this with you.

Read More

Ansible Inventories

March 1, 2017

I often receive questions about Ansible Inventories (far more often than any other Ansible component). My guess is that Inventories are effectively among the most complex things in Ansible. Ansible Inventories are complex in the following ways: After you have decided an Inventory model is hard to change it, in fact you would probably be required to touch all your Playbooks to make everything working again There is not a single way of doing Inventories Often Inventories are the glue to make a generic Playbook run properly on your specific architecture.

Read More

Avoid Ansible Galaxy (as default option)

December 13, 2016

When I speak with people that are starting with Ansible from Puppet, the first thing they want to experiment is Ansible Galaxy. This leaves me very sceptical, since I think the default mode in Ansible should be DIY. Since I’ve found myself in this situation far to many times, I decided to write down all the reasons why you should avoid Ansible Galaxy in the majority of situations. Using Ansible Galaxy often violates the Ansible way.

Read More

Speedup Ansible

December 1, 2016

The single most frequent complain I hear about Ansible is about it’s slowness. This is very common, but even more common among people that used to use Puppet. There are many reasons why Ansible is slower than Puppet. The three main reasons are: Linear execution: Ansible will execute each operation in order and will not run many steps at the same time as Puppet does. SSH Connection: all Ansible commands will be issued from the control system to the controlled system via SSH.

Read More

Learning Ansible 2 - Second Edition

Published on November 21, 2016
Authored by Fabio Alessandro Locati
Published by Packt Publishing Limited

Ansible is an open source automation platform that assists organizations with tasks such as configuration management, application deployment, orchestration, and task automation. With Ansible, even complex tasks can be handled easier than before. In this book, you will learn about the fundamentals and practical aspects of Ansible 2 by diving deeply into topics such as installation (Linux, BSD, and Windows Support), Playbooks, modules, various testing strategies, provisioning, deployment, and orchestration. In this book, you will get accustomed with the new features of Ansible 2 such as cleaner architecture, task blocks, Playbook parsing, new execution strategy plugins, and modules.

Read More Buy it on Packt Buy it on Amazon

Ansible Tower High Availability maintenance

September 28, 2016

IMPORTANT NOTICE: This article deals with Ansible Tower <= 3.0. If you are looking for information around Ansible Tower >= 3.1, please look my newer article on the topic. In the last few months I’ve setted up multiple times Ansible Tower, but I’ve noticed that there is not much documentation on how to perform basic maintenance on Ansible Tower High Availability setup, so I decided to write an article about it.

Read More
Newer