Ansible role for creating a SWAP file
Go to file
Anton Iakimov ada5240a37
remove get_md5 parameter, broken since Ansible 2.16
https://github.com/ansible/ansible/pull/80871
2024-04-26 11:49:42 +02:00
defaults fix by by casting swap_file_size_mb to int 2022-02-14 11:49:07 +01:00
meta add role files 2020-03-26 16:32:03 +01:00
tasks remove get_md5 parameter, broken since Ansible 2.16 2024-04-26 11:49:42 +02:00
README.md add role files 2020-03-26 16:32:03 +01:00

README.md

Description

Changes a SWAP file on Linux to avoid running out of memory.

Configuration

swap_file_path: '/main.swap'
swap_file_size_mb: 8192
swappiness: 10

Links