Restart httpd after anitya frontend upgrade

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
Jeremy Cline 2017-02-16 14:16:54 +00:00
parent a48b2b4446
commit 3aed8bc40e

View file

@ -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