summaryrefslogtreecommitdiff
path: root/roles/core/cpu-microcode/tasks/Debian.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-10 00:19:23 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-10 00:19:23 +0200
commit6abc58229f057a63e1799c834538d5fb139c6e22 (patch)
tree80c6639e569e2e83640d7fcce5b39d258aa6dd06 /roles/core/cpu-microcode/tasks/Debian.yml
parentmake debian/ubuntu os release compare script much more generic (diff)
migrate all os release comparisons to use new filter
Diffstat (limited to 'roles/core/cpu-microcode/tasks/Debian.yml')
-rw-r--r--roles/core/cpu-microcode/tasks/Debian.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/core/cpu-microcode/tasks/Debian.yml b/roles/core/cpu-microcode/tasks/Debian.yml
index 01fdd8b0..6c37098c 100644
--- a/roles/core/cpu-microcode/tasks/Debian.yml
+++ b/roles/core/cpu-microcode/tasks/Debian.yml
@@ -2,7 +2,7 @@
- name: check if non-free and contrib apt component is enabled for debian
when:
- 'ansible_distribution == "Debian"'
- - '(ansible_distribution_major_version | int) <= 11'
+ - '(ansible_distribution_release| debian_release_compare("<=", "bullseye"))'
- 'ansible_architecture in ["i386", "x86_64"]'
assert:
msg: "On Debian microcode-update packages are in non-free - please enable it (and contrib) using 'apt_repo_components'"