Task Description —

Create an ansible role myapache to configure Httpd WebServer.

Create another ansible role myloadbalancer to configure HAProxy LB.

We need to combine both of these roles controlling webserver versions and solving challenge for host ip’s addition dynamically over each Managed Node in HAProxy.cfg file.

Setting up the…

12.1 Use Ansible playbook to Configure Reverse Proxy i.e. Haproxy and update it’s configuration file automatically on each time new Managed node (Configured With Apache Webserver) join the inventory.

A Menu Using Python integrating all the concepts that have been taught by Vimal sir till now —

The initial part of the code (Authentication)

For the initial part of the code, The authentication password is set as 123 and if the user enters the correct password, then only he/she will be able to use the further…

Restarting HTTPD Service is not idempotence in nature and also consume more resources suggest a way to rectify this challenge in Ansible playbook.

Description of the playbook-

  1. Creating directory /dvd1/
  2. mounting iso that contains all the software to dvd1 for configuring yum.
  3. configuring yum repository (AppStream).
  4. configuring yum repository (BaseOS)
  5. installing package httpd.
  6. creating…

Task Description(A)- Configure httpd in docker container

The requirement for this task is to have docker installed in the system.

  1. Pull the image of the os that we need for the container. command — docker pull <image_name>:version #I will use centos:latest


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