Haproxy LoadBalancer On AWS Cloud with Ansible

First we need to install ansible in AWs Cloud .

pip install ansible
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Note :If you have ansible config file=None then ,create the directory /etc/ansible/ansible.cfg , so Ansible automatic fetch this path for config. path .
This is Inventory file

Now Run the Playbook

✨Now successfully run Website with LoadBalancer….✨

--

--

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