From 37564b49b686f4cb0c953d389716063751300073 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 6 Feb 2023 10:59:32 -0800 Subject: [PATCH] Install apparmor when we install docker-ce from upstream Docker-ce 23 upstream of us has a hard dep on apparmor but does not properly express this in its packaging. This leads to errors like: error: exec: "apparmor_parser": executable file not found in $PATH Address this by manually installing (with Ansible) apparmor when we install docker-ce from upstream. Change-Id: I78607ca49cb7c46b57ec6e4d3489b548362358e5 --- playbooks/roles/install-docker/tasks/upstream.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/install-docker/tasks/upstream.yaml b/playbooks/roles/install-docker/tasks/upstream.yaml index c6232366a3..b9f5e352e6 100644 --- a/playbooks/roles/install-docker/tasks/upstream.yaml +++ b/playbooks/roles/install-docker/tasks/upstream.yaml @@ -7,6 +7,7 @@ - ca-certificates - curl - software-properties-common + - apparmor become: yes - name: Add docker GPG key