🔅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. Roles provide a framework for fully independent, or interdependent collections of variables, tasks, files, templates, and modules. In Ansible, the role is the primary mechanism for breaking a playbook into multiple files. This simplifies writing complex playbooks, and it makes them easier to reuse. …