-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.yml
34 lines (27 loc) · 1.83 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
# Defaults variables for role debuginfod
# This role is used to provide what's needed to host a debuginfod service that client can use to get debuginfo pkg on demand
# It will be hosted on centos infra and co-managed with external volunteer[s]
# Httpd settings
debuginfod_httpd_tls: True
debuginfod_httpd_hostname: debuginfod.centos.org
debuginfod_httpd_dir: /var/www/debuginfod
# Content for the generated index.html file
debuginfod_httpd_index_content: |
<div class="alert alert-success" role="alert">
Welcome to the CentOS Debuginfod Service ! <br>
</div>
This server provides ELF or DWARF debugging information, covering all packages and architectures of recent versions of CentOS Stream . It works by periodically indexing all relevant RPMs from build systems, and extracting any needed file on the fly. Debugger-type tools automatically request files one by one. After being downloaded, each file is stored in a cache under your home directory, where the tools can immediately use it. <br><br>
More informations can be found on the <a href="https://fedoraproject.org/wiki/Debuginfod">dedicated Fedora wiki page</a> for how to use debuginfod, but basically using the following setting should work for CentOS systems <br><br>
<div class="alert alert-secondary" role="alert">
export DEBUGINFOD_URLS=https://{{ debuginfod_httpd_hostname }}/<br>
</div>
# Debuginfod/elfutils daemon settings
# Where to find all debuginfo/debugsource pkgs
debuginfod_storage_path: /srv/debuginfod_store
debuginfod_storage_rescan_interval: 3600
debuginfod_tcp_port: 8002
debuginfod_proxy_options: "connectiontimeout=600 timeout=600 keepalive=on nocanon"
## Content pulling
# rsync url for stream debuginfo pkgs
debuginfod_rsync_origin: mirror.stream.centos.org::debug/
debuginfod_rsync_filter: --filter '+ *debug*.rpm' --filter '- *.rpm' --filter '- *repodata*'