Explicitly restart containers to prevent hard-to-debug issues

This commit is contained in:
Lukáš Kucharczyk 2021-04-26 22:36:53 +02:00
parent e3d4aa61a8
commit 4907cdfd99
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
2 changed files with 4 additions and 1 deletions

View File

@ -27,8 +27,10 @@
devices: devices:
- /dev/dri:/dev/dri - /dev/dri:/dev/dri
state: started state: started
- name: copy jellyfin config to nginx restart: yes
- name: copy jellyfin nginx config
template: template:
src: jellyfin.conf.j2 src: jellyfin.conf.j2
dest: "{{ nginx_confd_folder }}/jellyfin.conf" dest: "{{ nginx_confd_folder }}/jellyfin.conf"
mode: '0755'
notify: reload nginx notify: reload nginx

View File

@ -23,3 +23,4 @@
NGINX_HOST: "{{ base_domain }}" NGINX_HOST: "{{ base_domain }}"
NGINX_PORT: '80' NGINX_PORT: '80'
state: started state: started
restart: yes