diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-05-10 00:19:23 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-05-10 00:19:23 +0200 |
commit | 6abc58229f057a63e1799c834538d5fb139c6e22 (patch) | |
tree | 80c6639e569e2e83640d7fcce5b39d258aa6dd06 /roles/docker/engine/tasks/main.yml | |
parent | make debian/ubuntu os release compare script much more generic (diff) |
migrate all os release comparisons to use new filter
Diffstat (limited to 'roles/docker/engine/tasks/main.yml')
-rw-r--r-- | roles/docker/engine/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/docker/engine/tasks/main.yml b/roles/docker/engine/tasks/main.yml index cf879631..f61f8181 100644 --- a/roles/docker/engine/tasks/main.yml +++ b/roles/docker/engine/tasks/main.yml @@ -58,7 +58,7 @@ ## TODO: for now this is only needed on Debian Bullseye and beyond - name: install apparmor when: - - ansible_distribution == 'Debian' and (ansible_distribution_major_version | int) >= 11 + - ansible_distribution == 'Debian' and (ansible_distribution_release | debian_release_compare('>=', 'bullseye')) apt: name: apparmor state: present |