ca2455c57b
Get the logs from the test mailman deployments for inspection in build results. Change-Id: I68ea634d6048691bf14a573e66983038bc485f3c
12 lines
333 B
YAML
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
|