Dec 14, 21
Create a hard link in Linux - Ansible module file
How to create a "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 1, 21
Stop and disable services on boot on remote hosts - Ansible module service_facts, service
How to list the available Linux services and automate the stop and disable service on boot process with Ansible playbook. Included code and demo with chronyd.service NTP server on a RedHat Enterprise Linux 8.
Nov 30, 21
Start and enable services on boot on Linux remote hosts - Ansible module service_facts, service
How to list the available Linux services and automate the start and enable service on boot process with Ansible playbook. Included code and demo with chronyd.service NTP server on a RedHat Enterprise Linux 8.
Nov 29, 21
NFS Server - Export an NFS Share in RedHat-like systems: RHEL, CentOS, CentOS Stream, Fedora - Ansible modules yum, file, lineinfile, command, firewalld, service
How to automate the configuration of an NFS Server with Ansible in six tasks: install packages, create the NFS share directory, add share in the config, export shares, restart NFS service and enable on boot, and open firewall service ports on boot in a RedHat-like Linux target system: RedHat Enterprise Linux, CentOS, CentOS Stream, Fedora, ClearOS, Oracle Linux, EuroLinux, Fermi Linux, EulerOS, ROSA Linux, Springdale Linux, Asianux