-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathall.yml
223 lines (206 loc) · 8.36 KB
/
all.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
---
# Upload dirs
upload_dir_test: "{{ jwd.jwd04.path }}/tus_upload/test"
upload_dir_main: "{{ jwd.jwd04.path }}/tus_upload/main"
# Galaxy user and group
galaxy_user:
name: galaxy
create_home: true
home: /opt/galaxy
uid: 999
shell: /bin/bash
galaxy_group:
name: galaxy
gid: 999
cloud_network_prefix: 10.5.67
# Certbot defaults
certbot_auto_renew_hour: "{{ 23 |random(seed=inventory_hostname) }}"
certbot_auto_renew_minute: "{{ 59 |random(seed=inventory_hostname) }}"
certbot_install_method: virtualenv
certbot_auto_renew: true
certbot_auto_renew_user: root
certbot_environment: production
certbot_domains:
- "{{ hostname }}"
certbot_agree_tos: --agree-tos
certbot_admin_email: [email protected]
certbot_auth_method: --standalone
usegalaxy_eu_autofs_mounts:
- vdb
# galaxyproject.nginx
nginx_selinux_allow_local_connections: true
#nginx_servers:
# - redirect-ssl
# Allow root login on all machines - TBD
ssh_allow_root_with_key: true
redis_connection_string: "redis://:{{ redis_requirepass }}@mq.galaxyproject.eu:6379/0"
# Chrony
chrony_server: 'time.ruf.uni-freiburg.de iburst'
chrony_acquisitionport: 0
chrony_conf_file: '/etc/chrony.conf'
chrony_keyfile: '/etc/chrony.keys'
# Telegraf var
dc: ufr-rz
# OS Hardening
os_auditd_max_log_file_action: rotate
os_auditd_space_left: 500
os_auditd_space_left_action: suspend
# Tailscale
tailscale_args: "--accept-dns=false"
# Telegraf
telegraf_agent_package_state: latest
telegraf_agent_output:
- type: influxdb
config:
- urls = ["{{ influxdb.url }}"]
- database = "{{ influxdb.node.database }}"
- username = "{{ influxdb.node.username }}"
- password = "{{ influxdb.node.password }}"
- timeout = "10s"
telegraf_plugins_default:
- plugin: cpu
config:
- percpu = true
- plugin: disk
- plugin: kernel
- plugin: processes
- plugin: diskio
- plugin: mem
- plugin: system
- plugin: swap
- plugin: nstat
- plugin: netstat
- plugin: chrony
# Automated yum updates
yum_cron:
base:
debuglevel: -2
mdpolicy: 'group:main'
commands:
apply_updates: true
download_updates: true
random_sleep: 360
update_cmd: default
update_messages: true
email:
email_from: root@localhost
email_host: localhost
email_to: root
emitters:
emit_via: stdio
output_width: 160
system_name: None
groups:
group_list: None
package_types:
- mandatory
- default
yum_cron_hourly:
base:
debuglevel: -2
mdpolicy: 'group:main'
commands:
apply_updates: true
download_updates: true
random_sleep: 15
update_cmd: security
update_messages: false
email:
email_from: root@localhost
email_host: localhost
email_to: root
emitters:
emit_via: stdio
output_width: 160
system_name: None
groups:
group_list: None
package_types:
- mandatory
- default
# Automated dnf updates
# usegalaxy-eu.autoupdates role
au_hostname: "{{ hostname }}"
au_apply_updates: true
au_random_sleep: 360
# Do NOT disable ipv6
sysctl_config:
net.ipv6.conf.all.disable_ipv6: 0
# SSH
# ALL hosts should have signed SSH keys.
# ssh-host-(re)sign role
ssh_host_key_cert_files:
- /etc/ssh/ssh_host_rsa_key-cert.pub
- /etc/ssh/ssh_host_ecdsa_key-cert.pub
- /etc/ssh/ssh_host_ed25519_key-cert.pub
# dev-sec.ssh-hardening role
# Allow root login on all machines
ssh_permit_root_login: "without-password"
sshd_custom_options:
- "HostCertificate {{ ssh_host_key_cert_files[0] }}"
- "HostCertificate {{ ssh_host_key_cert_files[1] }}"
- "HostCertificate {{ ssh_host_key_cert_files[2] }}"
# Anything else prevents more login
ssh_use_pam: true
# Required if you want to run ansible more than once.
sftp_enabled: true
ssh_client_alive_interval: 600
# Apollo env vars
apollo_env: "GALAXY_WEBAPOLLO_URL={{ GALAXY_WEBAPOLLO_URL }} GALAXY_WEBAPOLLO_USER={{ GALAXY_WEBAPOLLO_USER }} GALAXY_WEBAPOLLO_PASSWORD={{ GALAXY_WEBAPOLLO_PASSWORD }} GALAXY_WEBAPOLLO_EXT_URL={{ GALAXY_WEBAPOLLO_EXT_URL }} GALAXY_SHARED_DIR={{ GALAXY_SHARED_DIR }} GALAXY_APOLLO_ORG_SUFFIX=id"
# 03/11/2022: Autofs configuration for mounting NFS volumes
# usegalaxy-eu.autofs role uses this variable
# gxtest, gxkey, and jwd will also mount under /data as before
autofs_conf_files:
data:
- 0 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/depot/&
- 1 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/depot/&
- 2 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/depot/&
- 3 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/depot/&
- 4 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/depot/&
- 5 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/depot/&
- 6 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/depot/&
- 7 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/depot/&
- dp01 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dataplant01
- dnb01 -rw,hard,nosuid ufr-dyn.isi1.public.ads.uni-freiburg.de:/ifs/isi1/ufr/bronze/nfs/denbi/&
- dnb02 -rw,hard,nosuid ufr-dyn.isi1.public.ads.uni-freiburg.de:/ifs/isi1/ufr/bronze/nfs/denbi/&
- dnb-ds01 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01-legacy
- dnb-ds02 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb02-legacy
- dnb-ds03 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb03-legacy
- dnb04 -rw,hard,nosuid ufr-dyn.isi1.public.ads.uni-freiburg.de:/ifs/isi1/ufr/bronze/nfs/denbi/&
- dnb05 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/&
- dnb06 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb06
- dnb07 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb07
- dnb08 -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb08
- db -rw,hard,nosuid ufr-dyn.isi1.public.ads.uni-freiburg.de:/ifs/isi1/ufr/bronze/nfs/denbi/&
gxtest:
- gxtst -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/ws01/galaxy-sync/test
gxkey:
- gxkey -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/ws01/galaxy-sync/main
- galaxy-sync -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/galaxy-sync
jwd:
- jwd -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/ws01/&
- jwd01 -rw,hard,nosuid noads1.svm.bwsfs.uni-freiburg.de:/galaxy-mwd01/
- jwd02f -rw,hard,nosuid zfs2f.galaxyproject.eu:/export/&
- jwd03f -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/ws02/&
- jwd04 -rw,hard,nosuid zfs3f.galaxyproject.eu:/export/&
- jwd05e -rw,hard,nosuid zfs3f.galaxyproject.eu:/export/&
discontinued:
- 0 -rw,hard,nosuid sn01.bi.uni-freiburg.de:/export/data3/galaxy/net/data/&
- 1 -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/data/&
- 2 -rw,hard,nosuid sn01.bi.uni-freiburg.de:/export/data4/galaxy/net/data/&
- 3 -rw,hard,nosuid sn01.bi.uni-freiburg.de:/export/data5/galaxy/net/data/&
- 4 -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/data/&
- 5 -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/data/&
- 6 -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/data/&
- 7 -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/data/&
- db -rw,hard,nosuid sn02.bi.uni-freiburg.de:/export/fdata1/galaxy/net/data/db
- gxmnt -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/system/galaxy
- gxnew -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/system/galaxy-i1
- gxtst -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/system/galaxy-i2
- gxkey -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/system/galaxy-i3
- tools -rw,hard,nosuid sn03.bi.uni-freiburg.de:/export/galaxy1/system/tools
usrlocal:
- /usr/local/tools -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/dnb01/tools
usrlocal_celerycluster:
- /tmp -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/ws01/jwd/tmp
- /opt/galaxy -rw,hard,nosuid,nconnect=2 denbi.svm.bwsfs.uni-freiburg.de:/ws01/galaxy-sync/main