ansible-infra/roles/mumble/handlers/main.yml

21 lines
517 B
YAML

- name: reload systemd
systemd:
daemon_reload: yes
register: systemd_reloaded
- name: restart umurmur
service:
name: umurmur
state: restarted
when:
- not (umurmur_started.changed | default(false)) or (systemd_reloaded.changed | default(false))
- name: restart mumble-web
service:
name: mumble-web
state: restarted
when:
- not (mumble_web_started.changed | default(false)) or (systemd_reloaded.changed | default(false))
- name: reload nginx
include_tasks: ../handlers/nginx.yml