-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathplaybook.yml
More file actions
21 lines (20 loc) · 786 Bytes
/
Copy pathplaybook.yml
File metadata and controls
21 lines (20 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- hosts: [mesos_masters]
sudo: True
tasks:
- name: Install vim
apt: pkg={{ item }} state=present
with_items:
- git
- vim
roles:
- { role: ansible-docker, tags:['os-tools'] }
- { role: ansible-java8, tags:['runtimes', 'java']}
- { role: info.haproxy }
- { role: ansible-mesos, mesos_cluster_name: "mlh_mesos", mesos_options: "--log_dir=$LOGS", tags: ['mesos', 'platforms'] }
- { role: ansible-marathon, tags:['mesos-tools'] }
- hosts: [mesos_slaves]
sudo: True
roles:
- { role: ansible-docker, tags:['os-tools'] }
- { role: ansible-java8, tags:['runtimes', 'java']}
- { role: ansible-mesos, mesos_install_mode: "slave", mesos_version: "0.19.0", mesos_options: "--log_dir=$LOGS", tags: ['mesos', 'platforms'] }