Skip to content

Commit

Permalink
fix: fail message for 2.5 php/distrib compatibility (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
juju4 committed Nov 10, 2024
1 parent fdffff1 commit 0ed2285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ed2285

Please sign in to comment.