Add LADSPA support for Ansible installations.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-01-21 14:37:21 -06:00
parent fe8bedae40
commit 521feb4296
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
3 changed files with 158 additions and 143 deletions

View File

@ -15,7 +15,7 @@ done
if [[ "$1" == '--' ]]; then shift; fi
APP_ENV="${APP_ENV:-production}"
UPDATE_REVISION="${UPDATE_REVISION:-58}"
UPDATE_REVISION="${UPDATE_REVISION:-59}"
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' ansible | grep "install ok installed")
echo "Checking for Ansible: $PKG_OK"

View File

@ -71,6 +71,21 @@
- pkg-config
- unzip
- bubblewrap
- ladspa-sdk
- multimedia-audio-plugins
- swh-plugins
- tap-plugins
- name : Add Optional LADSPA Plugins (Focal)
apt :
name : "{{ packages }}"
state : latest
install_recommends : no
vars :
packages :
- lsp-plugins-ladspa
when :
- ansible_distribution_release == 'focal'
- name : Initialize OPAM (Bionic)
become_user : azuracast
@ -92,7 +107,7 @@
- name : Build and Install Liquidsoap and Dependencies
become_user : azuracast
shell: "opam install -y samplerate.0.1.4 taglib.0.3.3 mad.0.4.5 faad.0.4.0 fdkaac.0.3.1 lame.0.3.3 vorbis.0.7.1 cry.0.6.1 flac.0.1.5 opus.0.1.3 duppy.0.8.0 ssl liquidsoap.1.4.2"
shell : "opam install -y ladspa.0.1.5 samplerate.0.1.4 taglib.0.3.3 mad.0.4.5 faad.0.4.0 fdkaac.0.3.1 lame.0.3.3 vorbis.0.7.1 cry.0.6.1 flac.0.1.5 opus.0.1.3 duppy.0.8.0 ssl liquidsoap.1.4.2"
args :
chdir : "{{ app_base }}"
register : install_result

View File

@ -13,7 +13,7 @@
roles :
- init
- azuracast-config
- { role: azuracast-radio, when: update_revision|int < 53 }
- { role : azuracast-radio, when : update_revision|int < 59 }
- { role : supervisord, when : update_revision|int < 13 }
- { role : mariadb, when : update_revision|int < 15 }
- { role : nginx, when : update_revision|int < 55 }