Ansible

close up photo of programming of codes

How to use various configuration management tools

Reading Time: 3 minutes Configuration management deals with managing the changes across the life cycle of the product. With the advancement in IT operations and growing requirements in the industry, it has become very important to pay attention to the configurations of the applications relating to the systems involved. To ensure that all parts of the system run smoothly, configuration plays a very important role and thus the need Continue Reading

How To Create GKE Cluster Using Ansible

Reading Time: 2 minutes Introduction Ansible is an automation tool for IT. It controls configuration management, ad-hoc task execution, network automation, multi-node orchestration, application deployment, and cloud provisioning. Google Kubernetes Engine gives an environment for deploying, managing, and scaling our containerized application. In this blog, we will demonstrate How To Create GKE Cluster Using Ansible. Prerequisites GCP project with enabled billing GCP Service account with attached roles for GKE Continue Reading

gray laptop computer showing html codes in shallow focus photography

When to go for ansible and when for terraform

Reading Time: 2 minutes Before we go with use-case of both terraform and ansible , lets first focus on basic . Ansible :- Ansible is the open source software configuration management tool that provide simple but poweful automation for cross-platform computer support . This allows you to configure not just one computer, but potentially a whole network of computer at once , using it require no programming skills . Continue Reading

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

Create Network Infrastructure on AWS using Ansible Modules

Reading Time: 5 minutes Hi Readers, In previous blog we understood how to Setup AWS resource using Ansible modules. Now In this blog we will see how we can create Networking resources in aws using Ansible Modules. Before directly jumping into the practical part, let’s understand what network is and what are some basic components of a proper Networking Infrastructure. Some Basic components of Network Virtual Private Cloud A Continue Reading

Setup AWS resources using Ansible Modules

Reading Time: 4 minutes Hi Readers, In this blog we will learn that how we can create AWS resources using Ansible Modules. But before moving to core of the blog we will see few concepts related to Ansible, it’s installation and connecting our ansible with aws and few more things. What is Ansible and Why do we need this? Keeping it very brief, Ansible is an IT automation tools. Continue Reading

Difference Between Ansible And Ansible Galaxy – Ansible vs Ansible Galaxy

Reading Time: 3 minutes In this article, we will learn that what is the difference between Ansible and Ansible Galaxy (Ansible vs Ansible Galaxy). Ansible is an open-source configuration management tool. It helps in automating software provisioning, configuration management, and application deployment. As you learn more about Ansible, you will surely encounter Ansible Galaxy. However, people often fail to truly understand what this Ansible Galaxy is. Let us see Continue Reading

grayscale photo of computer laptop near white notebook and ceramic mug on table

Deploying Custom Files with Ansible JINJA2 Templates

Reading Time: 5 minutes Introduction The most powerful way to manage files in ansible is to template them. with this method, you can write a template configuration file that is automatically customized for the managed host when the file is deployed, using ansible variable and facts. This can be easier to control and less error-prone. Ansible uses the jinja2 templates for template files. Jinja2 is a modern and designer-friendly Continue Reading

text

Ansible for Devops as Infrastructure as Code

Reading Time: 3 minutes Firstly, Ansible is simple open-source IT engine that automates application deployment, infra service orchestration, cloud provisioning and many other IT devices. Secondly, Ansible uses playbook to define automation jobs, and playbook use very simple language i.e. Hence the profit is that even the IT infrastructure maintenance people can know and understand the playbook and debug if needed (YAML – It is in human-readable form). In conclusion, After Continue Reading

abstract business code coder

Chef Devops Infrastructure as Code for Deployment

Reading Time: 3 minutes Firstly, Chef is open-source technology Adam Jacob, co-founder of Opscode recognised as the originator of Chef. This technology uses Ruby encoding to develop basic construction blocks like recipes and cookbooks. Chef is use for infrastructure automation and helps minimising manual and repeated tasks for infrastructure management. Chef got its own law for different building blocks, which required to manage and automate infrastructure. Why Chef? In Continue Reading

How to install python in target host using Ansible

Reading Time: 3 minutes Ansible is an open-source automation engine that automates software provisioning, configuration management, and application deployment. It is quickly becoming the popular configuration management tool today. It lets you to control and config the target nodes from single host machine. As we know the only requirement in target machine is the modern version of python installed. But what if the python version is not installed on 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