From 73e4461bd25231dfcd40296e13bf5785b41d801c Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 2 Feb 2023 14:40:18 +0100 Subject: [PATCH] CI: Install Apparmor Docker 23.* is out and it started failing with apparmor_parser related messages - it seems apparmor is missing in the OpenDev image. Change-Id: I2a6d98e3c1d2d1b7c97a8e6172decbf56e77042d (cherry picked from commit 16f27c549660c4c27e3f440578ea1cf05b772a90) --- tests/playbooks/pre.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml index 30eb8c9fc7..0fbeec3dfc 100644 --- a/tests/playbooks/pre.yml +++ b/tests/playbooks/pre.yml @@ -55,6 +55,12 @@ apt_repository: repo: "deb {{ nodepool_docker_proxy }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable" state: present + + - name: Ensure AppArmor is installed + package: + name: apparmor + state: present + when: ansible_os_family == "Debian" become: true