VM as a file in Ansible

Everything is a file, we all know this old good principle from Unix. And what if we apply this to our IaC repo.

Ansible is a popular tool for managing infrastructure. In typical setups, infrastructure is divided into multiple environments, e.g. Dev, Test, and of course, Prod. The first step in creating an Ansible repository is to design a clear structure that reflects the environment separation.

The very first step when creating an Ansible repo is to design a clear structure that supports this environment separation. We assume Ansible is the only tool to manage VM resources and configuration.

[dev.to] Breaking down Terraform monolith

Some time ago, I wrote an article on dev.to about my experience with terraform code refactoring. I will leave the link here for the record

Breaking down Terraform monolith into multiple environments

The short story about my OpenSUSE installation

Installation

I love OpenSUSE, I used it when its version was 9. I remember the beautiful KDE, perfectly working YaST. Or maybe I am just old enough so that all those things seem nice to me.

Long story short after long period of using fedora/ubuntu I decided to find out how good OpenSUSE is. I took my Intel NUC, put the flash drive with dowloaded image in it, and pressed power button.

Create VM in QEMU/KVM environment

Here I am going to create a VM. Since I’ve never tried CentOS 5, I decided to give it a shot. It has the old good sysv init system, it’s old, not obsolete. By this examle I will show you how to create and manage QEMU/KVM virtual machine without GUI utilities. First of all create a virtual disk of the desired size. Here for example, we will create a 20 GB disk with the raw disk format: You can also try to use qcow2 format which gives you some additional benefits.

Enable wireless network on Intel NUC running Fedora Linux

I am a happy owner of Inetl NUC computer. Recently I installed Fedora on it (right after I tested it as a VM). It was minimal installation. After I had logged in, I noticed that wireless network interface was unavailable. Quite wierd, taking into account that it worked fine during the installation process.

I looked around, device was connected:

# lspci
...
3a:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
...

But no wireless interfaces found

My journey with Fedora. The begining.

Let me start with saying that I have been an ubuntu guy. Back in 2008 I met ubuntu first time, since than I have used different linux operating systems. In 2014 I switched to deb-based distros on my desktop. For some reason every time I tried redhat-like OS, the venture failed. Every time some crap happened. In addition, I don’t really like neither the current fedora artwork nor its fonts. Speaking of fonts, ubuntu has the perfect fonts, I loved them. Eventually I got used to ubuntu and its simplicity. But things are changing, and recently I switched to Mac. Although addiction to linux was so strong that I decided to install linux inside VirtualBox on my Mac and use it from time to time. So I was looking for the linux distro for this purpose, and it looked like a time for trying something new. And I’m going to give fedora a shot.

About

Hi, my name is Andrii Bilorus.

I am an engineer with more than 10 years of experience in the industry. I have a bachelor’s degree in Radioengineering. However, my main focus is the DevOps/SRE area.

This is my GenAI-free blog. It means that there will be NO articles generated or modified by AI. So you can enjoy my far-from-perfect English. Old, good technical articles.