Add zram-generator config

This commit is contained in:
Sandwich 2024-10-31 02:18:55 +01:00
parent 3085ebc336
commit a599e26a63

View File

@ -193,6 +193,17 @@
marker: "" marker: ""
mode: '0644' mode: '0644'
- name: Create zram config
ansible.builtin.copy:
dest: /mnt/etc/systemd/zram-generator.conf
content: |
[zram0]
zram-size = ram / 2
compression-algorithm = zstd
swap-priority = 100
fs-type = swap
mode: '0644'
- name: Copy FirstRun Script - name: Copy FirstRun Script
when: os | lower != "archlinux" when: os | lower != "archlinux"
ansible.builtin.template: ansible.builtin.template: