xoxys.jellyfin/handlers/main.yml
Robert Kaussow 01d421ede8
All checks were successful
continuous-integration/drone/push Build is passing
add base handlers
2019-02-01 23:41:06 +01:00

20 lines
357 B
YAML

---
- 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