module

Concatenate Multiple Files in Order with Ansible Template

How to use Concatenate multiple files in a specific order using Ansible?

Continue reading

Extract an archive in Windows-like systems - Ansible module win_unzip

How to extract a ZIP compressed archive in Windows-like systems in Ansible?

Continue reading

Copy files from Windows remote hosts - Ansible module fetch

How to Copy files from Windows remote hosts with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Create an empty file in Windows-like systems - Ansible module win_file

How to create an empty file in Windows-like systems with Ansible?

Continue reading

Mitigate CVE-2021-4034 on RHEL with Ansible Playbook

What is Polkit Privilege Escalation - (CVE-2021–4034)? “A memory corruption vulnerability in Polkit’s pkexec, witch allows any unprivileged user to gain full root privilege on a vulnerable system using default polkit configuration” cit.

Continue reading

Install Docker in Windows-like systems - Ansible module win_chocolatey

How to Install Docker in Windows-like systems with Ansible? Today I’m going to reveal how to install the software in a Windows-managed host using Chocolatey Package Manager.

Continue reading

Read file from remote hosts - Ansible module slurp

Read a file from remote hosts - Ansible module slurp How to automate the read of /proc/cpuinfo file from Linux remote host with Ansible.

Continue reading

Ansible Playbook for Installing Docker on Linux Systems

How to Install Docker in RedHat-like systems with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Install Docker in Debian-like systems - Ansible module apt_key, apt_repository and apt

How to Install Docker in Debian-like systems with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

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

Download and Use Ansible Galaxy Role - ansible-galaxy and requirements.yml

How to Download and Use Ansible Galaxy Role with ansible-galaxy and requirements.

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

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

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

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