ansible/roles/copr/backend/handlers/main.yml
2023-11-03 13:22:39 +01:00

18 lines
536 B
YAML

- name: chmod_key
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
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
- name: restart resalloc
action: service name=resalloc state=restarted