summaryrefslogtreecommitdiff
path: root/tests
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 14:17:05 +0000
commitfc8a908c0011ad0c1020149a6e76e9cbef269e43 (patch)
tree68490bc311c25ed540347df520d21299cc67fc2e /tests
parent431e4f35ad4b1bb7bb17668bf165952924a68be4 (diff)
downloadkolla-fc8a908c0011ad0c1020149a6e76e9cbef269e43.tar.gz
kolla-fc8a908c0011ad0c1020149a6e76e9cbef269e43.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 (cherry picked from commit 16f27c549660c4c27e3f440578ea1cf05b772a90)
Diffstat (limited to 'tests')
-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