Blog Posts per Category

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 →

European timetable in your console

If you like to provide a geek looking time table of your train connections, or on events on a wallboard. Here is a way to do it :) First you need the fahrplan application, which uses the api of the swiss national railway company to get the data. They not only have swiss connection data, they seems to have all european connection data. At least quite a lot. pip install fahrplan Use the help fahrplan -h to see all options.

Read More →

Meta