a6ab3543fc
This uncomments the list additions for the lists.airshipit.org and lists.katacontainers.io sites on the new mailman server, removing the configuration for them from the lists.opendev.org server and, in the case of the latter, removing all our configuration management for the server as it was the only site hosted there. Change-Id: Ic1c735469583e922313797f709182f960e691efc
27 lines
873 B
YAML
27 lines
873 B
YAML
- hosts: "lists.openstack.org"
|
|
tasks:
|
|
|
|
# Make sure Mailman services for each site are running so that they
|
|
# will attempt to deliver any pending list admin notifications and
|
|
# we can capture that activity in the Exim logs.
|
|
- name: Restart Mailman services
|
|
service:
|
|
name: "mailman-{{ zuul_mailman_site.name }}"
|
|
state: restarted
|
|
loop: "{{ mailman_sites }}"
|
|
loop_control:
|
|
loop_var: zuul_mailman_site
|
|
|
|
- hosts: "localhost"
|
|
tasks:
|
|
|
|
# Pause briefly so that mail deliveries are attempted, otherwise the
|
|
# job may finish too quickly and we won't have a complete picture in
|
|
# the MTA logs by the time we start collecting them.
|
|
#
|
|
# TODO(fungi): We could improve this to wait for specific log entries
|
|
# instead, I suppose.
|
|
- name: Wait for delivery attempts
|
|
wait_for:
|
|
timeout: 10
|