blob: 2fab5262eaba236334e912c29e40ac491f881a97 [file] [log] [blame]
Biser Milanov619dacd2024-01-24 11:26:33 +02001- hosts: all
2 tasks:
3 # Changes:
4 #
5 # https://review.opendev.org/c/openstack/devstack/+/890693
6 # https://review.opendev.org/c/openstack/nova/+/905791
7 #
8 # have started enabling zswap + z3fold in devstack.
9 #
10 # Our current Ubuntu 22.04 setups error out with:
11 #
12 # $ echo z3fold | sudo tee /sys/module/zswap/parameters/zpool
13 # z3fold
14 # tee: /sys/module/zswap/parameters/zpool: No such file or directory
15 #
16 # It has been identified that the 'z3fold' kernel module is not installed by
17 # default. Installing it here until it is decided if this step should be moved
18 # to the image creation stage.
19 - name: Install the package linux-modules-extra for the currently running kernel
20 become: true
Biser Milanov052bd682024-01-24 11:46:32 +020021 ansible.builtin.shell: apt-get install -y linux-modules-extra-$(uname -r)