aboutsummaryrefslogtreecommitdiff
path: root/tests/pre.yml
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2023-02-02 15:08:42 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2023-02-03 11:32:32 +0000
commitf253f99c1216705cc52e65f6229f8ae42bfda178 (patch)
tree450c03c4344449168c76a572d9d0188eca1f5c3c /tests/pre.yml
parent66ec9cef5557770acb2bd89a107535150af243ba (diff)
downloadkolla-ansible-f253f99c1216705cc52e65f6229f8ae42bfda178.tar.gz
kolla-ansible-f253f99c1216705cc52e65f6229f8ae42bfda178.zip
Do not support dimensions:kernel_memory on Docker API 1.42
It is deprecated in 20.10 and removed in 23.0 (and 23.0 is out) [1], [2]. [1]: https://docs.docker.com/engine/deprecated/#kernel-memory-limit [2]: https://docs.docker.com/engine/api/version-history/#v142-api-changes Change-Id: Ia6fa85172aad7bcd5f958922d3c224ef79882e6c
Diffstat (limited to 'tests/pre.yml')
-rw-r--r--tests/pre.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pre.yml b/tests/pre.yml
index aba2cff36..2deead9f6 100644
--- a/tests/pre.yml
+++ b/tests/pre.yml
@@ -49,6 +49,14 @@
- python3-pip
- python3-setuptools
+ # TODO(mnasiadka): Remove this once ansible-collection-kolla
+ # installs apparmor
+ - name: Install apparmor on Debian/Ubuntu
+ become: true
+ package:
+ name: apparmor
+ when: ansible_os_family == 'Debian'
+
- name: Ensure /tmp/logs/ dir
file:
path: "{{ logs_dir }}"