From 16f27c549660c4c27e3f440578ea1cf05b772a90 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 --- tests/playbooks/pre.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml index 5a2c01c539..cdbbe35c70 100644 --- a/tests/playbooks/pre.yml +++ b/tests/playbooks/pre.yml @@ -51,6 +51,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