Avatar (Fabio Alessandro Locati|Fale)'s blog

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:

Grouping philosophies

The two main philosophies I saw in the many years I’ve worked with Ansible are:

Read More

Automating your infrastructure with Ansible

January 27, 2017 - Brno, CZ

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.

  1. Using Ansible Galaxy often violates the Ansible way. My interpretation of the Ansible Way, is do not do adopt overkill solution (also known as the classic “Keep It Simple Stupid” principle). Many times the Ansible Roles you can find in Ansible Galaxy are completely overkill because are created by people coming from the Puppet world (that has a completely different approach). Modules that install for you and configure NTP or Java for any possible distribution (and sometimes even different OS) means that you substitute a couple of Tasks with hundreds of lines of code. Often the majority of the code can be stripped because is not applicable to the specific environment.

    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:

Those limits come out from design decisions that preferred a simpler Playbook writing and a safer execution rather than speed. There are some things that can be done to increase the performances of Ansible:

Read More

Automating your infrastructure with Ansible

November 29, 2016 - London, UK

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. You will also learn how to integrate Ansible with cloud platforms such as AWS. The book ends with the enterprise versions of Ansible, Ansible Tower and Ansible Galaxy, where you will learn to interact Ansible with different OSes to speed up your work to previously unseen levels

Read More Buy it on Packt Buy it on Amazon

SMAU

October 30, 2016 - Milano, IT

From the 25th to the 27th of this month I’ve been at the SMAU in Milan (Italy).

The SMAU (Salone Macchine e Attrezzature per l’Ufficio, that would be Exposition of Machinery and Equipment for the Office) is an historical fair started in 1964 and that has had many changes over the years, for instance some years it has been opened to the general public, other times it was only for business visitors. This year the event was targeted to business visitors.

Read More

IT Automation with Ansible

October 25, 2016 - Milano, IT

Read More

Workshop on how to automatize the IT with Ansible

October 25, 2016 - Milano, IT

Read More
Older Newer