2024-11-25 18:24:56 +10:00
|
|
|
---
|
2025-01-14 20:18:57 +10:00
|
|
|
- name: Reload the frontend
|
2019-05-21 14:49:37 +00:00
|
|
|
hosts: pagure:pagure_stg
|
2017-06-05 13:01:27 +00:00
|
|
|
user: root
|
|
|
|
vars_files:
|
2024-11-25 18:24:56 +10:00
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
|
|
- "/srv/private/ansible/vars.yml"
|
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
2017-06-05 13:01:27 +00:00
|
|
|
handlers:
|
2017-10-17 17:37:03 +00:00
|
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
2017-06-05 13:01:27 +00:00
|
|
|
|
|
|
|
tasks:
|
2019-06-11 15:11:40 +00:00
|
|
|
- debug: msg="Karate Chop!"
|
2017-06-19 20:52:28 +00:00
|
|
|
|
2017-06-05 13:01:27 +00:00
|
|
|
- name: Reload apache...
|
|
|
|
service: name="httpd" state=reloaded
|
|
|
|
|
|
|
|
post_tasks:
|
2025-01-14 20:18:57 +10:00
|
|
|
- name: Tell nagios to unshush w.r.t. apache
|
2017-06-05 13:01:27 +00:00
|
|
|
nagios: action=unsilence service=host host={{ inventory_hostname_short }}{{ env_suffix }}
|
2020-06-14 14:14:31 -07:00
|
|
|
delegate_to: noc01.iad2.fedoraproject.org
|
2017-06-05 13:01:27 +00:00
|
|
|
ignore_errors: true
|