summaryrefslogtreecommitdiff
path: root/roles/docker/engine/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/docker/engine/tasks/main.yml')
-rw-r--r--roles/docker/engine/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/docker/engine/tasks/main.yml b/roles/docker/engine/tasks/main.yml
index b93d4174..bdba8129 100644
--- a/roles/docker/engine/tasks/main.yml
+++ b/roles/docker/engine/tasks/main.yml
@@ -49,10 +49,10 @@
state: present
allow_downgrade: yes
- ## TODO: for now this is only needed on Debian Bullseye
+ ## 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_major_version | int) >= 11
apt:
name: apparmor
state: present