Biser Milanov | 619dacd | 2024-01-24 11:26:33 +0200 | [diff] [blame] | 1 | - 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 Milanov | 052bd68 | 2024-01-24 11:46:32 +0200 | [diff] [blame] | 21 | ansible.builtin.shell: apt-get install -y linux-modules-extra-$(uname -r) |