linux

Break Strings Across Lines in YAML and Ansible

How to Break a string over multiple lines with Ansible? And in general with YAML language.

Continue reading

Copy Multiple Files to Remote Hosts with Ansible Efficiently

How to Copy Multiple Files to Remote Hosts with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Configuring Kernel Parameters in RedHat-like Linux Systems with Ansible System Role

How to Configure Kernel Parameters in RedHat-like Linux systems with Ansible using system role?

Continue reading

Ansible code in RHSB-2021-009 Log4Shell - Remote Code Execution - log4j (CVE-2021-44228)

My Ansible Playbook code was officially included in the Red Hat Security Bulletin RHSB-2021-009 Log4Shell - Remote Code Execution - log4j (CVE-2021-44228).

Continue reading

Load and Unload Kernel Modules in Linux - Ansible module modprobe

How to Load and Unload Kernel Modules in Linux with Ansible?

Continue reading

Set sysctl kernel parameters - Ansible module sysctl

How to set the sysctl kernel parameters with Ansible? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

How to install Ansible in Windows 11 WSL Windows Subsystem for Linux - Ansible install

How to install Ansible in Windows 11. Today we’re going to talk about the easier way to install and maintain Ansible inside Windows 11 using the Windows Subsystem for Linux.

Continue reading

Ansible troubleshooting - the "role not found" error

Introduction Today we’re going to talk about Ansible troubleshooting, specifically about the “role not found” error.

Continue reading

Schedule a Cron Job task in Linux - Ansible module cron

I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

Detect Apache Log4j CVE-2021-44228 with Ansible Playbook

How to automate the Detector Log4Shell Remote Code Execution Log4j (CVE-2021–44228)?

Continue reading

How to install Ansible in Gentoo Linux - Ansible install

How to install Ansible in Gentoo Linux? Today we’re going to talk about the easier way to install and maintain Ansible inside Gentoo using the default “portage” package manager.

Continue reading

Ansible Playbook: POST Request and Token Retrieval Demo

How to authenticate requests using the REST API token with Ansible?

Continue reading

Enable or Disable Permissive Domain in SELinux policy on Linux - Ansible module selinux_permissive

SELinux Permissive Domain What is SELinux? Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides a mechanism for supporting access control security policies, including mandatory access controls (MAC).

Continue reading

Enable or Disable SELinux Boolean on Linux - Ansible module seboolean

How to Enable or Disable SELinux Boolean on Linux with Ansible?

Continue reading

How to install Ansible in SUSE Linux Enterprise Server (SLES) 15 SP3 - Ansible install

How to install Ansible in SUSE Linux Enterprise SLES Server 15 SP3?

Continue reading

Install Ansible on AlmaLinux 8 Easily with EPEL

How to install Ansible in AlmaLinux version 8. Today we’re going to talk about the easier way to install and maintain Ansible inside AlmaLinux 8 using the EPEL repository.

Continue reading

Set the SELinux Policy States and Modes on Linux - Ansible module selinux

How to Set the SELinux Policy States and Modes on Linux with Ansible?

Continue reading

Change the User Primary Group on Linux with Ansible

How to Change the User Primary Group on Linux with Ansible?

Continue reading

How to install Ansible in Arch Linux 2021.12.01 - Ansible install

How to install Ansible in Arch Linux? Today we’re going to talk about the easier way to install and maintain up-to-date Ansible in Arch Linux using the Community repository.

Continue reading

Add Secondary Groups to Linux Users with Ansible Playbook

How to add a user to a second group on Linux with Ansible?

Continue reading

Create Hard Links in Linux with Ansible Playbooks

How to create a hard link in Linux with Ansible? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

How to install Ansible in Fedora 35 - Ansible install

How to install Ansible in Fedora version 35. Today we’re going to talk about the easier way to install and maintain Ansible inside Fedora 35 using the default repository.

Continue reading

Ansible troubleshooting - urlopen error

Introduction Today we’re going to talk about Ansible troubleshooting, specifically about urlopen error.

Continue reading

How to install Ansible in Ubuntu 21.10 - Ansible install

How to install Ansible in the latest Ubuntu 21.10. Today we’re going to talk about the easier way to install and maintain Ansible inside Ubuntu 21.

Continue reading

Submit a GET request to a REST API endpoint - Interact with web services - Ansible module uri

How to submit a GET request to a REST API endpoint with Ansible?

Continue reading