fix: disable swap partition in /etc/fstab

This commit is contained in:
mustard 2026-01-03 22:10:27 +01:00
parent 6c75b15e6d
commit a092a2cfd9

View file

@ -201,6 +201,12 @@
cmd: 'swapoff /dev/xvdc1' cmd: 'swapoff /dev/xvdc1'
changed_when: true changed_when: true
- name: 'Remove swap partition from /etc/fstab'
ansible.builtin.lineinfile:
search_string: '/dev/xvdc1'
path: '/etc/fstab'
state: 'absent'
- name: 'Install zram' - name: 'Install zram'
ansible.builtin.dnf5: ansible.builtin.dnf5:
name: name: