This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy_staging.yml
executable file
·133 lines (125 loc) · 3.08 KB
/
deploy_staging.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
---
# ansible-playbook -i staging deploy_staging.yml -f 1
#
# WARNING! YOU MUST HAVE A COMPLETE secrets/
# YOU MUST HAVE files/jdk-8u60-linux-x64.tar.gz
#
# - name: Set up mount point
# hosts: everyone
# become: true
# become_user: dbuchan
# become_method: sudo
# roles:
# - automount
# - update nss and curl # yum update -y nss curl libcurl
# vars_files:
# - secrets/staging_secrets.yaml
#
# - name: Apply the redis configuration
# hosts: redis
# become: true
# become_user: dbuchan
# become_method: sudo
# roles:
# - redis
# vars_files:
# - secrets/staging_secrets.yaml
#
# - name: Apply the postgres configuration
# hosts: dbserver
# become: true
# become_user: dbuchan
# become_method: sudo
# roles:
# - dbserver
# vars_files:
# - secrets/staging_secrets.yaml
# - name: Apply Analytics Automated head node configuration
# hosts: aa_head
# become: true
# become_user: dbuchan
# become_method: sudo
# roles:
# - djangomachine
# - aahead
# vars_files:
# - secrets/staging_secrets.yaml
# - name: Apply Analytics Automated worker node configuration
# hosts: aa_workers
# become: true
# become_user: dbuchan
# become_method: sudo
# roles:
# # - djangomachine
# - aaworker
# vars_files:
# - secrets/staging_secrets.yaml
# - name: Create blastmachine
# hosts: blastmachine
# become: true
# become_user: root
# become_method: sudo
# roles:
# - blastworkers
# # - djangomachine
# - blastmachine
# vars_files:
# - secrets/staging_secrets.yaml
# - name: Create blast_cache machine
# hosts: blast_cache
# become: true
# become_user: root
# become_method: sudo
# roles:
# # - djangomachine
# - blastcache
# vars_files:
# - secrets/staging_secrets.yaml
# mempack won't compile in OSX
# domThreader seg faults in OSX
- name: Create Celery worker node
hosts: celery_worker_node
become: true
become_user: root
become_method: sudo
roles:
# - djangomachine
# - aaworker
# - psipred
# - disopred
# - memsatsvm
# - pGenTHREADER # installed to /webdata due to space on bioinfstage4
# - model_parts # get the bits for the frontend simple modelling
# - dompred # installed to /webdata due to space on bioinfstage4
# - mempack
# - bioserf
# - ffpred
# - metsite
# - hspred
# - memembed
# - maketdb
# - dmpfold
# - dmp
- merizo
- dmpfold2
vars_files:
- secrets/staging_secrets.yaml
# - name: configure blast update machine
# hosts: blastupdate
# become: true
# become_user: root
# become_method: sudo
# roles:
# - blastupdates
# vars_files:
# - secrets/staging_secrets.yaml
# - name: Install frontend
# hosts: webserver
# become: true
# become_user: dbuchan
# become_method: sudo
# roles:
# # - djangomachine
# - psipredreact
# vars_files:
# - secrets/staging_secrets.yaml