module

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

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

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

Stop and disable services on boot on remote hosts - Ansible module service_facts, service

How to stop and disable services on boot on Linux remote hosts with Ansible?

Continue reading

Start and enable services on boot on Linux remote hosts - Ansible module service_facts, service

How to enable services on boot on remote hosts with Ansible?

Continue reading

Loop in file template - Ansible module template - Generate hosts file

How to use a loop in a file template to the target host with Ansible?

Continue reading

Apply a file template - Ansible module template - HTML placeholder

How to apply a file template to the target host with Ansible?

Continue reading

Create a directory in Linux - Ansible module file

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

Continue reading

Ansible File Module Demo: Create Symlinks Easily

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

Continue reading

Install Google Chrome in Windows-like systems - Ansible module win_chocolatey

How to Install Google Chrome 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