An Ansible role to install and configure a HAProxy server on your host.
An Ansible role create (and add) a HAProxy configuration file on your server.
An Ansible playbook deploy a bastion host, by install and configure the necessary tools.