Ansible Pilot
About
Contact
Book
Video
Articles
SUSE
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.
#ansible
#lineinfile
#module
#text
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Apr 26, 23
Ansible Linux Users & Groups By Examples
Ansible Modules To Automate the users and group management in Linux
#ansible
#user
#module
#linux
#user-management
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#useradd
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.
#ansible
#iso_create
#module
#iso9660
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#rock-ridge
#joliet
#udf
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.
#ansible
#search
#filesystem
#linux
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#find
#extension
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.
#ansible
#search
#filesystem
#linux
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#find
#extension
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.
#ansible
#parted
#module
#storage
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#disk
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.
#ansible
#polkit
#pwnkit
#module
#linux
#security
#devsecops
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
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.
#ansible
#sysctl
#module
#linux
#security
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#kernel
Jan 12, 22
Load and Unload Kernel Modules in Linux - Ansible module modprobe
How to automate the Linux Kernel module loading of the "dummy" module with parameters on an example machine with Ansible.
#ansible
#modprobe
#module
#linux
#security
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#kernel
Jan 12, 22
Ansible code in RHSB-2021-009 Log4Shell - Remote Code Execution - log4j (CVE-2021-44228)
How to automate the Vulnerability Scanner/Detector provided by Red Hat RHSB-2021–009 Log4Shell — Remote Code Execution — log4j (CVE-2021–44228) with Ansible Playbook. Installation of dependency, GPG key verification, Vulnerability Scanner/Detector run, and result display on target Linux machine.
#ansible
#log4j
#log4shell
#module
#linux
#security
#devsecops
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#2021
#2022
#rhsb-2021-009
#cve-2021-44228
#red-hat-security-bulletin
#rhsb
#security-bulletin
Jan 11, 22
Set sysctl kernel parameters - Ansible module sysctl
How to automate the setting or verification of the Linux sysctl kernel parameter “vm.swappiness” to 5 with Ansible.
#ansible
#sysctl
#module
#linux
#security
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#kernel
Dec 22, 21
Vulnerability Scanner/Detector Log4Shell Remote Code Execution Log4j (CVE-2021–44228) — Ansible log4j-cve-2021–44228
How to automate the Vulnerability Scanner/Detector provided by Red Hat RHSB-2021–009 Log4Shell — Remote Code Execution — log4j (CVE-2021–44228) with Ansible Playbook. Installation of dependency, GPG key verification, Vulnerability Scanner/Detector run, and result display on target Linux machine.
#ansible
#log4j
#log4shell
#module
#linux
#security
#devsecops
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
««
«
1
2
3
4
»
»»
Red Hat Security Bulletin
FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress
Follow me
Subscribe not to miss any new releases
Search
Results
No results found
Try adjusting your search query
x
x