Skip to content

CallePuzzle/ansible-role-docker-haproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: HaProxy containerized

Deploy a HaProxy in Docker.

Requirements

None.

Role Variables

  • 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.

Dependencies

  • geerlingguy.pip
  • geerlingguy.docker

Example Playbook

---
- hosts: all

  vars:
    haproxy_links:
      - httpd
    haproxy_ports:
      - 80:80

  roles:
    - { role: ansible-role-docker-haproxy, tags: ['haproxy'] }

License

GNU v3

About

Ansible role - HaProxy containerized

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages