Deploy a HaProxy in Docker.
None.
haproxy_links
: List of links with others services, parameter links in docker_container_module.haproxy_ports
: List of ports to publish from the container to the host, parameter published_ports in docker_container_module.haproxy_cfg_template_path
: Path where is the haproxy cfg file.
- geerlingguy.pip
- geerlingguy.docker
---
- hosts: all
vars:
haproxy_links:
- httpd
haproxy_ports:
- 80:80
roles:
- { role: ansible-role-docker-haproxy, tags: ['haproxy'] }