Mesos
Install the Mesos package from the Mesosphere package repository and configure each node to use the Mesos DNS nodes as name server. Finally, disables services automatically installed by the Mesos package and not used by the node based on its assigned roles.
Configuration
Defaults are set in defaults/main.yml.
- mesos_version:- The Mesos version to use. It generally follows the version used by the DCOS community edition. - *is automatically added after the version when installing, which permits to leave out version suffixes added by Mesosphere. Use- apt-policy mesosto see available versions. To install the latest use- latest, to install most recent 0.11 release use- 0.11.- Default: - mesos_version: "0.28.2"
- mesos_credentials:- Credentials used for framework authentication - Defined globally here and exported in various forms via - set_fact.- Default: - mesos_credentials: principal: mesos secret: mesos
- mesos_http_credentials:- Credentials for HTTP authentication in Marathon and Chronos. Must have the form: - <user>:<password>. By default the values defined in- mesos_credentialsare used.- Default: - mesos_http_credentials: "{{ mesos_credentials.principal }}:{{ mesos_credentials.secret }}"
- mesos_dns_config_file:- OS dependent - resolv.confconfiguration files in which to configure Mesos DNS nodes as name servers.- Default: - mesos_dns_config_file: Debian: /etc/resolvconf/resolv.conf.d/head RedHat: /etc/resolv.conf
- mesosphere_releases:- Mesosphere released RedHat specific packages by OS version. - Default: - mesosphere_releases: '6': 'mesosphere-el-repo-6-2.noarch.rpm' '7': 'mesosphere-el-repo-7-1.noarch.rpm'
- mesosphere_repo:- The Repository from which to download RedHat packages. - Default: - mesosphere_repo: "http://repos.mesosphere.com/el/{{ ansible_distribution_major_version }}/noarch/RPMS/{{ mesosphere_releases[ansible_distribution_major_version] }}"
- marathon_port:- Marathon port number - Default: - marathon_port: "8080"