-
Notifications
You must be signed in to change notification settings - Fork 2
/
site.yml
64 lines (57 loc) · 1.58 KB
/
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
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
- name: deploy base services
hosts: local, cloud
gather_facts: no
become: yes
become_user: "root"
roles:
- { role: bootstrap, tags: ['bootstrap']}
- { role: networking, tags: ['networking']}
- { role: podman, tags: ['podman']}
- name: deploy databases
hosts: local, cloud
gather_facts: no
become: yes
become_user: "root"
roles:
- { role: postgresql, tags: ['postgresql', 'databases']}
- name: deploy fast-only databases
hosts: fast
gather_facts: no
become: yes
become_user: "root"
roles:
- { role: mysql, tags: ['mysql', 'databases']}
- { role: mssql, tags: ['mssql', 'databases']}
- name: deploy heavy-only databases
hosts: heavy
gather_facts: no
become: yes
become_user: "root"
roles:
- { role: oracle, tags: ['oracle', 'databases']}
- name: deploy jenkins, front-facing services
hosts: local
gather_facts: no
become: yes
become_user: "root"
roles:
# BUG: these two roles are mutually dependent on each other, paths
# + usernames. need to fix that. right now, have to run both individually,
# let them error out, rerun
- { role: scripts, tags: ['scripts']}
- { role: jenkins, tags: ['jenkins']}
- name: deploy special jenkins linode files
hosts: public_facing
gather_facts: no
become: yes
become_user: root
roles:
- { role: public_scripts, tags: ['scripts', 'public_scripts']}
- name: deploy jenkins cloud, front-facing services
hosts: cloud
gather_facts: no
become: yes
become_user: "root"
roles:
- { role: jenkins_cloud, tags: ['jenkins']}
- { role: scripts, tags: ['scripts']}