system-config/playbooks/zuul/run-lists-post.yaml
Jeremy Stanley ca2455c57b Collect mailman logs in deployment testing
Get the logs from the test mailman deployments for inspection in
build results.

Change-Id: I68ea634d6048691bf14a573e66983038bc485f3c
2021-12-09 18:46:43 +00:00

12 lines
333 B
YAML

- hosts: lists.openstack.org
tasks:
- name: Collect per-site mailman log directories
shell:
cmd: |
mkdir -p /var/log/mailman
for logs in /srv/mailman/*/logs ; do
cp -a $logs /var/log/mailman/$(basename $(dirname $logs))
done
become: yes
ignore_errors: true