mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 06:20:26 +08:00
This will unify all the handlers to use first uppercase letter for ansible-lint to stop complaining. I went through all `notify:` occurrences and fixed them by running ``` set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep -rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g" ``` Then I went through all the changes and removed the ones that wasn't expected to be changed. Fixes https://pagure.io/fedora-infrastructure/issue/12391 Signed-off-by: Michal Konecny <mkonecny@redhat.com>
11 lines
289 B
YAML
11 lines
289 B
YAML
---
|
|
- name: Restart nagios on noc
|
|
ansible.builtin.shell: nagios -v /etc/nagios/nagios.cfg && systemctl restart nagios
|
|
delegate_to: "{{ queue_nagios_server }}"
|
|
|
|
- name: Restart nrpe on rabbitmq
|
|
service:
|
|
name: nrpe
|
|
state: restarted
|
|
delegate_to: "{{ queue_rabbitmq_server }}"
|