Posts

Showing posts from April, 2021

TASK - 15

Image
TASK - 15 "🔅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." TASK 15.1  Step 1: Create an ansible role myapache to configure Httpd WebServer. Step 2: Create an ansible role myapache # ansible-galaxy role init myapache To see the role, use the command   # ansible-galaxy role list Step 3:Setup the tasks,vars and template file in myapache role TASK 15.2 Step 1:  Create another ansible role myloadbalancer to configure HAProxy LB. Step 2: Create an ansible role myloadbalancer # ansible-galaxy role init myloadbalancer To see the role, use the command # ansible-galaxy role list Step 3:Setup the tasks,vars and template file in myloadbalancer role TASK 15.3 Step 1:  We need t...