Blog Posts per Tag

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 →

Test Ansible roles with Travis CI

I usually test my projects automatically with Travis on every change or pull request. So I tried to figured out a way to test my Ansible roles on Ansible’s Galaxy with Travis. Tests run on Ubuntu 12.04 Travis is only using Ubuntu 12.04 for running the tests. I usually use Debian as distribution for my servers. So at least the same OS family to test on, but it is sad, that Travis let us not choose the OS.

Read More →

Meta