add base handlers
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-02-01 23:41:06 +01:00
parent 2a5cbf3c7f
commit 01d421ede8

View File

@ -1 +1,19 @@
--- ---
- 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