Marathon Load Balancer

Install and configure HAProxy and marathon-lb as system services. Once installed it will automatically map external domains to internal Marathon services using application descriptor labels.

Configuration

Defaults are set in defaults/main.yml.

  • marathon_lb_version:

    Version to install.

    Default:

    marathon_lb_version: 1.1.3
    
  • marathon_lb_url:

    URL for downloading the version.

    Default:

    marathon_lb_url: "https://github.com/mesosphere/marathon-lb/archive/v{{marathon_lb_version}}.zip"
    
  • marathon_lb_zip:

    Location of the downloaded package.

    Default:

    marathon_lb_zip: "/opt/marathon-lb-{{marathon_lb_version}}.zip"
    
  • marathon_lb_dir:

    Directory where Marathon LB files are installed.

    Default:

    marathon_lb_dir: "/opt/marathon-lb-{{marathon_lb_version}}"
    
  • marathon_lb_pem:

    Path to the PEM.

    Default:

    marathon_lb_pem: ''