TASK - 15
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
TASK 15.3
Step 1: 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.
Step 2: Make a yml file and combine both roles, i.e., myapache and myloadbalancer and run the yml file.

Comments
Post a Comment