Ansible

How To Access Windows Machine Using Ansible

Reading Time: 7 minutes Ever Tried Connecting to a windows machine hosted anywhere, with the help of Ansible? Let’s Checkout, just follow the steps mentioned below:- Step 1:- First of all, you should have a windows instance running, if not then you can easily create it using AWS. You can check this blog if you need a reference for creating windows instances using AWS. Step 2:- Once You are 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

Power Of Ansible and its modules

Reading Time: 3 minutes In this post, I will be discussing Ansible Modules. Modules are discrete units of code that can be used from the command line or in a playbook task. Ansible has a large number of ready to use modules for system management. User can also add their own custom modules, as they are written in python so one must have good command in python to write Continue Reading

OpsInit: Configuring Crontab With Ansible

Reading Time: 3 minutes Introduction to crontab: The crontab is a list of commands that you want to run on a regular schedule. Crontab stands for “cron table”, because it uses the job scheduler cron to execute tasks; cron itself is named after “chronos, ” the Greek word for time.cron is the system process which will automatically perform tasks for you according to a set schedule. The schedule is Continue Reading

Setting Up Cassandra Cluster Through Ansible

Reading Time: 3 minutes In this post, we will use Ansible to and set-up an Apache Cassandra database cluster. We will use AWS EC2 instances as the nodes for the cluster. Creating a cluster manually is a tedious task. We have to manually configure each node and each node must be correctly configured before starting the cluster.With Ansible, we can automate the task and let Ansible handle the configuration Continue Reading