Avatar (Fabio Alessandro Locati|Fale)'s blog

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

Escaping Ansible variables

July 11, 2016

Recently a customer asked me to help him debug an Ansible Playbook that was throwing a very generic error that was not helping at all. The error was:

ERROR! Syntax Error while loading YAML.

As soon as I saw the error, I already guessed which problems could trigger such error: it’s either a bad usage of spaces, a badly escaped column within a value, or a variable escaping problem. With a couple of grep runs, I identified it as the variable escaping problem.

Read More
Newer