Ansible Pilot

module

Create a hard link in Linux - Ansible module file
Dec 3, 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.
Stop and disable services on boot on remote hosts - Ansible module service_facts, service
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.
Start and enable services on boot on Linux remote hosts - Ansible module service_facts, service
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.
NFS Server - Export an NFS Share in RedHat-like systems: RHEL, CentOS, CentOS Stream, Fedora - Ansible modules yum, file, lineinfile, command, firewalld, service
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
Mount an NFS share in Linux - Ansible module mount
Nov 25, 21
Mount an NFS share in Linux - Ansible module mount
How to mount an NFS share in Linux. The Ansible Playbook code is going to check the required packages, create the mount-point, and set up the NFS network shared folder using NFS4 protocol on the Linux target machine. Demo and live coding included for RedHat-like and Debian-like systems.
Loop in file template - Ansible module template - Generate hosts file
Nov 24, 21
Loop in file template - Ansible module template - Generate hosts file
How to use for loop in Ansible module template to generate/etc/myhosts file with IP address, hostname, and short name from Ansible inventory. Ansible Playbook, Jinja2 template, and with Magic Variables included.
Follow me

Subscribe not to miss any new releases