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 auth
  • marathon_username(default: admin): username for basic auth
  • generate_random_pass (default: true): if set to true, the password used for creating the self-signed certificate are generated in a random way
  • marathon_key_password (to be provided if generate_random_pass=false)
  • marathon_pkcs_password (to be provided if generate_random_pass=false)
  • marathon_jks_password (to be provided if generate_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]

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

About

Deploy Marathon

Install
ansible-galaxy install indigo-dc/ansible-role-marathon
GitHub repository
License
apache-2.0
Downloads
1573
Owner