Create an Ansible Playbook which will dynamically load the variable file named same as OS_name and just by using the variable names we can Configure our Target Node.
In This task we have to create a dynamic var files , with name of remote system which we will used in the playbook.
In this task I am going to used AWS instances 1. RedHat-8 , 2. Ubuntu-20 you can use your local system also. But the challenge is how ansible SSH them , for that we need to configure our host file and ansible.cfg …
♨️ Task — 14.2
Further in ARTH — Task 10 we have to create an Ansible playbook that will retrieve new Container IP and update the inventory. So that further Configuration of Webserver could be done inside that Container.
So Let’s get started……
In this task I have used my own pre-created docker image which is enabled with ssh. So that Ansible can use ssh protocol to login to new docker container and configure webserver inside it.
In my case…
14.1 Create a network Topology Setup in such a way so that System A can ping to two Systems System B and System C but both these systems should not be pinging each other without using any security rule e.g firewall etc .
Prerequisites : 3 Virtual Machines
↪️ Step 1) :- Deleting all the rules from routing tables of Systems A, B and C
System A ➡️
So here , I am back with my new blog ……..
Let’s us first look at the Task Descriptions :-
Before having the hand’s on practical let us first understand the basic concepts like,What is Ansible.? , How Ansible Works.? , What is HAproxy .?
So let’s get started……..!!!!!!!!!!!!
What is Ansible?
Hello everyone, I have come-up with the new blog on Neural Networks and it’s Use-Cases, we are going to discuss all the core concepts behind the Neural Networks.
So let’s get started………
What is Neural Networks.?
📍A branch of machine learning, neural networks (NN), also known as artificial neural networks (ANN), are computational models — essentially algorithms. Neural networks have a unique ability to extract meaning from imprecise or complex data to find patterns and detect trends that are too convoluted for the human brain or for other computer techniques. …
What is Idempotent nature in Ansible?
An operation is idempotent if the result of performing it once is exactly the same as the result of performing it repeatedly without any intervening actions. Ansible follows idempotent nature but some modules don’t support idempotent behaviour like httpd module.
When a playbook is executed to configure a system, the system should always have the same, well defined state. If a playbook consists of 10 steps, and the system deviates in step 4 from the desired state, then only this particular step should be applied.
By its nature, Ansible tasks will only…
So,hello everyone welcome back to my new blog as you have already gone through the title of this blog. So let me tell you all what we are going to perform.
➡️ Configure Docker.
➡️ Start and enable Docker Services.
➡️ Pull the httpd server image from the docker hub.
➡️ Run the docker container and expose it to public.
➡️ Copy the html code in /var/www/html directory and start the webserver.
So Let’s started…….!!!!!!😌
In the Ansible Playbook .
📍Configure docker and start services, we write all the Ansible Playbook commands in YAML format .
Please refer to the…
You might be new in the field of Kubernetes or can be a Pro, whatever it be, let’s start from the basic questions before coming to the use-cases. What is Kubernetes? Why Kubernetes? What is Kubernetes used for? or say a simple introduction of Kubernetes is required to set a base for further explanations.
So let’s get started…..
➡️ What is Kubernetes.?🙄
Kubernetes, at its basic level, is a system for running and coordinating containerized applications across a cluster of machines. …