Advanced Ansible: Collections+

A set of modules together is a called a collection. Like ansible.builtin. I’ve used collections in the past to use the modules it provided but never really created them. In this post I want to take you on my journery to learn more …

Advanced Ansible: Custom modules

This is my first time trying to create a Ansible custom module. I dont have much python knowledge (the very bare minimum), but I want to expand my knowledge of python and Ansible by creating a custom module. What do we need? Installed: …

Testing Ansible code

What is Ansible Molecule Ansible Molecule is created for development and testing of Ansible roles and collections. Through Molecule it is possible to test against different OS versions or complete new systems. prerequisites to local use …

Ansible secrets

Ansible-vault?! Always wondered how to use ansible with sensitive information like secrets,files,variables or configurations? Thats where ansible-vault comes to play, this is a way to encrypt the data with a password. There are two ways to …

Creating Ansible Roles

Why Roles over Playbooks? Single playbooks are great for tasks but when a project starts getting complexer, it way more managable in a role then a single playbook. Ansible role is a predefined set of playbooks that is build for a specific …

Creating Ansible Playbooks

Why Playbooks over ADHOC commands ADHOC commands are great for short and quick informational actions but when you want to to get more information or configuration from a group. Then is one command at a time a really time consuming action, …

Managing Hosts with Ansible

What do we need? There are a few things we need to start with managing hosts with ansible. SSH keys Place to store our files Inventory file Creating SSH key To manage hosts, we need to use a SSH key. We can create them with the following …

Ansible? what is that!

Ansible is a configuration management tool that can be used for configuring servers, clients and network equipment. The basic way of using this tool is through SSH, utilizing passwords or preferably SSH keys. In this series we will be using …