Update LS to 2.0.3 on Ansible installs.
This commit is contained in:
parent
f848567538
commit
ee391f6bf4
|
@ -34,7 +34,7 @@ else
|
|||
fi
|
||||
|
||||
APP_ENV="${APP_ENV:-production}"
|
||||
UPDATE_REVISION="${UPDATE_REVISION:-73}"
|
||||
UPDATE_REVISION="${UPDATE_REVISION:-74}"
|
||||
|
||||
echo "Updating AzuraCast (Environment: $APP_ENV, Update revision: $UPDATE_REVISION)"
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
- name: Install Liquidsoap
|
||||
apt:
|
||||
deb: "https://github.com/savonet/liquidsoap/releases/download/v2.0.2/liquidsoap_2.0.2-ubuntu-focal-1_{{ dpkg_arch.stdout_lines[0] | default('amd64') }}.deb"
|
||||
deb: "https://github.com/savonet/liquidsoap/releases/download/v2.0.3/liquidsoap_2.0.3-ubuntu-focal-1_{{ dpkg_arch.stdout_lines[0] | default('amd64') }}.deb"
|
||||
|
||||
- name: Link Liquidsoap binary
|
||||
file:
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
become_user: azuracast
|
||||
shell: >-
|
||||
opam init -a --disable-sandboxing --bare
|
||||
&& opam switch create 4.12.0
|
||||
&& opam switch create 4.13.1
|
||||
args:
|
||||
chdir: "{{ app_base }}"
|
||||
executable: "bash" # Fixes some possible hang issues.
|
||||
|
@ -64,10 +64,11 @@
|
|||
- name: Build and Install Liquidsoap and Dependencies
|
||||
become_user: azuracast
|
||||
shell: >-
|
||||
opam install -y ladspa.0.2.0 ffmpeg.1.1.1 ffmpeg-avutil.1.1.1 ffmpeg-avcodec.1.1.1 ffmpeg-avdevice.1.1.1
|
||||
ffmpeg-av.1.1.1 ffmpeg-avfilter.1.1.1 ffmpeg-swresample.1.1.1 ffmpeg-swscale.1.1.1 frei0r.0.1.2 samplerate.0.1.6
|
||||
taglib.0.3.7 mad.0.5.0 faad.0.5.0 fdkaac.0.3.2 lame.0.3.5 vorbis.0.8.0 cry.0.6.5 flac.0.3.0 opus.0.2.0 dtools.0.4.4
|
||||
duppy.0.9.2 ocurl.0.9.1 ssl liquidsoap.2.0.2
|
||||
opam install -y ladspa.0.2.2 ffmpeg.1.1.1 ffmpeg-avutil.1.1.1 ffmpeg-avcodec.1.1.1 ffmpeg-avdevice.1.1.1
|
||||
ffmpeg-av.1.1.1 ffmpeg-avfilter.1.1.1 ffmpeg-swresample.1.1.1 ffmpeg-swscale.1.1.1 frei0r.0.1.2
|
||||
samplerate.0.1.6 taglib.0.3.9 mad.0.5.2 faad.0.5.0 fdkaac.0.3.2 lame.0.3.5 vorbis.0.8.0 cry.0.6.6
|
||||
flac.0.3.0 opus.0.2.1 dtools.0.4.4 duppy.0.9.2 ocurl.0.9.2 ssl.0.5.10
|
||||
liquidsoap.2.0.3
|
||||
args:
|
||||
chdir: "{{ app_base }}"
|
||||
register: install_result
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
- role: "azuracast-config"
|
||||
|
||||
- role: "azuracast-radio"
|
||||
when: update_revision|int < 73
|
||||
when: update_revision|int < 74
|
||||
|
||||
- role: "supervisord"
|
||||
when: update_revision|int < 13
|
||||
|
|
Loading…
Reference in New Issue