Blog Posts per Category

Decoupling Ansible Handlers

Since version Ansible 2.2, so quite a while, there is another way to notify a handler or a couple of handlers or no handlers. No handlers? Right, this sound a bit funny, doesn’t it? Well, it is a bit comparable with talking to kids, if no one is listen, no one will react :). Notifying Handlers Before 2.2, there was only one way to notify a handler, by notifying the name of the handler:

Read More →

Manage Exoscale DNS with Ansible

Introduction In the following post, I will show you how to use Ansible to configure your DNS records on Exoscale, a Swiss Public Cloud provider. Exoscale offers a DNS service with an affordable pricing with features like geo replication, anycast support and an API. The Ansible modules we are going to use later and I created, exo_dns_domain and exo_dns_record are included in Ansible since version 2.2.0 (see the offical docs).

Read More →

Manage Bind and zone files using Ansible

You might have seen my quite simple role ansible-bind-role which lets you manage your bind configs and syncs your zone files. Precondition First let me explain why zones files are not generated in this role: My precondition was, that zones might come from different sources. They may be generated from an application or rsynced from anywhere else. Further I don’t wanted to force people handle zone files the one way.

Read More →