DNF : Dandified YUM
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…
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…
Ansible can be used to remotely configure cron entries or even create a crontab files in managed nodes. The below example creates a crontab file named “/etc/cron.d/the-date-time” in the managed nodes. First let us verify…
Though ansible server will run jobs in managed nodes as a root user, we can specify the user account using which the jobs should get executed in the remote nodes. This is done using the…
A Linux systems can boot up in various modes based on user preference. For example we can configure a node to start on GUI mode, where once the node boots, the user will get a GUI based…
Ansible provides a means to schedule jobs to be executed on a future time, weather it is a one time job or ones to be repeated at regular interval. This is done using the modules…