allways deploy config files
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4881b0cb30
commit
821b2fb9d5
@ -24,15 +24,6 @@
|
|||||||
- --strip-components=1
|
- --strip-components=1
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
|
||||||
- name: Deploy global config files
|
|
||||||
template:
|
|
||||||
src: "opt/jellyfin/config/{{ item }}.j2"
|
|
||||||
dest: "{{ jellyfin_conf_dir }}/{{ item }}"
|
|
||||||
mode: 0600
|
|
||||||
loop:
|
|
||||||
- "logging.json"
|
|
||||||
notify: __jellyfin_restart
|
|
||||||
|
|
||||||
- name: Link v'{{ jellyfin_version }}' to latest
|
- name: Link v'{{ jellyfin_version }}' to latest
|
||||||
file:
|
file:
|
||||||
src: "{{ jellyfin_base_dir }}/{{ jellyfin_version }}/jellyfin"
|
src: "{{ jellyfin_base_dir }}/{{ jellyfin_version }}/jellyfin"
|
||||||
@ -43,6 +34,17 @@
|
|||||||
become_user: "{{ jellyfin_user }}"
|
become_user: "{{ jellyfin_user }}"
|
||||||
when: jellyfin_version is version(jellyfin_current_version, ">") or jellyfin_current_version is version('0.0.0', "=")
|
when: jellyfin_version is version(jellyfin_current_version, ">") or jellyfin_current_version is version('0.0.0', "=")
|
||||||
|
|
||||||
|
- name: Deploy global config files
|
||||||
|
template:
|
||||||
|
src: "opt/jellyfin/config/{{ item }}.j2"
|
||||||
|
dest: "{{ jellyfin_conf_dir }}/{{ item }}"
|
||||||
|
mode: 0600
|
||||||
|
loop:
|
||||||
|
- "logging.json"
|
||||||
|
notify: __jellyfin_restart
|
||||||
|
become: True
|
||||||
|
become_user: "{{ jellyfin_user }}"
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Write current version to custom fact
|
- name: Write current version to custom fact
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user