You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
333 B

- 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