blob: 2fab5262eaba236334e912c29e40ac491f881a97 [file] [log] [blame]
- hosts: all
tasks:
# Changes:
#
# https://review.opendev.org/c/openstack/devstack/+/890693
# https://review.opendev.org/c/openstack/nova/+/905791
#
# have started enabling zswap + z3fold in devstack.
#
# Our current Ubuntu 22.04 setups error out with:
#
# $ echo z3fold | sudo tee /sys/module/zswap/parameters/zpool
# z3fold
# tee: /sys/module/zswap/parameters/zpool: No such file or directory
#
# It has been identified that the 'z3fold' kernel module is not installed by
# default. Installing it here until it is decided if this step should be moved
# to the image creation stage.
- name: Install the package linux-modules-extra for the currently running kernel
become: true
ansible.builtin.shell: apt-get install -y linux-modules-extra-$(uname -r)