ansible/roles/copr/backend/handlers/main.yml
Michal Konecny 2ec055db6f Use first uppercase letter for all handlers
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>
2025-02-10 20:31:49 +00:00

16 lines
498 B
YAML

---
- name: Chmod_key
ansible.builtin.file: path=/etc/lighttpd/copr-be.fedoraproject.org.pem owner=root group=root mode=0600
- name: Restart copr-backend
service: name="{{ copr_backend_target }}" state=restarted
when: not services_disabled
- name: Systemctl daemon-reload
ansible.builtin.command: /usr/bin/systemctl daemon-reload
- name: Restart lighttpd
action: service name=lighttpd state=restarted
- name: Restart node_exporter
action: service name=node_exporter state=restarted