fix fact folder and file mode
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
d2274fcbfa
commit
a7906de305
@ -41,12 +41,14 @@
|
||||
# notify: __jellyfin_restart
|
||||
become: True
|
||||
become_user: "{{ jellyfin_user }}"
|
||||
when: jellyfin_version is version(jellyfin_current_version, ">") or jellyfin_current_version is version('0.0.0', "=")
|
||||
|
||||
- block:
|
||||
- name: Write current version to custom fact
|
||||
template:
|
||||
src: etc/ansible/facts.d/jellyfin.fact.j2
|
||||
dest: /etc/ansible/facts.d/jellyfin.fact
|
||||
mode: 0644
|
||||
when: jellyfin_version is version(jellyfin_current_version, ">") or jellyfin_current_version is version('0.0.0', "=")
|
||||
|
||||
- name: Copy systemd unit file
|
||||
|
@ -4,6 +4,7 @@
|
||||
file:
|
||||
path: /etc/ansible/facts.d
|
||||
state: directory
|
||||
mode: 0750
|
||||
|
||||
- name: Set current jellyfin version
|
||||
set_fact:
|
||||
|
Loading…
Reference in New Issue
Block a user