Ansible package moved from EPEL to extras

A few days ago the Ansible package was removed from EPEL and many ask why that happened. The background is that Ansible is now provided in certain Red Hat channels. What happened? In the past (pre-2017-10) most people who were on RHEL or CentOS or similar RHEL based systems used to install Ansible from the EPEL repository. … Continue reading Ansible package moved from EPEL to extras

[Short Tip] Workaround MIT-SHM error when starting QT/KDE apps with SUDO

Starting GUI programs as root usually is not a problem. In worst case, sudo inside a terminal should do the trick. However, recently I had to start a QT application as sudo from within GNOME. It was the yubikey configuration GUI, a third party tool thus not part of any desktop environment. Executing the app … Continue reading [Short Tip] Workaround MIT-SHM error when starting QT/KDE apps with SUDO

[Howto] Writing an Ansible module for a REST API

Ansible comes along with a great set of modules. But maybe your favorite tool is not covered yet and you need to develop your own module. This guide shows you how to write an Ansible module – when you have a REST API to speak to. Background: Ansible modules Ansible is a great tool to … Continue reading [Howto] Writing an Ansible module for a REST API

[Howto] Keeping temporary Ansible scripts

Ansible tasks are executed locally on the target machine. via generated Python scripts. For debugging it might make sense to analyze the scripts – so Ansible must be told to not delete them. When Ansible executes a command on a remote host, usually a Python script is copied, executed and removed immediately. For each task, … Continue reading [Howto] Keeping temporary Ansible scripts

[Howto] Looking up external directories in Ansible

Part of Ansible’s power comes from an easy integration with other systems. In this post I will cover how to look up data from external sources like DNS or Redis. Background A tool for automation is only as good as it is capable to integrate it with the already existing environment – thus with other … Continue reading [Howto] Looking up external directories in Ansible

So you think offline systems need no updates?

Often customers run offline systems and claim that such machines do not need updates since they are offline. But this is a fallacy: updates do not only close security holes but also deliver bug fixes – and they can be crucial. Background Recently a customer approached me with questions regarding an upgrade of a server. … Continue reading So you think offline systems need no updates?

[Howto] Adopting Ansible Galaxy roles for Solaris

It is pretty easy to manage Solaris with Ansible. However, the Ansible roles available at Ansible Galaxy usually target Linux based OS only. Luckily, adopting them is rather simple. Background As mentioned earlier Solaris machines can be managed via Ansible pretty well: it works out of the box, and many already existing modules are incredible … Continue reading [Howto] Adopting Ansible Galaxy roles for Solaris