Ansible: The copy module
The module ansible.builtin.copy enables users to copy files from the controller node to managed nodes. It also helps to add/modify a destination file with a specific content. In the below example we use three groups in…
The module ansible.builtin.copy enables users to copy files from the controller node to managed nodes. It also helps to add/modify a destination file with a specific content. In the below example we use three groups in…
In this post we are going to see how we can use the below two modules to download a file from a URL or and FTP server to the managed nodes, and replace certain content…
Every system has a clock and is a critical component of the Operating System. It keep the time, which is used for various proposes such as: Running automated jobs as configured intervals Marking timestamp on…
There is no excerpt because this is a protected post.
Dandified YUM or simply DNF is an advanced version of the Yellowdog Updater, Modified OR simply YUM, a package manager for rpm-based Linux distributions. The “yum” commands are still available in Redhat, but they point…
The Content Collection is a set of related roles, supplementary modules, and other content. This can be obtained from an Ansible Content Collection and can be used in playbook. The default path where collections are usually downloaded…
A yum or dnf repository can be added to managed nodes using Ansible. This is done using the ansible builtin yum_repository module. Basics of creating yum repositories can be found at this link. Below playbook…
As we all knows the yum and dnf commands are used to download and install software packages from software repositories configured in the node. In a centOS server, centos repositories will be configured by default….
When executing a playbook, ansible uses certain values mentioned in the “ansible.cfg” file. This includes the location of “inventory” file, etc. The “ansible.cfg” file can be present in any of the following locations, and the…
NFS, or Network File Share is a service that allows client to store and share files and folders that will be stored in a centralized server. Installing NFS server on RHEL 9 node is straight…