abrt: Bring roles up to date with upstream

This commit is contained in:
Matěj Grabovský 2021-05-27 11:16:25 +02:00 committed by mgrabovs
parent 5177b92864
commit 89f150cd8c
8 changed files with 32 additions and 24 deletions

View file

@ -1,2 +1,2 @@
install_date: Fri Mar 27 19:49:42 2020
install_date: Thu May 27 08:27:11 2021
version: master

View file

@ -4,7 +4,6 @@
loop: "{{ eol_opsys | selectattr('opsys') | selectattr('release') | list }}"
become: yes
become_user: faf
register: remove_eoled_output
failed_when: false
changed_when: false

View file

@ -15,6 +15,9 @@ rs_allow_interactive: false
# Allow X-CoreFileDirectory header
rs_allow_external_dir: false
# Expose metrics for monitoring via Prometheus
rs_allow_metrics: true
# Allow to create tasks owned by task manager (security risk)
rs_allow_task_manager: false
@ -93,6 +96,9 @@ rs_keep_rawhide_latest: 3
# Repo used to install chroot for vmcores
rs_kernel_chroot_repo: http://dl.fedoraproject.org/pub/fedora/linux/releases/16/Everything/$ARCH/os/
# Path to the kernel (vmcore) debugger
rs_kernel_debugger_path: /usr/bin/crash
# Koji directory structure can be used to search for kernel debuginfo
rs_koji_root: /mnt/koji
@ -128,8 +134,9 @@ rs_use_faf_packages: false
# Spool directory for FAF packages
faf_spool_dir: /var/spool/faf
# Run the retrace in a Mock chroot (default), or a Podman container
# (mock|podman)
# Run the retrace in a Mock chroot (default), a Podman container,
# or on the native machine.
# (mock|podman|native)
rs_retrace_environment: podman
# Whether to enable e-mail notifications
@ -183,17 +190,10 @@ rs_force_reinstall: false
# Check server health after installation
rs_check_health: true
# Path to the executable hook scripts
# https://github.com/abrt/retrace-server/wiki/Hook-scripts
rs_hooks_executable_path: /usr/libexec/retrace-server/hooks/
# Global time limit for hook scripts (in seconds)
rs_hooks_global_timeout: 300
# Hostname
hostname: example.org
# Path to the executable hook scripts
# Path to the executable hook scripts
# see https://github.com/abrt/retrace-server/wiki/Hook-scripts
rs_executable_hooks_path: "/usr/libexec/retrace-server/hooks/"

View file

@ -1,2 +1,2 @@
install_date: Fri Mar 27 19:49:44 2020
install_date: Thu May 27 08:27:12 2021
version: master

View file

@ -1,19 +1,18 @@
---
galaxy_info:
author: sorki
description: Deploy retrace-server
description: Retrace Server deployment
license: BSD
min_ansible_version: 1.9
min_ansible_version: 2.8
platforms:
- name: EL
versions:
- 7
- 8
- name: Fedora
versions:
- 26
- 27
- 28
- 33
- 34
- 35
galaxy_tags:
- system
#dependencies:
# - { role: httpd }

View file

@ -3,16 +3,19 @@
template:
src: etc-retrace-server.conf.j2
dest: /etc/retrace-server/retrace-server.conf
mode: 0644
notify: restart httpd
- name: retrace-server http config
template:
src: retrace-server-httpd.conf.j2
dest: /etc/httpd/conf.d/retrace-server-httpd.conf
mode: 0644
notify: restart httpd
- name: configure retrace-server hooks config
template:
src: etc-retrace-server-hooks.conf.j2
dest: /etc/retrace-server/retrace-server-hooks.conf
mode: 0644
notify: restart httpd

View file

@ -1,5 +1,5 @@
---
- name: Install podman package
- name: Install Podman package
package:
name: podman
state: present
@ -59,7 +59,7 @@
when: '"retrace" not in retrace_subgid.stdout'
- name: Start httpd afterretrace user modification
- name: Start httpd after retrace user modification
service:
name: httpd
state: started

View file

@ -21,6 +21,9 @@ AllowInteractive = {{ rs_allow_interactive|int }}
# Allow X-CoreFileDirectory header
AllowExternalDir = {{ rs_allow_external_dir|int }}
# Expose metrics for monitoring via Prometheus
AllowMetrics = {{ rs_allow_metrics|int }}
# Allow to create tasks owned by task manager (security risk)
AllowTaskManager = {{ rs_allow_task_manager|int }}
@ -135,8 +138,9 @@ UseFafPackages = {{ rs_use_faf_packages|int }}
# Spool directory for FAF packages
FafLinkDir = {{ faf_spool_dir }}
# Run the retrace in a Mock chroot (default), or a Podman container
# (mock|podman)
# Run the retrace in a Mock chroot (default), a Podman container,
# or on the native machine.
# (mock|podman|native)
RetraceEnvironment = {{ rs_retrace_environment }}
# Whether to enable e-mail notifications
@ -172,6 +176,9 @@ BugzillaRegExes = {{ rs_bugzilla_regexes }}
# Timeout (in seconds) for communication with any process
ProcessCommunicateTimeout = {{ rs_process_communicate_timeout|int }}
# Path to the kernel (vmcore) debugger
KernelDebuggerPath = {{ rs_kernel_debugger_path }}
[archhosts]
{% for a in rs_archhosts %}
{{ a.arch }} = {{ a.url|default('', true) }}