From 296b0adf8e99960c9a9c0de459fcfdd3bdd22df5 Mon Sep 17 00:00:00 2001 From: ci-bot Date: Mon, 15 Apr 2024 14:43:03 +0000 Subject: [PATCH] [skip ci] automated docs update --- README.md | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/README.md b/README.md index d185737..f1f5fc3 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,66 @@ [![Build Status](https://ci.rknet.org/api/badges/ansible/xoxys.swap/status.svg)](https://ci.rknet.org/repos/ansible/xoxys.swap) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?label=license)](https://gitea.rknet.org/ansible/xoxys.swap/src/branch/main/LICENSE) + +Create and configure swap storage. + +## Table of content + +- [Requirements](#requirements) +- [Default Variables](#default-variables) + - [swap_enabled](#swap_enabled) + - [swap_path](#swap_path) + - [swap_size](#swap_size) +- [Dependencies](#dependencies) +- [License](#license) +- [Author](#author) + +--- + +## Requirements + +- Minimum Ansible version: `2.10` + +## Default Variables + +### swap_enabled + +Enable or disable swap. + +#### Default value + +```YAML +swap_enabled: true +``` + +### swap_path + +Path to the swapfile to create. + +#### Default value + +```YAML +swap_path: /swapfile +``` + +### swap_size + +Size of the swapfile to create. + +#### Default value + +```YAML +swap_size: '{{ ansible_memtotal_mb }}' +``` + +## Dependencies + +None. + +## License + +MIT + +## Author + +[Robert Kaussow](https://gitea.rknet.org/xoxys)