From 4fe30286be5d67b7d276f47cf1bdb99cca078056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Trellu?= Date: Mon, 20 Nov 2023 18:08:32 -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 9717bc60..da395b4f 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 ansible_distribution_version is version('23.04', '>=')) or - (not ansible_distribution == 'Debian' and ansible_distribution_version is version('12.0', '>=')) + 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', '>=')) - name: Install PulseAudio on older Debian and Ubuntu versions ansible.builtin.package: