-
Notifications
You must be signed in to change notification settings - Fork 5
/
show_time.yml
executable file
·79 lines (70 loc) · 1.21 KB
/
show_time.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
- name: main dir
gather_facts: false
any_errors_fatal: true
hosts: servers
tasks:
- name: mkdir
file: name={{ deploy_dir }} state=directory mode=755
- name: deploying db
become: yes
become_method: sudo
gather_facts: false
any_errors_fatal: true
hosts: db_servers
tags:
- db
roles:
- mysql
- name: deploying nginx
become: yes
become_method: sudo
gather_facts: false
any_errors_fatal: true
hosts: nginx_servers
tags:
- nginx
roles:
- nginx
- name: deploying jdk
gather_facts: false
any_errors_fatal: true
hosts: servers
tags:
- jdk
roles:
- jdk
- name: deploying zookeeper
gather_facts: false
any_errors_fatal: true
hosts: servers
tags:
- zookeeper
roles:
- zookeeper
- name: deploying ds backend
gather_facts: false
any_errors_fatal: true
hosts: servers
tags:
- backend
roles:
- backend
- name: initialization ds backend db
gather_facts: false
any_errors_fatal: true
hosts: db_servers
tags:
- backend_db
roles:
- backend_db
- name: deploying ds front
become: yes
become_method: sudo
gather_facts: false
any_errors_fatal: true
hosts: nginx_servers
tags:
- front
roles:
- front