Articles by admin

Redhat Ansible

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…



redhat

Time Date and Timesync using Chronyd

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…



redhat

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…


Ansible_Logo

Ansible: Roles and Modules from Content Collections

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…


Redhat Ansible

Ansible: Adding a YUM or DNF repository

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…


redhat

Creating YUM and DNF Repositories

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….


Ansible_Logo

Ansible: Configuration file

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…