indigo-dc.marathon
Marathon Role
This guide explains how to set up and start Marathon (part of the Mesos Framework) in a Docker container using the image indigodatacloud/marathon:latest
.
This role is designed for deploying Mesos as part of the INDIGO-DataCloud project.
Role Variables
zookeeper_client_port
(default: 2181)zookeeper_peers
(optional): List of Zookeeper server nodes. You can also use an inventory file that lists the hosts in the [zookeeper_servers] group.marathon_version
(default: latest)marathon_image
(default: indigodatacloud/marathon:{{marathon_version}})marathon_framework_name
(default: marathon): The name used to register the framework on Mesos.
SSL Specific Options:
marathon_password
: Password for basic authentication.marathon_username
(default: admin): Username for basic authentication.generate_random_pass
(default: true): If true, the password for creating the self-signed certificate will be randomly generated.marathon_key_password
(must be provided ifgenerate_random_pass
=false)marathon_pkcs_password
(must be provided ifgenerate_random_pass
=false)marathon_jks_password
(must be provided ifgenerate_random_pass
=false)
Dependencies
indigo-dc.docker
Example Playbook
- hosts: servers
roles:
- { role: indigo-dc.marathon, zookeeper_peers: ["10.10.10.1", "10.10.10.2", "10.10.10.3"] }
License
Apache License v2 [1]