Bootstrapping molecule instances with volumes

We use Ansible for all kinds of things. One of it being formatting and mounting a volume to be able to use it. When I introduced the code for that, it worked (flawlessly, of course) — until I hit a bug when I provisioned another cluster. Long story short, I was able to fix the bug. But since we rely on it to work always, and I wanted to make sure I had all situations covered, I decided to extend one of our tests....

January 18, 2020 · 3 min

NetworkManager (for resolv.conf and firewalld) on CentOS7

As I am spiralling into Linux server administration, there’s certainly a lot to learn. Certainly a lot leaves me wanting BSD, but since that’s not an option, … here we go. NetworkManager The NetworkManager on Linux (or CentOS specially) manages the network. Whatever content/blog posts/knowledge base I found. It usually suggests that you uninstall it first. Common problems are that people are unable to manage /etc/resolv.conf — because changes made by them to that file get overwritten again....

September 25, 2019 · 2 min

Ansible Molecule drivers

(Hello again. I haven’t blogged in a while. But since I’m growing weary of platforms such as medium. Here we go.) I’ve recently spent too much a lot of time with Ansible. Once I got into the rhythm of playbooks, roles and maybe modules/libraries, I desperately needed a way to test my YAML. And by testing, I didn’t mean the annoying linting that Ansible ships with, but actual (integration) tests to verify everything works....

September 20, 2019 · 2 min

What's wrong with composer and your .travis.yml?

I’m a huge advocate of CI and one service in particular called Travis-Ci. Travis-CI runs a continuous integration platform for both open source and commercial products. In a nutshell: Travis-CI listens for a commit to a Github repository and runs your test suite. Simple as that, no Jenkins required. At Imagine Easy we happily take advantage of both. :) So what’s wrong? For some reason, every other open source project (and probably a lot of closed source projects), use Travis-CI wrong in a way, that it will eventually break your builds....

August 24, 2014 · 2 min

Speeding up composer on AWS OpsWorks

At EasyBib, we’re heavy users of composer and AWS OpsWorks. Since we recently moved a lot of our applications to a continuous deployment model, the benefits of speeding up the deployment process (~4-5 minutes) became more obvious. Composer install Whenever we run composer install, there are a lot of rount-trips between the server, our satis and Github (or Amazon S3). One of my first ideas was to to get around a continous reinstall by symlinking the vendor directory between releases....

October 8, 2013 · 3 min