Cloud-PG.marathon
Marathon Role
This role helps you set up and run Marathon (which is part of the Mesos Framework) using a Docker container with the image indigodatacloud/marathon:latest
.
It is designed for deploying Mesos as part of the INDIGO-DataCloud project.
Role Variables
zookeeper_client_port
(default: 2181): the port for the Zookeeper clientzookeeper_peers
(optional): a list of Zookeeper servers. You can also use a specific inventory file for this.marathon_version
(default: latest): the version of Marathon you want to usemarathon_image
(default: indigodatacloud/marathon:{{marathon_version}}): the Docker image for Marathonmarathon_framework_name
(default: marathon): the name for registering the framework on Mesos
Options for SSL:
marathon_password
: the password for basic authenticationmarathon_username
(default: admin): the username for basic authenticationgenerate_random_pass
(default: true): if true, a random password will be generated for creating the self-signed certificatemarathon_key_password
: provide this ifgenerate_random_pass
is falsemarathon_pkcs_password
: provide this ifgenerate_random_pass
is falsemarathon_jks_password
: provide this ifgenerate_random_pass
is false
Dependencies
indigo-dc.docker
: This role relies on the Docker role from INDIGO-DataCloud.
Example Playbook
- hosts: servers
roles:
- { role: indigo-dc.marathon, zookeeper_peers: ["10.10.10.1", "10.10.10.2", "10.10.10.3"] }
License
This project is licensed under Apache License v2 [1].