eec60a2cb9
Add a handler for restarting Mailman 3 containers if they're up, and notify it from all of the copy tasks for configuration files. Check for the uwsgi processes that Django runs under to determine whether the containers are running. Change-Id: I73be59be773fdde100999c7872520aab1d9e2066
13 lines
261 B
YAML
13 lines
261 B
YAML
- name: mailman restart apache2
|
|
service:
|
|
name: apache2
|
|
state: restarted
|
|
|
|
- name: mailman reload apache2
|
|
service:
|
|
name: apache2
|
|
state: reloaded
|
|
|
|
- name: mailman restart containers
|
|
include_tasks: roles/mailman3/handlers/restart_mailman.yaml
|