forked from mhamrah/ansible-mesos-playbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmesos_workers.yml
21 lines (19 loc) · 1.12 KB
/
mesos_workers.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
- hosts: [mesos_workers]
sudo: True
pre_tasks:
- name: Remove require tty
lineinfile: regexp="tty" dest=/etc/sudoers/os_defaults state=absent
tags: ['system']
roles:
- { role: 'ansible-docker', tags: ['docker'] }
- { role: 'ansible-java8', tags: ['java'], when: ansible_os_family == 'Debian' }
- { role: 'ansible-mesos', mesos_containerizers: "docker,mesos", zookeeper_hostnames: "{{ groups.mesos_primaries | join(':' + zookeeper_client_port + ',') }}:{{ zookeeper_client_port }}", mesos_install_mode: "slave", tags: ['mesos'] }
- { role: 'ansible-consul', consul_version: "0.5.2", consul_client_address: "0.0.0.0", consul_is_server: false, consul_datacenter: "sea", consul_servers: "{{ groups.mesos_primaries }}", consul_join_at_start: true, tags: ['consul'] }
# - { role: 'ansible-nodejs',
# nodejs_version: "0.10.25",
# nodejs_global_packages: [ 'express' ],
# nodejs_path: '/usr/',
# tags: ['runtimes', 'nodejs']}
# - { role: 'ansible-chronos', chronos_version: "2.4.0", tags: ['mesos-tools'] }
#- { role: 'ansible-mesos-dns', tags: ['mesos_dns']}