From fcc7437dd8ae92b22b341bdb59b3d4762448a8a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Trellu?= Date: Mon, 20 Nov 2023 18:12:36 -0500 Subject: [PATCH] [ansible] Fix condition --- ansible/roles/ovos_installer/tasks/sound.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/ovos_installer/tasks/sound.yml b/ansible/roles/ovos_installer/tasks/sound.yml index da395b4f..cf11faab 100644 --- a/ansible/roles/ovos_installer/tasks/sound.yml +++ b/ansible/roles/ovos_installer/tasks/sound.yml @@ -5,8 +5,8 @@ - pipewire - pipewire-alsa - alsa-utils - when: (not ansible_distribution == 'Ubuntu' and not ansible_distribution_version is version('23.04', '>=')) or - (not ansible_distribution == 'Debian' and not ansible_distribution_version is version('12.0', '>=')) + when: not (ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('23.04', '<=')) or + not (ansible_distribution == 'Debian' and ansible_distribution_version is version('12.0', '<=')) - name: Install PulseAudio on older Debian and Ubuntu versions ansible.builtin.package: