Configuring the network interface on a Debian Bullseye VM with an Ansible playbook

Configuring the network interfaces of Linux machines can be tedious and unpredictable if we do it by hand. Let’s automatize the procedure and minimize the possible mistakes with using Ansible! This example uses Debian, but it can be easily ported to any platform.

Here’s my example playbook that can be used to configure network for static IP address on Debian Bullseye after the OS installation.

Continue reading “Configuring the network interface on a Debian Bullseye VM with an Ansible playbook”