https://github.com/grycap/ansible-role-mesos
Install a Mesos Cluster with Marathon and Chronos (for EC3)
https://github.com/grycap/ansible-role-mesos
Last synced: 8 months ago
JSON representation
Install a Mesos Cluster with Marathon and Chronos (for EC3)
- Host: GitHub
- URL: https://github.com/grycap/ansible-role-mesos
- Owner: grycap
- License: apache-2.0
- Created: 2016-11-15T16:24:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-01T06:33:20.000Z (about 5 years ago)
- Last Synced: 2024-12-30T04:59:22.988Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 14.4 MB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://github.com/grycap/ansible-role-mesos/actions/workflows/main.yaml)
Mesos Role
==========
Installs a Mesos cluster (recipe for EC3). Mesos current stable version: 1.1.0
Role Variables
--------------
The variables that can be passed to this role and a brief description about them are as follows.
# Type of node to install: master/front or slave/wn
mesos_type_of_node: "master"
mesos_log_dir: "/var/log/mesos"
# Common
mesos_executor_registration_timeout: 10mins
mesos_cluster_name: "MesosCluster"
mesos_quorum: "1"
mesos_front_private_ip: "{{ansible_default_ipv4.address}}"
mesos_docker_opts: ""
mesos_version: "latest"
# Defaults file for mesos-salve
mesos_slave_port: 5051
mesos_containerizers: "docker,mesos"
mesos_slave_work_dir: "/var/lib/mesos"
mesos_slave_image: "indigodatacloud/mesos-slave:{{ mesos_version }}"
# Defaults file for mesos-master
mesos_zookeeper_group: zookeeper_servers
mesos_master_port: 5050
mesos_master_work_dir: "/var/lib/mesos"
mesos_master_image: "indigodatacloud/mesos-master:{{ mesos_version }}"
# Zookeeper
zookeeper_client_port: "2181"
zookeeper_server_group: zookeeper_servers
zookeeper_peers_nodes: "{{mesos_front_private_ip}}:{{zookeeper_client_port}}"
Example Playbook
----------------
```
- hosts: server
roles:
- { role: 'grycap.mesos', mesos_type_of_node: "master"}
```
```
- hosts: client
roles:
- { role: 'grycap.mesos', mesos_type_of_node: "slave"}
```
Contributing to the role
========================
In order to keep the code clean, pushing changes to the master branch has been disabled. If you want to contribute, you have to create a branch, upload your changes and then create a pull request.
Thanks