What is MongoDB? Why MongoDB?

What is MongoDB?

MongoDB Features:


What is Jenkins, Why to Use It, How It Works and Where To use it ?

What is Jenkins ?

Some of the possible steps that can be performed using Jenkins are:



Note: No need to use when keyword here.

For doing this practical we require three operating systems, RHEL, Ubuntu and one for Controller Node. We need to have ansible installed and configured in our controller node.

Here, I am using the RedHat-8 OS, For doing this practical we need to know about ansible-facts.

Ansible Facts

Ansible facts are data related to your remote systems, including operating systems, IP addresses, attached filesystems, and more. You can access this data in the ansible_facts variable. By default, you can also access some Ansible facts as top-level variables with the ansible_ prefix. You can disable this behavior using the INJECT_FACTS_AS_VARS setting.

Ansible uses variables to manage differences between systems. With Ansible, you can execute tasks and playbooks on multiple different systems with a single command. To represent the variations among those different systems, you can create variables with standard YAML syntax, including lists and dictionaries.

"ansible_distribution" and "ansible_distribution_major_version" facts use here to know about OS name and its version so that we can create a dynamic playbook for deploying the webpage without using any condition.

We are created 3 YAML files such as main.yml (the main code of configuration), RedHat-8.yml (variables for rhel-8) and the Ubuntu-20.yml (variables for ubuntu) and one index.html.j2 file.


In this blog, We will launch a docker container using Ansible-Playbook, Retrieving the IP address of that container and updated it in the ansible inventory file dynamically. And then after we launch the docker container using this IP

Ansible Playbook to configure Docker


Hello Guys, This blog will help you to create a network topology setup in such a way so that 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…

This problem can easily be solved using the concept of Routing Tables. Let us have three systems in the same network:

Before Adding Routing Table

Add route in Routing table such that A can connect to B and C but B and C can only connect to A.

Adding Route in System A


Hello Geeks, This blog will help you to configure webserver and load-balancer on top of AWS

Ansible

Ansible is an open-source automation tool, or platform, used for tasks such as configuration management, application deployment, orchestration and provisioning.It uses no agents and no additional custom security infrastructure, so it’s easy to deploy — and most importantly, it uses a very simple language (YAML, in the form of Ansible Playbooks) that allow you to describe your automation jobs in a way that approaches plain English.

Haproxy

HAProxy is free, open source software that provides a high availability load balancer and proxy server for TCP and HTTP-based applications that spreads requests across multiple servers.

Apache webserver

Apache HTTP Server is a free and…


Hello Geeks😎😎, This blog will help you to configure the webserver with a managed load balancer

What we gonna do?

Role for Configuring HTTPD Websever

ansible-galaxy role init httpd

Hello Geeks, This blog will help you to manage the below configuration :-

What is an Ansible?


Background -

Tamim Dalwai

Computer Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store