xoxys.jellyfin/handlers/main.yml

20 lines
357 B
YAML
Raw Normal View History

2019-02-01 20:30:07 +00:00
---
2019-02-01 22:41:06 +00:00
- name: Restart service
systemd:
name: jellyfin
state: restarted
daemon_reload: yes
enabled: yes
listen: __jellyfin_restart
become: True
become_user: root
- name: Reload nginx
systemd:
state: reloaded
name: nginx
listen: __nginx_reload
delegate_to: "{{ jellyfin_nginx_server }}"
become: True
become_user: root