After reading this article, you will also able to enable SSH in docker container and after enabling SSH service; you can use the docker container as a managed node of the ansible. Lets start the discussion step by step:
On 28th December, 2020 , I participated in an amazing session organized by the LinuxWorld Informatics Pvt Ltd based on how industry use cases is solved by ansible.
I am really blessed that I am a part of the ARTH- The school of technology and the LW-India. Thank you very much for your efforts to making us (the learners) expose to such a great personalities :
Mr. Sreejith Anujan (Principal Instructor Red Hat)
Mr. Arun Eapen (Director — APAC Service Delivery, GLS RedHat Asia Pacific
This Session was more than just learning. …
Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications.
It groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds upon 15 years of experience of running production workloads at Google, combined with best-of-breed ideas and practices from the community.
In this article, we are going to create such a network topology in which there are three systems : ‘A’ , ‘B’ and ‘C’. A can ping with B as well as C & B can also ping to A but not to C & C can also ping to A but not to B.
All of the three systems are connected with a switch. Here I am using RHEL8 for practice. So, let’s see how to create such a network!!
In our system A , I have changed my private IP by using command:
ifconfig enp0s3 192.168.20.1/24
enp0s3 is the network card name and IP is setted to 192.168.20.1 with netmask 255.255.255.0 …
Networking is the exchange of information and ideas among people with a common profession or special interest, usually in an informal social setting. Networking often begins with a single point of common ground. And computer network is a group of computers that use a set of common communication protocols over digital interconnections for the purpose of sharing resources located on or provided by the network nodes.
There are more than four billion devices connected to the Internet.
Let’s start discussion with some commonly used terminology:
Each IP address is split into 4 numbers, and each of those numbers can range from 0 to…
In this Blog, we are going to discuss about one of the best feature of Ansible named Handlers. Above 90% module of the ansible follow the rule of idempotency. Idempotency is a functionality of Ansible by which it first check the presence of the task which it is going to do.
Lets suppose we want to install httpd software in target node by using Ansible. So during installation , it first check in target node whether the httpd software is present or not. If it exist already, the playbook show this in green color and if it does not exist, then it will perform it’s action. But there is some other modules and keywords like ‘restarted’ which doesn’t follow the idempotence rule. These modules will perform their action every time. …
Automation is an essential and strategic component of modernization and digital transformation. Modern, dynamic environments need a new type of management solution that can improve speed, scale and stability across the enterprise IT environment.
No matter the complexity of your environment or where you are on your IT modernization journey, an IT operations automation strategy can help you improve existing processes. With automation, you can save time, increase quality, improve employee satisfaction, and reduce costs throughout your organization.
Here are some of the companies which are benifited by ansible
After reading this Article, you also will be able to create a Hadoop cluster by using Ansible. Now lets see how to integrate these amazing technologies.
Ansible is an open-source automation tool, or platform, used for configuration management, application deployment, intra service setup, and provisioning. Automation is the need of today, with IT environments that are too complex and often need to scale too quickly for system administrators and developers to keep up if they had to do everything manually. Automation simplifies complex tasks. In other words, it frees up time and increases efficiency. …
In this article, I am going to show how to deploy apache webserver in docker container by using ansible.
Here I am using an AWS ec2 instance as a target node coz it is a fresh new operating system and there is nothing preconfigured. Now start the task:
# pip3 install boto
# pip3 install boto3
-----------------------
Download ec2.py and ec2.ini file by wget <below_url>from the given URL:https://raw.githubusercontent.com/ansible/ansible/stable-2.9/contrib/inventory/ec2.pyhttps://raw.githubusercontent.com/ansible/ansible/stable-2.9/contrib/inventory/ec2.ini-------------------------------
Create a folder(e.g. /etc/ansible/hosts) and move these files to this folder. Make these files executable:# chmod +x ec2.py
# chmod +x ec2.ini
-----------------------------------
Now export the credentials in your…
In this article, we are doing to discuss about ansible, haproxy server or load balancer, and by one click it launch the aws instances and then configure these instances as webserver by using dynamic inventory concept by using ansible.
Ansible is an open-source automation tool, or platform, used for configuration management, application deployment, intra service setup, and provisioning. Automation is the need of today, with IT environments that are too complex and often need to scale too quickly for system administrators and developers to keep up if they had to do everything manually. Automation simplifies complex tasks. In other words, it frees up time and increases efficiency. …
About