Playbook

How to install docker on RHEL using Ansible role

Reading Time: 3 minutes Introduction Hi everyone! Today in this blog, we will be installing Docker by creating an Ansible role. Roles are a feature in Ansible that simplifies the playbook. We can break a complex Ansible playbook into fully independent or interdependent collections of files, tasks, templates, variables, and modules. This enhances reuse-ability and promotes modularisation of configuration. We can create an Ansible role using the following command Continue Reading

Ansible Roles: Directory Structure

Reading Time: 4 minutes Hi readers, in this blog we will be discussing about Ansible roles and the directory structure used in Ansible. Above all, we will be looking at what different directories in a role do and how they can be created. What are Ansible Roles? According to the official Ansible documentation ‘roles are ways of automatically loading certain vars_files, tasks, and handlers based on a known file Continue Reading

Handling Errors in Ansible

Reading Time: 3 minutes Hello readers, in this blog we will be looking at how to handle errors in Ansible Playbooks. There are multiple ways for doing the same and we will be looking at them and how to use it in our Playbook. By default, Ansible will check the return codes of commands and modules and it fails fast. This means that we will be forced to deal Continue Reading

Trim Your Playbooks.

Reading Time: 4 minutes When you mention re usability to a developer his/her ears will perk up. If you understand re usability, you will know beforehand, that this developer isn’t going to talk about copy & paste. So, Is it possible to have that reuse ability in playbooks? Can we write a short playbook?

Understanding Ansible Playbook

Reading Time: 5 minutes   Ansible is an open-source software that automates software provisioning, configuration management and application deployment, similar to Chef, Puppet or Salt. Ansible lets us control and configure nodes from a single machine. It is different from other management software in a way where Ansible uses SSH infrastructure and uses push mode and the configuration is pushed from a master machine to nodes. Ansible achieves all Continue Reading

Ansible: Do more with ease.

Reading Time: 5 minutes In software engineering, software configuration management (SCM or S/W CM) is the task of tracking and controlling changes in the software, part of the larger cross-disciplinary field of configuration management. SCM practices include revision control and the establishment of baselines. If something goes wrong, SCM can determine what was changed and who changed it. If a configuration is working well, SCM can determine how to Continue Reading