Initial 22.04 support for Ansible.
This commit is contained in:
parent
3bd91a566c
commit
d70f8f786f
|
@ -39,7 +39,6 @@
|
|||
- libshine-dev
|
||||
- libsoundtouch-dev
|
||||
- libspeex-dev
|
||||
- libsrt-dev
|
||||
- libswresample-dev
|
||||
- libswscale-dev
|
||||
- libtag1-dev
|
||||
|
@ -50,6 +49,18 @@
|
|||
- bubblewrap
|
||||
- ffmpeg
|
||||
|
||||
- name: Install Focal Liquidsoap Dependencies (20.04)
|
||||
apt:
|
||||
name:
|
||||
- libsrt-dev
|
||||
when: ansible_distribution_release == 'focal'
|
||||
|
||||
- name: Install Jammy Liquidsoap Dependencies (22.04)
|
||||
apt:
|
||||
name:
|
||||
- libsrt-openssl-dev
|
||||
when: ansible_distribution_release == 'jammy'
|
||||
|
||||
- name: Install Optional Audio Plugins
|
||||
apt:
|
||||
name: "{{ packages }}"
|
||||
|
@ -80,7 +91,7 @@
|
|||
|
||||
- name: Install Liquidsoap
|
||||
apt:
|
||||
deb: "https://github.com/savonet/liquidsoap/releases/download/v2.1.0/liquidsoap_2.1.0-ubuntu-focal-2_{{ dpkg_arch.stdout_lines[0] | default('amd64') }}.deb"
|
||||
deb: "https://github.com/savonet/liquidsoap/releases/download/v2.1.2/liquidsoap_2.1.2-ubuntu-{{ ansible_distribution_release }}-1_{{ dpkg_arch.stdout_lines[0] | default('amd64') }}.deb"
|
||||
|
||||
- name: Link Liquidsoap binary
|
||||
file:
|
||||
|
|
|
@ -12,9 +12,10 @@
|
|||
|
||||
- name: Ubuntu Version Check
|
||||
fail:
|
||||
msg: "The AzuraCast Ansible installation can only be installed onto computers running Ubuntu 20.04 LTS."
|
||||
msg: "The AzuraCast Ansible installation can only be installed onto computers running Ubuntu 20.04 LTS (Focal) or 22.04 LTS (Jammy)."
|
||||
when:
|
||||
- ansible_distribution_release != 'focal'
|
||||
- ansible_distribution_release != 'jammy'
|
||||
|
||||
- name: Add multiverse repository
|
||||
apt_repository:
|
||||
|
@ -50,13 +51,8 @@
|
|||
- zip
|
||||
- unzip
|
||||
- zstd
|
||||
|
||||
- name: Install Focal Packages (20.04)
|
||||
apt:
|
||||
name:
|
||||
- software-properties-common
|
||||
- python3-pip
|
||||
when: ansible_distribution_release == 'focal'
|
||||
|
||||
- name: Update pip components
|
||||
pip:
|
||||
|
|
Loading…
Reference in New Issue