Merge "openafs: copy dkms log directory"

This commit is contained in:
Zuul 2022-11-21 21:12:41 +00:00 committed by Gerrit Code Review
commit be9db368af
2 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,13 @@
- hosts: all
tasks:
- name: Get dkms make logs
shell: |
DKMS_MAKE_LOGS=/var/lib/dkms-make-logs
mkdir ${DKMS_MAKE_LOGS}
find /var/lib/dkms/ -type d -wholename "*/log" -exec cp -r --parents \{\} ${DKMS_MAKE_LOGS} \;
chown zuul:zuul ${DKMS_MAKE_LOGS}
become: yes
- include_role:
name: stage-output

View File

@ -22,6 +22,8 @@
'/var/log/syslog': logs_txt
'/var/log/messages': logs_txt
'/var/log/openafs': logs
# for build logs on centos
'/var/lib/dkms-make-logs': logs
- job:
name: system-config-zuul-role-integration-xenial