-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.yml
47 lines (37 loc) · 1.8 KB
/
main.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
# default variables for mirror-debuginfo role
# Full rsync path::module to use to rsync centos mirror content from
debuginfo_rsync_from: node1.centos.org
debuginfo_rsync_from_module: centos-full-debuginfo
debuginfo_rsync_from_fallback: node0.centos.org
# default path where to sync content to
debuginfo_local_path: /home/centos-debuginfo/
# Default user owning all the files
debuginfo_local_user: centos
# Do we also want to become member of the debuginfo network
# So opening up rsyncd to oustide world to let them sync from us
debuginfo_rsyncd: True
# We'll parse inventory to allow some IPs based on hostgroup-role-mirror-debuginfo vars
# But we can also add other ones (outside of ansible for example)
debuginfo_rsyncd_allow_from:
- 192.168.1.1
- 172.16.31.230
# using mod_ratelimit on httpd to limit bw usage?
debuginfo_httpd_mod_ratelimit: False
debuginfo_httpd_rate_limit: 1536
debuginfo_httpd_header: |
<div class="alert alert-danger" role="alert">
Due to lack of available bandwidth, we currently don't offer rsync to download/synchronize content from centos.org for debuginfo pkgs.<br>
Also worth knowing that this mirror is running on limited available bandwidth too.
</div>
<p>The Following external mirrors (not monitored by the CentOS Infra team !) provide direct downloads for debuginfo packages, through http and/or rsync:</p>
<ul>
<li><a href="http://mirror.facebook.net/centos-debuginfo/">http://mirror.facebook.net/centos-debuginfo/</a>
<li>rsync://mirror.facebook.net/centos-debuginfo/
<li><a href="http://linuxsoft.cern.ch/centos-debuginfo/">http://linuxsoft.cern.ch/centos-debuginfo/</a>
<li>rsync://linuxsoft.cern.ch/centos-debuginfo/
</ul>
# Zabbix/monitoring part
debuginfo_zabbix_templates:
- Template CentOS Debuginfo server
debuginfo_zabbix_groups:
- CentOS Debuginfo Servers