revert: do not disable swap entirely
This commit is contained in:
parent
958c761143
commit
cac04c0996
1 changed files with 0 additions and 16 deletions
|
|
@ -196,22 +196,6 @@
|
|||
# line: '\1&protocol=https'
|
||||
# loop: '{{ found_files.files }}'
|
||||
|
||||
- name: 'Disable non zram swap'
|
||||
ansible.builtin.command:
|
||||
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: 'Update grub and initramfs'
|
||||
ansible.builtin.command:
|
||||
cmd: 'update-grub && update-initramfs -u'
|
||||
changed_when: true
|
||||
|
||||
- name: 'Install zram'
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue