Blog Posts per Category

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 →

Using Vagrant for Ansible roles

You may have read my post about testing roles. In this post I want to show you how you can use your virtualisation software locally installed like VirtualBox to test your Ansible roles. Vagrant Vagrant acts as a wrapper of your virtualisation software. It is used to minimize the complexity to download the base VM, set it up, provisioning, using and destroying the VM over and over again. To handle this, vagrant uses a file where you define the way, how the VM is going to be created: the Vagrantfile.

Read More →

Meta