fix: disable swap partition in /etc/fstab
This commit is contained in:
parent
6c75b15e6d
commit
a092a2cfd9
1 changed files with 6 additions and 0 deletions
|
|
@ -201,6 +201,12 @@
|
|||
cmd: 'swapoff /dev/xvdc1'
|
||||
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'
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue