How To Configure the haproxy using the Ansible on the AWS instance and also how to Configure…