ARTH — Task 15 👨🏻‍💻

What is Roles ??

1. Create Inventory file with any name :

2. Update the Inventory File :-

3. Creating Roles :

Example:

5. Check the role path is successfully updated or not :

6. Check the connectivity with the node :

7. Code for configure HAProxy :

loadbalancer yml code :

8. Code for configure Webserver:

webserver yml code :

9. Make HAProxy configuration file dynamic :

10. Combine both of these roles :

11. Now run the above yml file :

12. Check Configuration file of HAProxy in managed node updated dynamically or not :

13. Check Connectivity in the browser :

Task Completed !!

--

--

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