linux
180 Ansible tutorials tagged “linux”. Working examples covering automation, configuration management, and DevOps workflows.
Ansible Create Directory with file Module
playbooks · 6
Create directories with Ansible using ansible.builtin.file and state: directory. Set owner, group, mode, nested paths, and recursive permissions.
Ansible systemd Module — Services, Units & Timers
playbooks · 4
Use Ansible to manage systemd units, create custom services, configure timers, enable/disable units, and troubleshoot service failures.
Ansible group Module — Manage Groups
playbooks · 6
Create, modify, and delete Linux groups with the Ansible group module. Manage system groups, GIDs, and user membership with practical playbook examples.
ansible.builtin.user Module: Manage Linux Accounts
playbooks · 6
Manage Linux accounts with ansible.builtin.user: create, modify, and delete users; set passwords, groups, SSH keys, home directories, and shells.
Set Execute Permission (a+x) on Linux File Using Ansible
playbooks · 3
Learn how to set execute permissions (a+x) on a Linux file using an Ansible playbook. Follow this guide for easy automation with the Ansible file module.
Ansible VMware — Add Disk to VM
playbooks · 3
Learn how to add a disk to a VMware VM using an Ansible playbook. This guide includes the YAML configuration, variables, and execution steps for easy.
Add Secondary Groups to Linux Users with Ansible Playbook
playbooks · 3
Learn how to add secondary groups to Linux users with an Ansible playbook. This step-by-step guide includes YAML configuration and execution details.
Ansible AppArmor — Manage Linux Security Profiles
playbooks · 4
Manage AppArmor security profiles with Ansible. Deploy custom profiles, switch enforcement modes, audit application access, troubleshoot denials.
Ansible Auditd — Configure Linux Audit Framework
playbooks · 5
Configure the Linux audit framework (auditd) with Ansible. Deploy audit rules for file access, system calls, authentication, privilege escalation,.
Configure Ansible Dynamic Inventory for VMware in Simple Steps
playbooks · 2
Discover how to configure Ansible Dynamic Inventory for VMware to automate and manage virtual machines efficiently. Step-by-step guide with Playbook.
Ansible Fail2Ban — Automate Intrusion Prevention and Brute Force Protection
playbooks · 4
Deploy Fail2Ban with Ansible. Protect SSH, Nginx, Apache, and custom services from brute force attacks. Jail configuration, custom filters, whitelists,.
Ansible GRUB Bootloader — Kernel Params
playbooks · 4
Configure GRUB bootloader with Ansible. Manage kernel command-line parameters, default boot entries, timeout settings, password protection.
Ansible GlusterFS — Deploy Distributed File Storage
playbooks · 4
Deploy GlusterFS distributed file storage with Ansible. Trusted pool setup, replicated and distributed volumes, geo-replication, client mounting,.
Ansible Linux User Management Guide
playbooks · 5
Automate Linux user and group management with Ansible. Complete guide covering user creation, group management, SSH keys, password policies, PostgreSQL.
Ansible Logrotate — Log Rotation
playbooks · 6
Manage logrotate configuration across Linux servers with Ansible. Template-based log rotation for applications, databases, web servers, and custom.
Automate EC2 Creation with Ansible: YAML Playbook Demo
playbooks · 6
Explore an Ansible playbook for creating EC2 instances on AWS. Learn to use ec2_ami_info, ec2_instance, set_fact, and shell modules in a live Playbook.
Ansible on RHEL 10 — Migration Guide
playbooks · 6
Guide to running Ansible on RHEL 10 — Python 3.12 default, new package names, systemd changes, firewalld updates, and playbook migration from RHEL 9 to.
Ansible on Raspberry Pi — Automate Your Homelab
playbooks · 6
Install Ansible on Raspberry Pi and automate homelab tasks — Pi-hole, Docker, monitoring, cluster management, k3s, backups, and fleet management for.
Ansible Rsyslog — Centralized Log Management
playbooks · 4
Deploy Rsyslog with Ansible for centralized log management. Client and server configuration, TLS encryption, log forwarding, filtering rules, templates,.
Ansible Samba — Configure File Sharing for Linux and Windows
playbooks · 6
Deploy and configure Samba with Ansible. File sharing between Linux and Windows, user management, access control, printer sharing, Active Directory member.
Ansible Swap Management — Create and Configure Swap Space
playbooks · 4
Manage Linux swap space with Ansible. Create swap files and partitions, configure swappiness, mount via fstab, monitor usage, and automate swap management.
Ansible Troubleshooting Installation Issues on macOS and Python
playbooks · 3
Learn how to resolve the ImportError for Jinja2 when installing Ansible on macOS using Homebrew, ensuring smooth automation setup.
Ansible get_url — Download Files
modules · 3
Download files from URLs with ansible.builtin.get_url. Working examples with checksum verification, authentication, proxy support, headers, and timeout.
Ansible iptables — Firewall Rules
playbooks · 6
Manage Linux iptables firewall rules with Ansible. Complete guide to ansible.builtin.iptables module — chains, rules, NAT, port forwarding, rate limiting,.
Ansible Command vs Shell Modules: Key Differences Explained
playbooks · 5
Explore the differences between Ansible's command and shell modules. Learn when to use each, with practical examples and code Playbooknstrations.
Ansible on Ubuntu 26.04 — What Changed
playbooks · 8
Guide to running Ansible on Ubuntu 26.04 LTS — sudo-rs replaces sudo, APT 3.2 rollback, Wayland-only, Kernel 7.0, ROCm. Updated playbooks, privilege.
Ansible shell vs command Module: When to Use Each
modules · 3
Ansible shell vs command module compared — when to use pipes, redirects, and environment variables. Learn best practices and why command is preferred over.
Ansible template Module: Generate Config Files with Jinja2
playbooks · 4
Master the Ansible template module — generate dynamic config files with Jinja2 variables, loops, and conditionals. Practical examples for nginx, systemd,.
Ansible: Fix 'Failed to Import botocore or boto3' for AWS
playbooks · 4
Learn how to troubleshoot and fix the "Failed to import the required Python library (botocore or boto3)" error in Ansible for AWS with a live Playbook.
Ansible troubleshooting — Destination does not exist rc 257
playbooks · 3
Troubleshoot the "Destination does not exist" error (return code 257) in Ansible with Luca Berton on Ansible Pilot! Learn to fix file path issues.
Fix Ansible Invalid Plugin Name Error
playbooks · 4
Fix 'Invalid plugin name: regex.replace' in Ansible. Use ansible.builtin.regex_replace FQCN instead of short names. Step-by-step solution with examples.
Fix Ansible Permission Denied Errno 13
playbooks · 2
Learn how to troubleshoot and resolve the Permission Denied Errno 13 error in Ansible with Luca Berton on Ansible Pilot.
Decoding Ansible Syntax Errors: A Troubleshooting Guide
playbooks · 2
Discover practical solutions for resolving syntax errors in Ansible playbooks through live Playbooknstrations and troubleshooting guidance.
Fix Ansible Root User Permission Error
playbooks · 7
Fix the Ansible error This command has to be run under the root user — become directive, sudo config, and privilege escalation guide.
Fix Ansible VMware PyVmomi Error
playbooks · 3
Let’s troubleshoot together the Ansible fatal error “Failed to import the required Python library (PyVmomi)” to find the root cause, install the.
Ansible troubleshooting — VMware Unknown error while connecting to vCenter or ESXi
playbooks · 3
Let’s troubleshoot together the Ansible fatal error “Unknown error while connecting to vCenter or ESXi API, [Errno -2] Name or service not known” to.
Fix Ansible VMware Certificate Error
playbooks · 4
Learn how to resolve the "certificate verify failed" error in Ansible when connecting to VMware vCenter. Follow our step-by-step guide for a smooth fix.
Ansible Troubleshooting — Fix chgrp Failed Error
playbooks · 4
Fix the Ansible 'chgrp failed' error. Understand why group lookup fails, verify groups exist on remote hosts, create missing groups, and handle.
Ansible Troubleshooting: Destination Does Not Exist Error
playbooks · 3
To resolve the "destination does not exist" error, ensure the destination path exists and is accessible. Correct the playbook dest variable to a valid.
Ansible troubleshooting — fatal template error while templating string
playbooks · 3
Explore the FATAL template error while templating string in Ansible. Learn how to diagnose and resolve this runtime issue effectively.
Ansible Troubleshooting: Fix "Missing Module Parameter" Error
playbooks · 5
Fix Ansible "missing required arguments" and typo-based parameter errors. Complete guide with common module parameters, debugging techniques.
Ansible troubleshooting — the "role not found" error
playbooks · 4
Discover how to resolve the role not found error in Ansible by correctly specifying and locating roles for seamless playbook execution.
Ansible troubleshooting — urlopen error
playbooks · 2
How to reproduce the urlopen error in Ansible, troubleshooting, and fix to be able to successfully open an URL in your playbook.
Ansible SSH Password Auth — sshpass
playbooks · 4
Fix 'to use ssh with passwords you must install sshpass' error. Install sshpass on Ubuntu, RHEL, macOS, and configure Ansible SSH password auth safely.
Ansible user Module — Users & Groups
playbooks · 4
Complete guide to the Ansible user module — create users, set passwords, manage groups, SSH keys, and home directories. Includes group module examples.
Ansible CIS Hardening — RHEL 9
playbooks · 5
Discover how to automate CIS Benchmark hardening for RHEL 9 systems using Ansible. Simplify security compliance with the "ansible-lockdown" project for.
Strengthening Security: Automating CIS Benchmark Hardening for RHEL 9 with Ansible
playbooks · 6
Automate CIS Benchmark hardening for RHEL 9 using Ansible with the Ansible Lockdown roles, ensuring robust security configurations across systems.
Automating Dynamic Time Date Facts with Ansible
playbooks · 6
Learn how to work with dates, timestamps, and time formatting in Ansible playbooks using set_fact, now(), ansible_date_time, and strftime filters with.
Automating Jenkins Installation with Ansible
playbooks · 4
Automate Jenkins installation effortlessly with Ansible. This playbook guides through installing Java, adding Jenkins repository, and configuring.
Getting Started with Amazon EC2 Instances
playbooks · 5
Learn how to automate EC2 instance creation on AWS with Ansible. This guide covers essential setup, configuration, and management for seamless cloud.
Automating depmod with Ansible
playbooks · 3
Learn how to automate the depmod command using Ansible for streamlined kernel module management. Tested on real machines with clear, copy-paste examples.
Handle Yum/DNF Failures in Ansible — Troubleshooting and Best Practices
playbooks · 5
Troubleshoot and handle Yum/DNF package manager failures in Ansible playbooks. Covers lock files, repo errors, dependency conflicts, retry patterns.
Ansible file Module — Permissions
playbooks · 6
Change file and directory permissions with Ansible file module. Complete guide to chmod, chown, chgrp, symbolic modes, recursive permissions, SELinux.
Change the User Primary Group on Linux with Ansible
playbooks · 3
Learn how to use Ansible to change a user's primary group on Linux systems with the user module. Streamline user management and ensure consistent group.
Ansible user — Change Password
playbooks · 6
Change user passwords on Linux with Ansible user module. SHA-512 hashing with password_hash filter, Vault encryption, bulk updates, and idempotent.
ansible.builtin.git Module — Clone via SSH
playbooks · 5
Clone Git repositories with Ansible's ansible.builtin.git module over SSH. Configure SSH keys, deploy branches/tags, and handle submodules.
Configuring Ansible for AWS: Setup Guide & Playbook
playbooks · 5
Set up Ansible for AWS with IAM credentials, boto3, and the amazon.aws collection. Follow our guide to configure and execute your first AWS playbook.
Ansible community.vmware Collection Setup
playbooks · 4
Configure Ansible for VMware vSphere with community.vmware collection. Install pyVmomi, set credentials, and manage VMs with complete playbook examples.
Configuring Kernel Parameters in RedHat-like Linux Systems with Ansible System Role
playbooks · 4
Learn how to configure kernel parameters in RedHat-like Linux systems using the Ansible System Role. Follow our live Playbook example for efficient.
Configure a Python Virtual Environment for Ansible AWS — ansible collection amazon.aws
playbooks · 3
Learn to configure a Python Virtual Environment for Ansible AWS amazon.aws collection using the latest Python 3.8 and boto3 library releases.
Ansible VMware community.vmware venv
playbooks · 4
Learn how to set up a Python Virtual Environment for Ansible VMware, ensuring seamless integration and management of your VMware infrastructure with.
Configuring ansible_python_interpreter in Ansible
playbooks · 3
Learn how to use ansible_python_interpreter to configure the Python interpreter in Ansible, ensure compatibility across hosts, and manage multiple versions.
Ansible fetch Module — Retrieve Files
playbooks · 5
Download files from remote hosts to local machine with ansible.builtin.fetch. Collect logs, configs, and backups with flat, dest, and validate options.
ansible.builtin.copy: Copy Files to Remote Hosts
playbooks · 5
Master ansible.builtin.copy to transfer files, set permissions, create backups, validate configs, and copy directories on remote hosts.
Crafting and Publishing Your Custom Ansible Collection on Automation Hub
modules · 4
Learn to create and publish a custom Ansible Collection "test.test" on Automation Hub. Follow steps to initialize, customize, build, and upload your.
Create VMware vSphere VM with Ansible: Full Playbook Guide
playbooks · 3
Master creating VMware vSphere VMs using Ansible. Our guide provides a comprehensive playbook and step-by-step instructions for VM setup and management.
Create Text Files with Ansible copy Module (Playbook Examples)
playbooks · 7
Create and manage text files with Ansible copy module. Complete guide with content parameter, permissions, SELinux, templates, multi-line content.
Ansible AWS S3 Bucket — Create
playbooks · 7
Discover how to automate the creation of AWS S3 buckets using Ansible. Our detailed guide covers the prerequisites, step-by-step playbook creation.
Ansible user Module — Create Users
playbooks · 7
Complete guide to ansible.builtin.user module — create accounts, set passwords with SHA-512, manage groups, generate SSH keys, and handle bulk user.
Creating a New Ansible Collection: A Step-by-Step Guide
modules · 4
Create a new Ansible Collection "test.test" with ansible-galaxy. Follow steps to initialize, build, and verify the collection, resulting in a.
Creating an Application Load Balancer with Ansible in AWS
playbooks · 4
Automating AWS Infrastructure with Ansible - Creating an Application Load Balancer in AWS. Tested on real machines with clear, copy-paste examples.
Creating an Azure Virtual Machine Scale Set using Ansible
playbooks · 5
Effortlessly Deploy and Scale Your Infrastructure with Ansible and Azure Scale Sets. Tested on real machines with clear, copy-paste examples.
Creating an Azure Virtual Network with Ansible Playbook
playbooks · 4
Learn how to use Ansible’s Azure modules to automate the creation of a virtual network with subnets and a public IP address in Microsoft Azure Cloud.
Delete a VMware Virtual Machine Snapshot — Ansible module vmware_guest_snapshot
playbooks · 3
How to automate the delete of snapshot named “Ansible Managed Snapshot” in a VMware Virtual Machine “myvm” Ansible Playbook and vmware_guest_snapshot.
Ansible file Module — Delete Files
playbooks · 5
Delete files, directories, and symlinks with Ansible file module state: absent. Complete guide with conditional deletion, batch cleanup, safe patterns,.
Deploy Apache HTTPD on Docker Container with Ansible
playbooks · 3
Automate the deployment of Apache HTTPD in a Docker container using Ansible. Manage system packages, Docker images, and web content effortlessly.
Deploy Apache HTTPD with Podman Using Ansible Playbook
playbooks · 7
Automate Apache HTTPD deployment in a Podman container with Ansible. Manage Podman installation, image pulling, and container configuration.
Ansible Podman — Apache HTTPD Deploy
playbooks · 9
Automate the deployment of Apache HTTPD in a Podman container using Ansible. Set up web root, custom index.html, and manage container settings.
Ansible vmware_guest — Deploy VM
playbooks · 2
How to automate the deployment of a virtual machine guest from “mytemplate” template using Ansible Playbook and vmware_guest module.
Deploy Squid Proxy on RedHat Systems with Ansible
playbooks · 5
Learn to deploy and configure a Squid proxy server on RedHat-like systems using Ansible. Follow our step-by-step guide with simple Ansible code examples.
Set Up Apache Webserver on Debian with Ansible Playbook
playbooks · 4
Learn to deploy and configure an Apache web server on Debian using Ansible. Automate installation, custom index.html setup, and firewall rules.
Efficient Web Server Setup Using Ansible Playbook
playbooks · 3
Set up a web server effortlessly with our Ansible playbook tutorial. Follow step-by-step instructions for installing and configuring HTTPD service.
Set Up Apache Vhost on Debian with Ansible Playbook
playbooks · 7
Learn to configure an Apache virtual host on Debian using Ansible. Automate web server setup, document root creation, and firewall rules.
Ansible Apache Vhost — RedHat Config
playbooks · 6
Automate Apache virtual host setup on RedHat systems with Ansible. Learn to manage web server installation, configuration, and firewall settings.
Ansible: Disable and Lock a Linux User Account
playbooks · 2
Disable a Linux user account with Ansible: set password_lock: true and the nologin shell to block all logins — with copy-paste playbook examples.
Ansible get_url — Download Files via HTTPS Proxy
playbooks · 3
Learn how to download files using Ansible get_url module with proxy settings, including checksum verification and setting file permissions.
Dynamic Data Construction in Ansible: Managing Users and Groups
playbooks · 3
Explore a practical guide on dynamically managing user accounts and groups in Ansible. Learn how to use Jinja2 templates and set_fact for scalable.
Edit Single Lines in Files — Ansible lineinfile Module Guide
playbooks · 5
Master the Ansible lineinfile module — insert, replace, and remove single lines in files. Complete guide with regexp matching, validation, backreferences,.
Effortlessly Create AWS IAM Users and Store their Access Keys with Ansible
playbooks · 6
Effortlessly create AWS IAM users and store their access keys securely with Ansible and AWS SSM Parameter Store, ensuring scalable and secure management.
Ansible SELinux Permissive Mode
playbooks · 4
How to automate the enabling or disabling of SELinux Permissive policy per single process or domain keeping the whole system under enforcing policy.
Ansible seboolean — SELinux Booleans
playbooks · 8
Enable and disable SELinux booleans with ansible.posix.seboolean. Persist settings across reboots, list booleans, and troubleshoot SELinux policies.
Ansible user Module — Enable and Unlock
playbooks · 2
Re-enable a locked Linux user account with Ansible: set password_lock: false, restore the /bin/bash shell, and verify access — with playbook examples.
Ansible NFS Server Setup — Red Hat
playbooks · 4
Learn to automate the installation and configuration of an NFS server on Red Hat using an Ansible playbook. Enhance your system's efficiency now.
Extract Archives with Ansible — unarchive Module Guide
playbooks · 5
Extract zip, tar.gz, and tar.bz2 archives with the Ansible unarchive module. Copy from local or remote URLs, set permissions, and run handlers on extract.
Luca Berton Joins FOSDEM 2025: A Celebration of Open Source Innovation
networking · 2
Join Luca Berton at FOSDEM 2025 to explore the latest in open source, automation, and community collaboration. A must-attend event for developers.
Find All Files with Extension — Ansible module find
playbooks · 5
How to automate the finding of all files with “.cnf” extension under the “example” directory of “devops” user using Ansible Playbook and find module.
Ansible VMware ESXi Host Info
playbooks · 14
Discover how to gather info about VMware ESX/ESXi hosts in a cluster using Ansible. Follow our live Playbook and simple code examples to get started.
Get VMware vSphere Virtual Machine UUID — Ansible module vmware_guest_info
playbooks · 3
How to automate the gathering of UUID of a specific “myvm” VMware vSphere Virtual Machine using Ansible Playbook and vmware_guest_info module.
Ansible find — Delete Files in Dir
playbooks · 4
Find and delete files inside directories with Ansible find module. Filter by age, size, pattern, and type. Complete cleanup playbook examples.
How to Run Linux Fedora Workstation 39 on an Apple Mac
security · 3
Twenty Years of Fedora: Celebrating Innovation in Open Source Step-by-step Ansible tutorial with practical examples and best practices.
Run RHEL 9.2 on Mac Using VMware Fusion: A Step-by-Step Guide
networking · 3
Learn how to run Red Hat Enterprise Linux 9.2 on your Mac with VMware Fusion. Follow our step-by-step guide for seamless installation and configuration.
Upgrade Ansible on macOS — Homebrew
modules · 3
Keeping Your Ansible Environment Up-to-Date with Homebrew Step-by-step Ansible tutorial with practical examples and best practices.
How to install Ansible in AlmaLinux 9 — Ansible install
playbooks · 7
Learn how to easily install and maintain Ansible on AlmaLinux 9 using the ansible-core package from the AppStream repository with this simple guide.
How to install Ansible in Amazon Linux 2 (AWS EC2) — Ansible install
playbooks · 18
How to install Ansible in Amazon Linux 2 using the Amazon Extras Library \"amazon-linux-extras\" and the EPEL (Extra Packages for Enterprise Linux).
How to install Ansible in Arch Linux 2021.12.01 — Ansible install
playbooks · 9
The easier way to install the latest version of Ansible and maintain up-to-date in Arch Linux 2021.12.01 using Pacman and the Community repository.
How to install Ansible in CentOS 8 Stream — Ansible install
playbooks · 6
Learn the easiest way to install and maintain Ansible on CentOS Stream 8 using the EPEL Next repository, managed by the Fedora Special Interest Group.
How to install Ansible in CentOS 8 — Ansible install
playbooks · 5
Discover the easiest way to install and maintain Ansible on CentOS 8 using the EPEL repository, managed by the Fedora Special Interest Group.
How to install Ansible in CentOS 9 Stream — Ansible install
playbooks · 8
Learn how to install Ansible on CentOS Stream 9 using the AppStream repository for efficient automation and configuration management.
How to install Ansible in Debian 11 — Ansible install
playbooks · 9
The easier way to install the latest version of Ansible and maintain up-to-date in Debian 11 using APT and the \"main\" default repository.
Install Ansible on Debian 12
playbooks · 10
The easier way to install the latest version of Ansible and maintain up-to-date in Debian 12 using APT and the \"main\" default repository.
How to install Ansible in Fedora 34 — Ansible install
playbooks · 4
How to install and maintain the latest version of Ansible inside Fedora 34 using the default repository with a practical Playbook.
How to install Ansible in Fedora 35 — Ansible install
playbooks · 5
How to install and maintain the latest version of Ansible inside Fedora 35 using the default repository with a practical Playbook.
How to install Ansible in Fedora 36 — Ansible install
playbooks · 6
How to install and maintain the latest version of Ansible inside Fedora 36 using the system repository with a practical Playbook.
How to install Ansible in Fedora 37 — Ansible install
playbooks · 5
How to install and maintain the latest version of Ansible inside Fedora 37 using the system repository with a practical Playbook.
How to install Ansible in Fedora 38 — Ansible install
playbooks · 4
How to install and maintain the latest version of Ansible inside Fedora 38 using the system repository with a practical Playbook.
How to install Ansible in Fedora 39 — Ansible install
playbooks · 5
Learn how to install Ansible on Fedora 39 efficiently using dnf, ensuring your system is ready for automation tasks with the latest versions of.
How to install Ansible in Gentoo Linux — Ansible install
playbooks · 9
The easier way to install and maintain up-to-date Ansible inside Gentoo Linux using the \\"portage\\" package manager. With tested, real-world examples.
How to install Ansible in OpenSUSE Leap 15 — Ansible install
playbooks · 7
How to install the latest version of Ansible in openSUSE using the official SUSE Leap \\"update\\" repository. With clear, copy-paste, step-by-step examples.
How to install Ansible in Oracle Linux 8 — Ansible install
playbooks · 9
Learn how to install the latest Ansible release on Oracle Linux 8 using the oracle-epel-release-el8 repository with a simple script.
How to install Ansible in Oracle Linux 9 — Ansible install
playbooks · 14
Learn how to easily install and maintain Ansible on Oracle Linux 9 using the ansible-core package from the AppStream repository with this.
How to Install Ansible in RHEL 8
playbooks · 5
How to install the latest and a specific version of Ansible in Red Hat Enterprise version 8 using Ansible Engine software collection.
How to Install Ansible in RHEL 9 Beta
playbooks · 16
How to install Ansible Core (ansible-core) in RedHat Enterprise Linux 9 Beta included in the RHEL 9 AppStream repository.
How to Install Ansible in RHEL 9.1
playbooks · 5
How to install Ansible Core (ansible-core) in RedHat Enterprise Linux 9.1 included in the RHEL 9.1 AppStream repository.
How to Install Ansible in RHEL 9.2
playbooks · 7
How to install Ansible Core (ansible-core) in RedHat Enterprise Linux 9.2 included in the RHEL 9.2 AppStream repository.
How to Install Ansible in RHEL 9.3
playbooks · 6
A concise guide on installing and maintaining Ansible in RHEL 9.3 using the distribution tools without additional repositories.
How to Install Ansible in RHEL 9 — Step by Step
playbooks · 13
How to install Ansible Core (ansible-core) in RedHat Enterprise Linux 9 included in the RHEL 9 AppStream repository. Tested, copy-paste examples included.
How to install Ansible in Rocky Linux 8 — Ansible install
playbooks · 8
How to install and maintain up-to-date Ansible inside Rocky Linux 8 using the EPEL repository. With tested, real-world examples.
Install Ansible on Rocky Linux 9
playbooks · 8
How to install and maintain up-to-date Ansible inside Rocky Linux 9 using DNF and the ”appstream” system repository. Tested, copy-paste examples included.
How to install Ansible in SUSE Linux Enterprise Server (SLES) 15 SP3 — Ansible install
playbooks · 11
How to install and maintain up-to-date Ansible inside SUSE Linux Enterprise Server (SLES) 15 SP3 using the SUSE Package Hub repository.
How to Install Ansible on Ubuntu 20.04, 22.04, and 24.04
modules · 4
Step-by-step guide to installing Ansible on Ubuntu using apt, PPA, and pip. Covers Ubuntu 20.04, 22.04, and 24.04 with version comparison.
How to install Ansible in Ubuntu 21.10 — Ansible install
playbooks · 11
How to install Ansible in Ubuntu 21.10 Impish Indri using the universe and PPA repositories. Tested, copy-paste examples included.
How to install Ansible in Ubuntu 22.04 LTS Jammy Jellyfish — Ansible Install
playbooks · 9
How to install ansible using the universe repository in Ubuntu 22.04 LTS Jammy Jellyfish. Tested on real machines with clear, copy-paste examples.
How to install Ansible in Ubuntu 22.10 Kinetic Kudu — Ansible Install
playbooks · 6
Learn how to install Ansible on Ubuntu 22.10 Kinetic Kudu using the universe repository with a simple and straightforward method.
How to install Ansible in Ubuntu 23.04 Lunar Lobster — Ansible Install
playbooks · 6
Learn the easiest ways to install and maintain Ansible on Ubuntu 23.04 Lunar Lobster using the universe and PPA repositories for efficient automation.
How to Install Ansible on Ubuntu 23.10 Mantic Minotaur
playbooks · 4
Learn how to install Ansible on Ubuntu 23.10 through a remote SSH session with easy-to-follow steps and commands for seamless automation setup.
Install Ansible on Ubuntu 24.04 LTS — pip & APT Guide
playbooks · 5
Install Ansible on Ubuntu 24.04 Noble Numbat step by step. Covers pip, APT PPA, pipx methods with version pinning and virtual environments.
Install Ansible on Windows 10 WSL
playbooks · 9
Learn how to install Ansible on Windows 10 using the Windows Subsystem for Linux (WSL), leveraging its compatibility for seamless automation tasks.
How to install Ansible in macOS — Ansible install
playbooks · 2
How to install the latest and specific versions of Ansible on macOS using the Homebrew Package Manager. Tested, copy-paste examples included.
How to install Ansible with PIP — Ansible install
playbooks · 3
How to install Ansible with PIP - the Python package manager. Step-by-step Ansible tutorial with practical examples and best practices.
Mitigate CVE-2021-4034 on RHEL with Ansible Playbook
playbooks · 3
HUse Ansible to mitigate CVE-2021-4034 on RHEL systems. Automate the installation of SystemTap, debugging packages, and deploy mitigation scripts.
Ansible Ignore SSH Host Key Checking
playbooks · 3
How to avoid the SSH Host Key checking at the beginning of every Ansible execution in our laboratory, CI/CD pipeline, or cloud computing provider.
Ansible yum and dnf — RHEL Packages
playbooks · 5
Install, update, and remove packages on Red Hat family systems with Ansible's yum and dnf modules. Complete parameter reference, version pinning, group.
Ansible zypper — SUSE Packages
playbooks · 6
Install, update, and remove packages on SUSE and openSUSE with the Ansible zypper module. Repository management, patterns, and playbook examples.
JetPorch Automation Tech Preview One Release
playbooks · 7
Save the Date and Join the Celebration on Friday, Sept 29th at 11:30 EST. With clear, copy-paste, step-by-step examples.
Learn Ansible book technical review by Luca Berton
playbooks · 4
Second Edition: Automate your cloud infrastructure, security configuration, and application deployment. Tested, copy-paste examples included.
Live from FOSDEM 2025: My Experience with La Brigata dei Geek Estinti
networking · 2
Join me as I discuss the latest innovations and community-driven development at FOSDEM 2025 during a live session with La Brigata dei Geek Estinti.
Ansible modprobe — Load Kernel Modules
playbooks · 4
How to automate the Linux Kernel module loading of the "dummy" module with parameters on an example machine with Ansible.
Manage Disk Space by Cleaning /var/log/journal on Fedora
playbooks · 4
Free disk space by managing systemd journal logs on Fedora and RHEL. Configure journald.conf size limits, vacuum old logs, automate cleanup with Ansible,.
Ansible mount Module — NFS CIFS fstab
playbooks · 7
Mount NFS, CIFS, and SMB shares on Linux with ansible.posix.mount. Playbook examples with fstab persistence, mount options, and unmount automation.
Ansible Linux chrt Process Scheduling
playbooks · 3
Explore chrt scheduling policies: SCHED_BATCH, SCHED_DEADLINE, SCHED_FIFO, SCHED_IDLE, SCHED_OTHER, and SCHED_RR. Learn their uses and options.
Ansible pause Module — Delays & Prompts
playbooks · 3
Pause Ansible playbook execution with time delays or prompts. Examples with seconds, minutes, and interactive user input.
Set System-Wide Environment Variables on Linux with Ansible
playbooks · 3
Learn to set system-wide environment variables on remote Linux systems using Ansible. Follow this guide for a live Playbook and simple Ansible code.
Read an environment variable — Ansible lookup plugin env
playbooks · 2
How to automate the reading of HOME environmental variable and use it in your Ansible Playbook code with lookup plugin env.
Ansible reboot Module — Reboot Linux
playbooks · 6
Reboot Linux servers with the Ansible reboot module. Complete guide with pre/post delay, timeout, test commands, rolling reboots, kernel updates.
Red Hat Enterprise Linux 9 for SysAdmins Book by Luca Berton & Jerome Gotangco
playbooks · 3
Luca Berton and Jerome Gotangco present 'Red Hat Enterprise Linux 9 for SysAdmins'—a hands-on technical guide for secure, production-ready Linux.
Reduce Intel CPU Overheating on Linux with Ansible and Thermald
playbooks · 3
Install and configure thermald on Intel Linux laptops using Ansible. Reduce CPU overheating with the package module — supports Debian, Ubuntu, and RHEL.
Ansible redhat_subscription Module
playbooks · 6
How to automate the registration of a machine RedHat Enterprise Linux 8 to subscription-manager using the access.redhat.com credential, assign a pool of.
Ansible user — Remove Accounts
playbooks · 4
How to remove user accounts with Ansible user module. Delete users, remove home directories, and manage accounts across Linux, macOS, and FreeBSD..
Ansible service — Restart Services
playbooks · 5
Manage system services with ansible.builtin.service. Start, stop, restart, and enable services on Linux with handlers and conditional examples.
Rolling Update Debian-like systems — Ansible module apt
playbooks · 7
Perform rolling updates on Debian/Ubuntu systems with Ansible apt module — full upgrade, selective updates, serial strategy, and reboot handling.
Ansible Rolling Updates — Patch Servers with Zero Downtime
playbooks · 4
Perform rolling updates on RHEL/CentOS/Fedora with Ansible. Complete guide covering serial batches, pre/post health checks, automatic rollback, kernel.
Run a Python Script on Remote Machines — Ansible module script
playbooks · 7
How to automate the execution of a "cars.py" custom Python script on a remote machine after transferring it and processing the output as an Ansible.
SSH Unknown Error in Ansible: Causes and Fixes
networking · 3
Fix the SSH 'unknown error' when connecting to hosts on port 22 with Ansible. Covers common causes: key issues, firewall rules, DNS resolution, and SSH.
Search for AWS EC2 AMI ID by Region — Ansible module ec2_ami_info
playbooks · 3
How to automate the search of an AWS EC2 machine AMI ID running the operating system RHEL-8.3.0 in the region "us-east-1" using Ansible Playbook.
Search for a String in a File — Ansible module lineinfile
playbooks · 4
How to automate searching for the string "PasswordAuthentication no" in the "/etc/ssh/sshd_config" file using Ansible Playbook and the lineinfile module.
Set remote environment per task or play — Ansible environment statement
playbooks · 3
How to set an EXAMPLE environmental variable at play and task Ansible Playbook code level and verify with echo Linux command.
Ansible sysctl Module — Kernel Tuning
playbooks · 4
Set and persist Linux kernel parameters with ansible.posix.sysctl. Playbook examples for vm.swappiness, ip_forward, file-max, and more.
Set the SELinux Policy States and Modes on Linux — Ansible module selinux
playbooks · 4
How to automate the setting and verification of the "enforcing" SELinux mode and state with "targeted" policy and relabel the filesystem if necessary.
Setting Up Neo4j GenAI Environment on Fedora Using Ansible
playbooks · 5
Learn how to set up a Neo4j GenAI environment on Fedora using Ansible, including full-text and vector indexing, and OpenAI integration
Start a VMware vSphere Virtual Machine — Ansible module vmware_guest_powerstate
playbooks · 3
How to automate the change of power state from Powered Off to Powered On of the virtual machine guest “myvm” using Ansible Playbook.
Ansible service_facts — Enable on Boot
playbooks · 5
How to list the available Linux services and automate the start and enable service on boot process with Ansible playbook. Included code and Playbook with.
Stop a VMware vSphere Virtual Machine — Ansible module vmware_guest_powerstate
playbooks · 4
How to automate the gracefully use guest shutdown and forcefully power off to change the power state from Powered On to Powered Off of the virtual.
Ansible service_facts — Stop Services
playbooks · 5
Stop, disable, and manage Linux services with Ansible service and service_facts modules. Control systemd units on remote hosts with playbook examples.
Ansible vmware_guest_snapshot Module
playbooks · 3
How to automate taking snapshots named “Ansible Managed Snapshot” to a VMware Virtual Machine “myvm” Ansible Playbook and vmware_guest_snapshot module.
The run_once statement in Ansible
playbooks · 6
Learn how to use run_once in Ansible at play and task levels. Understand why run_once may behave differently when strategy is set to free, with.
Three options to Safely Limit Ansible Playbooks Execution to a Single Machine
playbooks · 5
Three options to safely limit Ansible Playbook execution to a single machine using runtime parameters, playbook code, and variables.
Fix Ubuntu apt dpkg Lock Error — Quick Solutions
playbooks · 6
Fix 'Unable to acquire the dpkg frontend lock' error on Ubuntu. Remove stale locks, kill stuck processes, and prevent lock conflicts safely.
User password expiration — Ansible module user
playbooks · 4
Learn how to set user password expiration time on Linux with Ansible. Join Luca Berton in a live Playbook using the Ansible `ansible.builtin.user`.
Detect Apache Log4j CVE-2021-44228 with Ansible Playbook
playbooks · 4
Use Ansible to automate the detection of Apache Log4j CVE-2021-44228 vulnerability. Follow this guide to set up and run detection scripts efficiently.
Ansible Write Variable — copy vs template
playbooks · 4
Write Ansible variables to files using copy content parameter or template module. Compare approaches for configs, JSON output, and dynamic content.