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.
Dec 15, 21
Change the User Primary Group on Linux - Ansible module user
How to automate the changing of the primary group of a user "example" from "example" group to "users" group on a target the Linux with few lines of Ansible playbook code.
Dec 14, 21
Create a hard link in Linux - Ansible module file
How to create a "link" hard link that references the "example.txt" text file in the Linux filesystem with Ansible. Simple Ansible code and verification included.
Dec 14, 21
Add a User to a Second Group on Linux - Ansible module user
How to automate the adding of a user "example" to a system or user-defined groups list on a target the Linux with few lines of Ansible playbook code.
Dec 9, 21
Submit a GET request to a REST API endpoint - Interact with web services - Ansible module uri
How to retrieve a JSON list of users via a GET request to a REST API web service HTTPS endpoint from a remote Linux host in a few lines of Ansible code.