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.
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.
Nov 23, 21
Apply a file template - Ansible module template - HTML placeholder
How to create and use templates in Ansible Playbooks. An included example is how to deploy an HTML placeholder using the Jinga2 template in your Nginx webserver.
Nov 22, 21
How to install Ansible in Rocky Linux 8 - Ansible install
How to install and maintain up-to-date Ansible inside Rocky Linux 8 using the EPEL repository.
Nov 19, 21
How to install Ansible in OpenSUSE Leap 15 - Ansible install
How to install the latest version of Ansible in openSUSE using the official SUSE Leap "update" repository.