marathon
Marathon Role
Configure and start Marathon (Mesos Framework) in a docker container using the image indigodatacloud/marathon:latest
.
This role has been specifically developed to be used for the deployment of Mesos in the framework of INDIGO-DataCloud project.
Role Variables
zookeeper_client_port
(default: 2181)zookeeper_peers
(optional): list of zookeeper server nodes - alternatively, you can use a proper inventory file specifying the hosts group [zookeeper_servers]marathon_version
(default: latest)marathon_image
(default: indigodatacloud/marathon:{{marathon_version}})marathon_framework_name
(default: marathon): name that will be used to register the framework on Mesos
SSL specific options:
marathon_password
: password for basic authmarathon_username
(default: admin): username for basic authgenerate_random_pass
(default: true): if set to true, the password used for creating the self-signed certificate are generated in a random waymarathon_key_password
(to be provided ifgenerate_random_pass
=false)marathon_pkcs_password
(to be provided ifgenerate_random_pass
=false)marathon_jks_password
(to 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 Licence v2 [1]