Home

Awesome

ansible-mesos-cluster

Ansible playbook to build multi-node Apache Mesos clusters.

Cluster Configuration

Before you run the playbook you will need to modify the variables in in group_vars/all.

---
# Select the Mesos package version install:
mesos_pkg_version: 0.20.0-1.0.ubuntu1404

# Choose whether to install Marathon using a Mesosphere package or from GitHub source
marathon_install_type: "package" # valid options are "package" or "source"
marathon_pkg_version: 0.6.1-1.1 # if install type is "package" which version to use

mesos_local_address: "{{ansible_eth0.ipv4.address}}"
mesos_cluster_name: "Cluster01"
zookeeper_client_port: "2181"
zookeeper_url: "zk://{{ groups.zookeepers | join(':' + zookeeper_client_port + ',') }}:{{ zookeeper_client_port }}/mesos"