summaryrefslogtreecommitdiff
path: root/roles/docker/engine/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-08-20 22:11:31 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-08-20 22:11:31 +0200
commitc5bedb745e727e4c03555d36fd00f7ae874e3939 (patch)
treef2b4d7d5fbc9ae7ec05b9669c3e234e2162b4be3 /roles/docker/engine/tasks/main.yml
parentmonitoring/prometheus: ingore remote filesystems for diskfull alerts (diff)
fix docker for debian bookworm+
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