aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2023-02-02 14:40:18 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2023-02-07 11:18:10 +0000
commit16f27c549660c4c27e3f440578ea1cf05b772a90 (patch)
treec5741d5aec47b1e8d31c79136613b874918e9d2b
parent5cc1f8c15e25bb1b62e8f36261ba4675578c5887 (diff)
downloadkolla-16f27c549660c4c27e3f440578ea1cf05b772a90.tar.gz
kolla-16f27c549660c4c27e3f440578ea1cf05b772a90.zip
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
-rw-r--r--tests/playbooks/pre.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml
index 5a2c01c53..cdbbe35c7 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