Ansible

Ansible Some common usecases - Part2

Posted on

In this blog, we will explore some more common usecases which will help you in the automation. If you want to see the video for this article, click here Checkout my article on some more Ansible usecases Agenda: How to check the connectivity of nodes from the master node ? How to create a system group […]

Ansible

Ansible some common usecases

Posted on

In this blog, we will explore some common usecases which will help you in the automation. If you want to see the video for this article, click here Agenda: Find applications which are installed on a system Configure bashprofile — add a new line to set java home Run playbook if variable is defined Run playbook if […]

Ansible

How to use Ansible Jinja template

Posted on

In this blog, we will see how we can use the Ansible Jinja template and how it helps in the automation. If you want to see the video for this article, click here Problem Statement: In many applications, you always have some property file which stores all the variables like database details,memory setting, JAVA VM […]

Ansible

Ansible vault password in CI/CD pipeline

Posted on

In this blog, we will explore how we can use the ansible vault to encrypt the password in CI/CD pipeline If you want to see the video for this article, click here Problem Statement: We need to use the database password to get connected to the database from the ansible playbook. How we can encrypt […]

Ansible

Manage inventory file for ansible playbook

Posted on

In this blog we will explore how can we manage inventory file for the ansible playbook. If you want to see the video for this article, click here Problem Statement: There is a clustered application ( 2 application nodes and 1 database node), now how will you run your different playbooks for different nodes. For […]

Ansible

Manage Ansible Playbook for multiple environments

Posted on

In this blog , we will see how we can manage Ansible Playbook for multiple environments. Problem Statement: How we can write the role in ansible which has to refer different values for each environment (dev,pvs,production) ? Example — database details Solution: To resolve this issue,we will be using different files for each environment and […]