-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yml
37 lines (33 loc) · 799 Bytes
/
site.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#SETTING UP DEV_MYRIAD
---
- hosts: all
remote_user: ec2-user
sudo: yes
roles:
- common
vars:
password: $6$rounds=656000$fetzqhl8dHmp.510$kSk/rSrh43A3I/FLXMeOXxCyqjEkLyVM1vdGom7Ofc7GDBWEjZbTbKhsE/2wG/6fLF5BFupU30Ckg.6m1SYHZ1
- hosts: all
#This should be {{ DEPLOY_USER }} error due to SSH
remote_user: '{{ DEPLOY_USER }}'
sudo: yes
roles:
- hadoop
# - mesos
- hosts: dev_myriad_master
remote_user: '{{ DEPLOY_USER }}'
sudo: yes
roles:
- myriad
- hosts: dev_myriad_master
remote_user: '{{ DEPLOY_USER }}'
sudo: yes
tasks:
- include: tasks/build.yml
- include: tasks/restart-master.yml
# transfer binary to slaves
#- hosts: dev_myriad_slave
# remote_user: '{{ DEPLOY_USER }}'
# sudo: yes
# tasks:
# - include: tasks/start-slave.yml