© 2026 Hashnode
Today, I began setting up Ansible Galaxy and modular roles to move beyond single playbooks. The idea is to structure automation into reusable roles and use a centralized inventory and configuration for easier management. 🔧 Ansible Configuration (an...

Today, I automated Nginx installation, configuration, and firewall setup across both RedHat-based (AlmaLinux, Rocky, CentOS, RHEL) and Debian-based (Ubuntu, Debian) systems — all within a single playbook. This demonstrates the true power of Ansible’s...

Today was all about making Ansible playbooks smarter and reusable by: Installing packages conditionally based on OS family. Using loops to install multiple packages. 🌍 1. Conditional Installation (RedHat vs Ubuntu) Different Linux distributions...

Today’s focus was on three critical sysadmin tasks automated with Ansible: downloading files, managing processes, and configuring firewalls. 📥 1. Downloading Files with get_url I automated downloading Python 3.12.2 tarball into /tmp/script/ with pr...

Today was all about system administration with Ansible—covering cron jobs, user management, and secure password setup. ⏰ 1. Modifying Cron Jobs I used the cron module to remove an existing cron job for user shakir: - name: Modify Cron hosts: all ...
