Author: Danilo

Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

Creating Virtual VMs Using Ansible shows an example of automating the creation of virtual machines in a lab environment. Our lab is composed of a physical server running VMware ESXi and, over it, we’ll create all the necessary virtual machines (VMs). How will it work? So, the first step is to install Red Hat Enterprise Linux 8. We have written an article to explain, step-by-step, how to perform it. Click here to access the article. Note: We’re using RHEL, but you can try using your preferred Linux distribution. However, all the steps presented here were tested using RHEL (We cannot…

Read More

Creating an Ansible DNS playbook is a practical way to automate DNS client configuration across multiple Linux servers. Maintaining consistent DNS settings helps ensure reliable network communication and simplifies administration in environments with many managed hosts. On Red Hat Enterprise Linux systems, NetworkManager is responsible for managing network connections and can dynamically update DNS settings in the /etc/resolv.conf file. By using Ansible, administrators can define the desired DNS configuration and apply it consistently across all managed nodes. In this guide, we will create an Ansible playbook to configure DNS settings through NetworkManager. You will learn how to build the inventory,…

Read More

Creating an Ansible chrony playbook is an effective way to automate NTP client configuration across multiple Linux servers. Consistent time synchronization is essential for reliable communication, authentication, logging, and monitoring in distributed environments. Chrony is an implementation of the Network Time Protocol (NTP) commonly used on Linux systems to synchronize system clocks with external time sources. By combining Ansible automation with chrony configuration templates, administrators can maintain consistent settings across many managed nodes. In this guide, we will create an Ansible playbook that deploys a standardized chrony configuration, uses variables and templates, and validates time synchronization after applying the changes.…

Read More

Creating your first Ansible playbook is an important step for anyone starting with IT automation and configuration management. Ansible provides a simple and powerful way to automate tasks across multiple systems using a lightweight agentless architecture. Ansible uses SSH to connect to managed nodes and execute tasks defined in playbooks. The target systems do not require an Ansible agent, making deployment easier while keeping the automation environment simple and efficient. In this guide, we will explore the fundamentals of Ansible, including control nodes, managed nodes, inventories, modules, and playbooks. You will learn the basic concepts required to start automating server…

Read More

The find command on Linux is one of the most powerful utilities for locating files and directories across a file system. It allows administrators to search based on multiple conditions, including file name, type, size, permissions, and modification time. Unlike simple search tools, the find command can perform recursive searches through directory structures and execute actions on the results. This makes it an essential tool for Linux administrators managing servers and troubleshooting file-related issues. In this guide, we will explore the basic syntax of the find command and several practical examples. You will learn how to search files by different…

Read More

Installing and Updating Packages with DNF shows how to find, install, and update software packages using DNF. What is DNF? DNF stands for Dandified YUM.It’s the next-generation package manager used in RHEL 8, RHEL 9, Fedora, and CentOS Stream. It replaces the older yum tool, but the command syntax is almost the same. DNF is a high-level package manager that works on top of RPM. It makes our life easier because it: Fundamental Difference Between rpm and dnf rpm → low-level tool. Works only with single .rpm files. Doesn’t resolve dependencies. Good for querying. dnf → high-level tool. Talks to…

Read More