Nov 22, 23
How to Change a User Password with Ansible
How to write an Ansible Playbook to assign the password "password" to an "example" user account in a Linux system with SHA512 encryption.
Jul 28, 23
Automating Audit CIS Benchmark Hardening for Red Hat Enterprise Linux 9 with Ansible
Strengthening Cybersecurity and Compliance with Ansible Automation CIS Benchmark Hardening for Red Hat Enterprise Linux 9.
Jul 6, 23
Strengthening Security: Automating CIS Benchmark Hardening for RHEL 9 with Ansible
Simplifying Red Hat Enterprise Linux 9 Security Compliance: Streamline CIS Benchmark Implementation with Ansible Automation
Apr 30, 23
Edit single-line text - Ansible Playbook for Changing IP Address of Remote Hosts
This playbook uses the ansible.builtin.lineinfile and ansible.builtin.service modules to automate the process of updating the IP address and netmask values in the network configuration file and restarting the networking service on remote hosts.
Apr 26, 23
Ansible Linux Users & Groups By Examples
Ansible Modules To Automate the users and group management in Linux
Aug 18, 22
Create ISO image from Files and Folders - Ansible module iso_create
How to automate the creation of a "test.iso" ISO9660 file containing an "helloworld.txt" file using Ansible Playbook and iso_create module.
Jul 7, 22
Search for a String in a File - Ansible module lineinfile
How to automate the search of a string “PasswordAuthentication no” in the “/etc/ssh/sshd_config” file using Ansible Playbook and lineinfile module.
Jul 7, 22
Find All Files with Extension - Ansible module find
How to automate the finding of all files with “.cnf” extension under the “example” directory of “devops” user using Ansible Playbook and find module.
Jun 1, 22
Create a New LVM Partition - Ansible module parted
How to automate the creation of a new partition /dev/sdb1 on an additional disk initialized for LVM on Linux using Ansible and parted module.
Jan 27, 22
How to mitigate Polkit Privilege Escalation - PWNKIT (CVE-2021-4034) on RedHat-like systems - Ansible playbook mitigation
How to automate the mitigation of Polkit Privilege Escalation — PWNKIT (CVE-2021–4034) on RedHat-like systems using the Ansible Playbook 1.0 published on RHSB-2022–001. Line by line comment and live demo on vulnerable Red Hat Enterprise Linux 8.5.
Jan 13, 22
Configure Kernel Parameters in RedHat-like Linux systems - Ansible system role
How to automate the configuration of Kernel Parameters (sysctl, sysfs, and hugepages) in RedHat-like Linux systems using Linux System Role "linux-system-role.kernel_settings" from Ansible Galaxy.