Dec 23, 21
Schedule a Cron Job task in Linux - Ansible module cron
How to automate the schedule of command execution to a specific minute, hour, day, month, weekday, and user in Linux using cron service.
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.
Dec 20, 21
Token Based Authentication in REST API - Interact with webservice - Ansible module uri - Authentication request using the REST API token
How to retrieve a JSON token via a POST authentication request using a JSON body formed by email and password to a REST API web service HTTPS endpoint from a remote Linux host in a few lines of Ansible code.
Dec 20, 21
Enable or Disable Permissive Domain in SELinux policy on Linux - Ansible module selinux_permissive
How to automate the enabling or disabling of SELinux Permissive policy per single process or domain keeping the whole system under enforcing policy and make it persistent after a reboot on Linux with Ansible.
Dec 17, 21
Enable or Disable SELinux Boolean on Linux - Ansible module seboolean
How to automate the enabling of the "httpd_use_nfs" SELinux boolean and make it persistent after a reboot on Linux with Ansible.
Dec 16, 21
Set the SELinux Policy States and Modes on Linux - Ansible module selinux
How to automate the setting and verification of the "enforcing" SELinux mode and state with "targeted" policy and relabel the filesystem if necessary on Linux target with Ansible.