mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-16 19:50:22 +08:00
Restart httpd after anitya frontend upgrade
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
@@ -35,13 +35,12 @@
|
||||
roles:
|
||||
- anitya/frontend
|
||||
- anitya/fedmsg
|
||||
notify:
|
||||
- restart apache
|
||||
post_tasks:
|
||||
- name: tell nagios to unshush w.r.t. the frontend
|
||||
nagios: action=unsilence service=host host={{ inventory_hostname_short }}{{ env_suffix }}
|
||||
delegate_to: noc01.phx2.fedoraproject.org
|
||||
ignore_errors: true
|
||||
- service: name="httpd" state=restarted
|
||||
|
||||
- name: verify the backend and then upgrade the db
|
||||
hosts: anitya-backend
|
||||
|
||||
Reference in New Issue
Block a user