From 8458ec891d5b40538bbd2a7b1bf3d0d8faa0b139 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 11 Aug 2024 02:21:37 +0200 Subject: add safeguard to ws/pipewire role - this role should not be used für newer version of ubuntu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/ws/pipewire/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/ws/pipewire/tasks/main.yml b/roles/ws/pipewire/tasks/main.yml index 3f99b60c..9d310dca 100644 --- a/roles/ws/pipewire/tasks/main.yml +++ b/roles/ws/pipewire/tasks/main.yml @@ -1,4 +1,10 @@ --- +- name: check if ubuntu version is old enough + assert: + msg: "Starting with Ubuntu Kinetic pipewire is already the default - please don't use this role for newer version of Ubuntu!" + that: + - (ansible_distribution_release | ubuntu_release_compare('<', 'kinetic')) + - name: install pipewire and deps apt: name: -- cgit v1.2.3