Tag "ansible"

Introduction to Grafana Cloud

If you have servers you definitively want to collect logs in a central place and store them for some time, so you can investigate what happens in case of issues. I personally rely on logz.io, but Grafana Cloud looks like a promising alternative

Infrastructure as Code (IaC) and Terraform

While I am am huge fan of Ansible not everything can be done out of the box. My issue particularly is the configuration of Cloudflare, which I still do via the Web UI.

New ansible role papanito.backup

While using borg since a long, I recently decided to move to restic. As for that I have created a new ansible role

New ansible role papanito.systemd_notifiers

Based on my last blog post, I've created a new ansible role to setup a systemd notification service for failing systemd services

Introduction to Logz.io

If you have servers you definitively want to collect logs in a central place and store them for some time, so you can investigate what happens in case of issues. I personally rely on logz.io

New major release 3.0.0 of ansible role papanito.cloudflared

I finally found some tome to improve my cloudflared ansible role, to be abel to use named tunnels

How to work with multiple projects in Hetzner Cloud

In Hetzner Cloud you can have multiple projects. As you can have different members per group, it really makes sense to have different projects for different purposes. I will explain in this article on how I work with multiple projects in Ansible, as well when using the cli

How to pass lists and dicts as extra vars when running an ansible playbook

Passing simple strings to an ansible playbook as extra-vars is easy, but what if you want to pass lists or dictionary? Let's see...

Re-use artifacts (playbooks, tasks, ...) in Ansible

I recently struggled into an issue where I have certain tasks which I want to run for the bootstrapping, as well when applying the desired state. I don't want to have to repeat the same task in different playbooks, so I had a look into reusable of ansible elements

What are tags in Ansible and how to use them

Sometimes you have playbooks or roles which you only want to execute parts of it and not all. This is where you can use ansible tags.

Create Firewalls for Hetzner Cloud using Ansible

Firewall for Hetzner Cloud is relatively new, but since I use ansible I really would like to create my firewalls the same way I to all my other stuff

Dynamic inventory with Ansible and Hetzner Robot and Hetzner Cloud

I use Hetzner Servers and Hetzner Cloud for my own infrastructure which I setup with Ansible since the beginning. It's usually not much servers so overseeable. However, maintaining static inventory for my ansible project is a bit cumbersome when you already have all information available in the management interface. So let's see what we can do about and how I can reduce manual overhead.

Installation of dependencies of an ansible role

Some observations regarding using dependencies in ansible roles

My ansible roles

In meanwhile I got some experiences in writing roles and yesterday I finally finished my 3rd role - for me this is much considering my spare time left after work and family.