From 0ed2285f621851b28dd65d8a413fc4da73867e31 Mon Sep 17 00:00:00 2001 From: juju4 Date: Sun, 10 Nov 2024 23:06:15 +0000 Subject: [PATCH] fix: fail message for 2.5 php/distrib compatibility (2) --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 2f62e65..bcd51b4 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,8 +18,8 @@ msg: "MISP 2.5 requires PHP 8 which starts with Ubuntu 24.04 and Debian 12" when: - misp_version == '2.5' - - not (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version >= 24) - - not (ansible_distribution == 'Debian' and ansible_distribution_major_version >= 12) + - not (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version | int >= 24) + - not (ansible_distribution == 'Debian' and ansible_distribution_major_version | int >= 12) - name: Import debian ansible.builtin.import_tasks: debian.yml