Ansible prequel / preparation

Aargh all these Ansible posts and right after the last one I realised that it all needs a ‘prequel’: before we run our playbook we need some preparation. A VPS is setup in a few minutes and when we properly prepare the new VPS we run run the playbook after a few minutes more. Let’s…

Continue Reading

Wrapping up our Ansible playbook

For now I’m done with the Ansible playbook posts. We’ve covered some elementary parts of our playbook how to get a server going with at least the LEMP stack. There are two things I would like to cover in this post: setting up CSF/LFD and setting up AppArmor and both with a very specific reason….

Continue Reading

LEMP stack with an Ansible playbook

I can go on and on about what to put in a Ansible playbook and what we are using it for, but I won’t copy and paste our whole playbook. Besides its length, there’s also some pretty specific stuff in there thats surely of no use to you. I think this is my second to…

Continue Reading

Some more Ansible playbook stuff

In our last post we had a pretty decent start at our playbook. The top, some variables, bootstrap and repo configuration. Now, our Ansible configuration is pretty elaborate and I won’t go about and post the entire playbook here but I would like to share some more key elements. In this post configuring a user…

Continue Reading

First steps in the Ansible playbook

My last three posts build up to this one: the actual Ansible playbook. Well, actually, the playbook.yml file because the complete playbook consists of more elements than just this file, as described in the last posts. I’ve converted my existing config for all my Debian servers for 90% to Ansible which I find, as I…

Continue Reading

Making use of the existing Ansible structure

As introduced in my last post, I have a growing fleet of Debian servers on our managed hosting platform, that need some more centralised managed. The plan is to convert the config to Ansible playbooks and take it from there. But, we have to work with an existing structure. Ansible has a nice default folder…

Continue Reading