added swap 1GB

This commit is contained in:
olli 2022-11-10 12:23:53 +01:00
parent cdaed40c6d
commit 3c2105ee3b

View File

@ -3,6 +3,13 @@
hosts: all hosts: all
tasks: tasks:
- name: 1 GB swap (100MB default)
ansible.builtin.lineinfile:
path: /etc/dphys-swapfile
regexp: '^CONF_SWAPSIZE=.+$'
line: 'CONF_SWAPSIZE=1024'
backup: yes
- name: Install Basic Packages - name: Install Basic Packages
apt: apt:
name: name: