Calling Ansible handlers based on OS distributions

Sometimes you’ve got an Ansible task that should notify another task after a change. In Ansible this is called a handler and a description can be found here. Mostly the handler can be defined OS-independent. In this blog post, we show you, how to use a list of handlers for different OS distributions.

Deploying SSL private keys with Ansible

When you’re using Ansible or any other configuration management tool, you might come in contact with deploying SSL certificates sooner or later. While deploying public SSL certificates isn’t a security issue at all, the deployment of private keys become more critical – at least if you want to deploy them securely.

Display my actual used shell

Here a short blog post… if you work in several companies or with different accounts, it’s useful to know, which shell you’re currently using (not the default shell from /etc/passwd). Of course, you can simply change the shell and choose your favorite one, but if you just want to know the actual shell, you can run […]

Simple file comparison with aide

It’s sometimes useful to know, what’s happening on your server, if you install a new package or run a update. There are many solutions for this case, but a simple one is to use aide, which is available on the most linux distributions.

confirm meets Ansible – London Trip

Last week, we were on a business trip in London. The main reason was to meet up with Mark Phillips. You might know him from Ansible Inc. or his blog Probably, where he’s writing all that stuff about Ansible, devops and other interesting topics. We are excited and really looking forward to team up with the nice guys of Ansible and […]

Setup Ansible Tower 2.2 via Proxy

The Ansible Tower is a really nice piece of visual “control center” for your Ansible installation. Ansible itself describes it as: Centralize and control your Ansible infrastructure with a visual dashboard, role-based access control, job scheduling, and graphical inventory management. Tower’s REST API and CLI make it easy to embed Tower into existing tools and processes. Delegate […]

Mailing Attachments via Commandline

I think everybody of you just had this situation. You need to send a log or configuration file from a server to a colleague. If there are some hard security guidelines implemented, it’s quite awkward to copy the files via scp/sftp to your desktop and then mailing the attachments to the receiver.