Ansible tips&tricks

URL change We will be moving to a new domain: https://www.ansible-guru.nl, update your favorites when needed

In this site you will find much of the documentation that I collected over the years. This is by no means a "We say so" document.
I have worked in a number of organizations implementing ansible and automation platform, this is my personal view on "How I would do this".

This site is still a work in progress, check us regularly for updates.. There is much to be added..

As time passes and things get updated with new versions (Automation platform for example..), I will update the things I'm using actively. All others will get outdated and finally archived. In these older chapters you can find some historic code samples that might interest you, this is why this still exists.

Yust writing all knowledge down helps me to burn it into my braincells. I hope you enjoy this as much as I did writing and learning it.
Enjoy..

Ansible is constantly changing and as my focus is on configuration as code, I will update this constantly, with this exception:
When a new version is released of ansible automation platform, the previous verion will no longer be updated, the focus shifts towards the new version.

logoWilco Folkers

General

Entrerprise automation

GitOps automation explaned

Always wanted to know about GitOps?
Read on..

Build an enterprise grade lab on your local computer

Learn how to setup a lab that can test your code like it was in the enterprise, just follow these steps.

Build a homelab to run it all

Follow me as I build a homelab on a mini PC using Proxmox.

Configuration As Code

Config as Code automation platform 2.4

Everything and more you need to know about config as code for ansible automation platform 2.4. never lose your configuration again!

Config as Code Automation Platform 2.5

Description of a possible solution for configuration as code for ansible automation platform 2.5.

Config as Code Automation Platform 2.6 (!Read the message)

Description of a possible solution for configuration as code for ansible automation platform 2.6.

Config As Code Automations

Automate changes in configuration as code.

Ansible

Example EDA projects

Description of a functional EDA project in combination with configuration as code.

Inventory construction documentation

Curious how to build an inventory?
Here it is...

Naming convention Ansible

What's to know about naming conventions, I've got mine here

Infrastructure as Code

Howto create infrastructure as Code, a guide to buildingblocks

Testplan template (not testing playbook, but the result!)

When you are confident about your code (linting, syntax_check), are you just as sure about the result?

Optimizing ansible playbooks

Some correct syntax in ansible may take a long time to execute, check here for optimizations

Trigger a job_template from curl in AAP

Why go through the trouble creating webhooks, when it can be so simple..

This site is (since 01-01-2026), hosted on virtual machines, created with ansible code, running on automation platform. The site is now running on 3 linux containers(LXC on proxmox) with nginx, load balanced in a pool through a nginx proxy.
The whole setup is created using ansible and the site is deployed through a gitlab pipeline.
All in line with the automation principals.
The playbooks used for this installation, will be added later.