NFS Server -  Export an NFS Share in RedHat-like systems - six Ansible modules

Опубликовано: 06 Май 2025
на канале: Luca Berton
624
10

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.
https://www.ansiblepilot.com/articles...

Timestamps
00:00 Introduction
00:22 six Ansible modules: yum, file, lineinfile, command, firewalld, service
02:53 writing the demo playbook for NFS server
10:30 playbook execution and verification for NFS server
17:18 Recap

FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress - http://eepurl.com/hJv3j9

BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://leanpub.com/ansiblebyexamples

my VIDEO COURSE: Ansible by Examples
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://www.udemy.com/course/ansible-...