Role Detail

indigo-dc.marathon-lb

Configure and start marathon-lb container
Downloads
448
Type Ansible
Minimum Ansible Version 2.0
Installation $ ansible-galaxy install indigo-dc.marathon-lb
Tags
mesos
Last Commit
Last Imported
Version History
Version Release Date
2.0.1
2.0.0
2.0.0-beta1
OS Platforms
Platform Version
EL 7
Ubuntu trusty
Ubuntu xenial
Last 10 Imports
Completed Status
SUCCESS
SUCCESS
SUCCESS

marathon-lb Role

Configure and run marathon-lb in a docker container using the image mesosphere/marathon-lb

This role has been specifically developed to be used for the deployment of Mesos/Marathon in the framework of INDIGO-DataCloud project.

Role Variables

  • marathon_lb_marathon_url: Marathon endpoint (default: "http://marathon.service.consul:8080")
  • marathon_lb_ports: haproxy bind port (default: 9090)
  • marathon_lb_auth_creds: user/pass for the Marathon HTTP API in the format of 'user:pass'
  • marathon_lb_group: Only generate config for apps which list the specified names (default: external)

Dependencies

  • indigo-dc.docker

Example Playbook

This is an example of how to use marathon-lb role:

- hosts: servers
  roles:
     - { role: indigo-dc.marathon-lb, marathon_lb_auth_creds: "admin:s3cret" }

License

Apache Licence v2 [1]

[1] http://www.apache.org/licenses/LICENSE-2.0

Author information

Marica Antonacci marica.antonacci@ba.infn.it, marica.antonacci@gmail.com

None